3 specifying nodes – HP Insight Cluster Management Utility User Manual
Page 103
halt nodes of logical group group_1 except node_exp
halt delay "mesg" all group_1 group_2
halt nodes of group_1 and group_2
cmu>
Displaying logical groups of a cluster
The groups command displays the list of the logical groups.
cmu> groups
list of group(s) with active nodes : debian default nodevmap pfmon sfs2
list of available group(s) for backup and cloning : default sfs2 suse10 pfmon testrh3u4 debian nathclontest
nodevmap
cmu>
You can also call this command followed by a group name. The result displays all active nodes
of the group.
cmu> groups default
active node list selected: o185i194 o185i202 o185i216 o185i222 o185i233 o185i243 o185i252 o185i253 o185i254
cmu>
Displaying nodes of a logical group
To view nodes in a group and the attributes:
cmu> groups
<group_name>
For example:
cmu> groups default
active node list selected: o185i194 o185i202 o185i216 o185i222 o185i233 o185i243 o185i252 o185i253 o185i254
cmu>
Displaying nodes of the cluster
The nodes command displays the list of nodes with the attribute name.
cmu> nodes
Machines.node.o185i222 = 16.16.185.222,255.255.248.0,00-00-1A-19-8A-08,default,16.16.189.222,lo100i
Machines.node.o185i233 = 16.16.185.233,255.255.248.0,00-00-1A-19-74-93,default,16.16.189.233,lo100i
Machines.node.o185i243 = 16.16.185.243,255.255.248.0,00-00-1A-19-90-DD,default,16.16.189.243,lo100i
Machines.node.o185i252 = 16.16.185.252,255.255.248.0,00-00-1A-19-7E-7B,default,16.16.189.252,lo100i
cmu>
You can also use a subset of this command. The next section describes how to specify subset of
nodes in the HP Insight CMU CLI.
6.17.3 Specifying nodes
NOTE:
The following commands are HP Insight CMU commands. You can only run them in the
HP Insight CMU CLI.
Using the HP Insight CMU CLI, you can execute a command on any number of nodes.
The nodes command:
•
Displays node information
•
Tests regular expressions for selecting nodes before executing a command
Executing a command on one node
To execute a command on only one node, you must specify the name of the node. The following
command executes on node o185i222:
cmu> node o185i222
active node list selected: o185i222
cmu>
6.17 HP Insight CMU CLI 103