next up previous contents
Next: How to make a Up: Configuring the power and Previous: POWERCMD syntax   Contents


CONSOLECMD syntax

CONSOLECMD [-c class[,class]...] [-n node[,node]...] $<$command$>$
| command is the command to use to connect to a remote console. Any valid bash command sequence, including pipes/redirects, is acceptable.
| Supplying any -c options limits the directive to apply only to the given classes.
| Supplying any -n options limits the directive to apply only to the given nodes.

Just as with POWERCMD, every command must reference the spec_id of a SPECFORMAT directive (see section 5.12) by including `SPEC:spec_id' in the appropriate place in the command sequence. The `SPEC: spec_id' text gets replaced with a hostname or a range, etc., as defined in the SPECFORMAT corresponding to spec_id.

A simple hostname format will work in most cases for remote console operations.

When using the hostname or ipaddr spec formats, command is interpolated to replace any instance of `$NODE' or `$IP' with the hostname or IP address of the node being operated on, respectively.



root 2005-06-19