HP XC System Software Administration Guide Version 2.1
Table 1-1: HP XC System Commands (cont.)
Command
Description
setnode
Use this command to set the node settings in the configuration and
management database. With this command, you can enable or disable
nodes, or cause a re-imaging of specified nodes.
Manpage:
setnode(8)
shownode
This command has a variety of subcommands that provides information
about nodes and node information.
Manpage:
shownode(1)
startsys
The startsys command causes specific actions to take place to start the
entire HP XC system or on a subset of nodes.
Manpage:
startsys(8)
stopsys
The stopsys command causes specific actions to take place to halt the HP
XC system or on a subset of nodes.
Manpage:
stopsys(8)
sys_check
The sys_check utility is a data collection tool that helps diagnose
system errors and problems. It creates an HTML report of your system’s
configuration (hardware and software).
Manpage:
sys_check(8)
updateimage
Use this command to update the golden image on the imageserver based on
the changes found on the golden master. When client nodes request an
updated golden image, they receive the latest software in that image.
Manpage:
updateimage(8)
1.4.2 Interpreting the nodelist Parameter
The nodelist parameter, used in several HP XC system commands, in dicates one or more
nodes. You can use brackets, hyphens, and commas in the nodelist parameter:
[]
Brackets i ndicate a set of nodes. You can use only one set of brackets for each
instance of the nodelist parameter.
-
A h yph en indicates a range of nodes.
,
A comma separates node definitions.
For example, the nodes n1 n2 n3 n5 can be expressed in the nodelist parameter as
n[1-3,5].
1.4.3 Executing a Command on Multiple Nodes
The H P XC system com man ds are entered at the comman d line or invoked remotely on a no de
in the HP X C system using the pdsh shell or the cexec command. These co mmands allow
you to execute a command on m ultiple nodes at the same time. Use t he cexec command when
you need to log the comm and and the pdsh command when logging is not required.
Some commands, like the power command, accept a list of nodes as a parameter; this
parameter is often referred to as a nodelist. These commands affect the nodes directly,
without the need for t he pdsh or cexec com mands.
The HP XC commands can be used in a cron script like any other command.
1.4.3.1 Using the pdsh Shell
The Open Source pdsh (Parallel D istributed Shell) command is a multithreaded rem ote shell
client that executes com m ands on multiple nodes in parallel. You can specify all nodes, a
HP XC Administrative Environment 1-5