Chapter 3. Transformation scenarios 45
The 3 nodes p5570lp02, p5570lp03, p5570lp04 are the POWER5 LPARs and node p6lp01
is the POWER6 LPAR.
? List the hardware devices that are managed by CSM as shown in Example 3-2.
Example 3-2 List all the CSM-managed hardware devices
p5570lp01(root)/> lshwdev
hmc2
p5570vio1
p5570lp01(root)/>
The HMC that manages the POWER6 server is hmc2 and p5570vio1 is the VIO Server for
the POWER5 server.
? The node group CSM1_nodegroup contains all the CSM-managed nodes. See
Example 3-3.
Example 3-3 Show the members of the CSM node group
p5570lp01(root)/> nodegrp CSM1_nodegroup
p5570lp02
p5570lp03
p5570lp04
p6lp01
p5570lp01(root)/>
? The csmstat command displays the status of each node, as shown in Example 3-4.
Example 3-4 Show the status of the CSM-managed nodes
p5570lp01(root)/> csmstat
---------------------------------------------------------------------------------
Hostname HWControlPoint Status PowerStatus Network-Interfaces
---------------------------------------------------------------------------------
p5570lp02 hmc1 on on en0-Online en1-Online
p5570lp03 hmc1 on on en0-Online en1-Online
p5570lp04 hmc1 on on en0-Online
p6lp01 hmc2 on on en0-Online
p5570lp01(root)/>
In many CSM environments, customer utilize the distributed condition-response
capabilities. We have created a condition and a response to demonstrate this.
? The condition Filesystem_Tmp_Monitor1 is defined for the node p5570lp02. This condition
sends an email to the root user when the /tmp file system utilization exceeds 90%. The
condition gets rearmed when the percentage utilization drops below 75%. Refer to
Example 3-5.
Example 3-5 List the details of the distributed RMC condition
p5570lp01(root)/> lscondition Filesystem_Tmp_Monitor1
Displaying condition information:
condition 1:
Name = "Filesystem_Tmp_Monitor1"
Node = "p5570lp01"
MonitorStatus = "Monitored"
ResourceClass = "IBM.FileSystem"
EventExpression = "PercentTotUsed>90"