Creating a resource group
To make (create) a resource
group you use the mkrg command,
in which you define to System Automation for Multiplatforms:
- Where the resource group is allowed to run.
- The relative importance of the resource group in relation to other resource groups (using the
Priorityattribute, as explained in Priority attribute). - The
Locationrelationship among the member resources of the resource group (explained in Location relationships).
Newly-created resource groups will default to an NominalState of Offline. This allows a user or administrator to fully configure the resource group and its resources.
For example, to define a new resource group called
apacherg2 with location
relationship “None” and allowed node name “node03”, you would enter:
mkrg -l None -n node03 apacherg2For more details about the mkrg command, see mkrg.
To establish the node list for a resource group, you can use either:
- mkrg command, to create a new resource group.
- chrg command, for an already-existing resource group.
To specify the node list to be used
with the above two commands,
you can either:
- Enter a node name when using the mkrg/chrg command.
- Establish as an equivalency, the set of nodes on which the resource group can be activated. This must be done before the node list is established. You then use the mkrg/chrg command, and the required equivalency will be attached to the resource group. For details of equivalencies, see Equivalencies.