474 | | In some deployments enabling advance reservation for the whole cluster is not desirable. In such cases one can limit advance reservation to particular partition by editing `/opt/plgrid/qcg/lib/qcg-comp/modules/python/reservation_maui.py` file and changing the following line: |
475 | | {{{ |
476 | | #!div style="font-size: 90%" |
477 | | {{{#!default |
478 | | cmd = "setres -x BYNAME -r PROCS=1" |
479 | | }}} |
480 | | }}} |
481 | | to |
482 | | {{{ |
483 | | #!div style="font-size: 90%" |
484 | | {{{#!default |
485 | | cmd = "setres -x BYNAME -r PROCS=1 -p wp4" |
486 | | }}} |
487 | | }}} |
| 474 | In some deployments enabling advance reservation for the whole cluster is not desirable. In such cases one can limit advance reservation to particular partition by editing `/opt/plgrid/qcg/etc/qcg-comp/sysconfig/qcg-compd` and adding the following line: |
| 475 | |
| 476 | {{{ |
| 477 | #!div style="font-size: 90%" |
| 478 | {{{#!default |
| 479 | export QCG_AR_MAUI_PARTITION="wp4" |
| 480 | }}} |
| 481 | }}} |
| 482 | |
| 483 | where `wp4` is the name of Maui partition denoting set of reservable hosts. |