ClusterPack Tutorial

The first form of this command allows the user to add node groups to a compute cluster. The
initial definition of the node group can be specified as a list of individual nodes and/or other
groups. When a previously existing group is used in the formation of a new group, all
members of the pre-existing group are added to the new group.
The second form allows the user to remove a node group or nodes from a node group. When
removing nodes from a group, the nodes to be removed can be specified in terms of a list of
individual nodes and/or other groups. When a previously existing group is specified, all
members of that group are removed from the group being modified.
The third form allows the information regarding one or more node groups to be provided in a
file.
The last form lists all the node groups in the compute cluster.
clgroup is used as follows:
% clgroup -a groupname node1|group [node2|group ...]
%
clgroup -r groupname [node1|group node2|group ...]
% clgroup -l groupname
% clgroup
Examples
The following command creates a node group "group1" containing compute cluster nodes
"nodea", "nodeb", and "nodec".
% clgroup -a group1 nodea nodeb nodec
To modify group "group1" to replace node "nodec" with node "noded", the following
command can be used:
% clgroup -r group1 nodec
%
clgroup -a group1 noded
A new group "group2" can be formed from all of the nodes in "group1" and the additional
nodes "nodex" and "nodey" using the command:
%
clgroup -a group2 group1 nodex nodey
The member nodes of group "group1" may be listed by using:
% clgroup -l group1
For more details on the usage of clgroup, invoke the command:
%
man clgroup