Chapter 3. Transformation scenarios 55
Power Control
In Example 3-10 we power off and on a node using CSM and check the node and client LPAR
status on both CSM and IBM Systems Director.
Example 3-10 shows the power status of all the nodes from the CSM server.
Example 3-10 Query the power status of nodes
p5570lp01(root)/> rpower -a query
p5570lp02 on
p6lp01 on
p5570lp03 on
p5570lp04 on
p5570lp01(root)/>
The command shown in Example 3-11 powers off the node p5570lp03.
Example 3-11 Power off the node
p5570lp01(root)/> rpower -n p5570lp03 off
p5570lp03 off complete rc=0
p5570lp01(root)/>
To see the status of the nodes, run the query again. As you can see, the power status of the
node p5570lp03 is off, as shown in Example 3-12.
Example 3-12 Query the node status after power off
p5570lp01(root)/> rpower -a query
p6lp01 on
p5570lp02 on
p5570lp03 off
p5570lp04 on
p5570lp01(root)/>
The status of client LPAR p5570lp3 from IBM Systems Director is shown in Figure 3-14.
Figure 3-14 Power control status of endpoints
Note: It takes a few minutes to reflect the power status of the client LPAR on IBM Systems
Director.