"Administration" menu options > Managing policies > Editing the Allocation Policy

5.2.1 Editing the Allocation Policy

The Allocation Policy editor allows you to edit the allocation algorithm associated with Moab scheduling (for more information, see the Moab Workload Manager documentation). The Allocation Policy Viewpoint page includes the ability to select from various algorithms.

You must restart Moab in order for any Allocation Policy changes to take effect.

To edit the Allocation Policy

  1. Go to the Policy Management page (Administration > Policy Management).
  2. Select Allocation Policy.
  3. The Allocation Policy opens in the window for editing.

    Click to enlarge

     

  4. Select the algorithm you want to use.
  5. If you select the Priority algorithm, the Priority Function editor appears.
  6. The node allocation priority function specified in Viewpoint is done on a cluster-wide basis. Node-by-node allocation is permitted through the moab.cfg file.

    Do the following:

    1. Choose from the drop-down any priority function you want to apply for compute nodes, and enter a coefficient in the text box.
    2. If you want to add another priority function, choose Add (or choose Add All to add all possible functions).
    3. If you want to remove a priority function, click the Clear icon () (or choose Clear All to remove all priority functions).

  7. When you are finished, choose Save.
  8. A dialog displays and gives you the following options:

    Option Description
    Save and Restart Moab Saves your changes and restarts Moab.
    Save

    Saves your changes, but does not restart Moab.

    If you choose this option, your changes will not take effect until Moab is restarted.

    Cancel Takes you back to the editor.

Related topics