Issue: How can I keep Moab from provisioning a different OS when one is availible
Symptom: I have two systems configured. One with RHEL 5 and one with RHEL 6. Each time I submit a job asking for RHEL 6 Moab repurposes the RHEL 5 system even if there are no jobs in the system and the RHEL 6 system is empty.
Solution: Use NODEALLOCATIONPOLICY PRIORITY.
When you request -l os=rhel5 Moab applies a calculation to the preferred node that has that OS configured on it. This should help direct your jobs to the node already provisioned with that OS until there are no more resources left. After which Moab will repurpose the other node with the correct OS to service jobs.
http://docs.adaptivecomputing.com/8-1-0/enterprise/help.htm#topics/moabWorkloadManager/topics/prio_res/nodeallocation.html#PRIORITY
NODEALLOCATIONPOLICY PRIORITY
NODECFG[support-sn1] OS=rhel5
NODECFG[support-sn2] OS=rhel6
NODECFG[DEFAULT] PRIORITYF='OS * 100'
Tags: NODEALLOCATIONPOLICY, provisioning