Overview |
There are times when it is necessary to attach a particular resource to a host or group of hosts. Then, when submitting a job, this resource can be requested and only those hosts that are tagged with this resource will be candidates for running the job. A good example of this is a node-locked license. The following steps outline the procedure to attach a resource to a host using Qmon. 1) Define the resource #Name Shortcut Type Value Relation Requestable Consumable Default #------------------------------------------------------------------------ build build bool false == YES NO 0 Name: The name of this resource Shortcut: Each resource may have a unique shortcut assigned to it Type: The type of resource (boolean, integer, char, etc) Value: The default value for this resource Relation: == since a boolean value. Requestable: Allow users to request the resource Consumable: This resource is not consumed when requested Default: Not used
2) Attach the resource to specific hosts 3) Request the resource |