Managing HP Serviceguard for Linux Ninth Edition, April 2009

7 Cluster and Package Maintenance
This chapter describes the cmviewcl command, then shows how to start and halt a
cluster or an individual node, how to perform permanent reconfiguration, and how to
start, halt, move, and modify packages during routine maintenance of the cluster.
Topics are as follows:
Reviewing Cluster and Package Status
Managing the Cluster and Nodes (page 231)
Managing Packages and Services (page 234)
Reconfiguring a Cluster (page 240)
Configuring a Legacy Package (page 252)
Reconfiguring a Package (page 261)
Responding to Cluster Events (page 268)
Single-Node Operation (page 269)
Removing Serviceguard from a System (page 269)
Reviewing Cluster and Package Status
You can check status using Serviceguard Manager, or from a cluster node’s command
line.
Reviewing Cluster and Package Status with the cmviewcl Command
Information about cluster status is stored in the status database, which is maintained
on each individual node in the cluster. You can display information contained in this
database by means of the cmviewcl command:
cmviewcl -v
You can use the cmviewcl command without root access; in clusters running
Serviceguard version A.11.16 or later, grant access by assigning the Monitor role to the
users in question. In earlier versions, allow access by adding <nodename>
<nonrootuser> to the cmclnodelist file.
cmviewcl -v displays information about all the nodes and packages in a running
cluster, together with the settings of parameters that determine failover behavior.
TIP: Some commands take longer to complete in large configurations. In particular,
you can expect Serviceguard’s CPU usage to increase during cmviewcl -v as the
number of packages and services increases.
See the manpage for a detailed description of other cmviewcl options.
Reviewing Cluster and Package Status 221