HP Serviceguard manual Reconfiguring a Cluster, Cmrunpkg -e sg/service pkg1

Models: Serviceguard

1 407
Download 407 pages 39.81 Kb
Page 291
Image 291

cmrunpkg -e sg/service pkg1

This runs all the package's modules except the services module.

You can also use -ein combination with -m. This has the effect of starting all modules up to and including the module identified by -m, except the module identified by -e. In this case the excluded (-e) module must be earlier in the execution sequence (as listed near the top of the package's configuration file) than the -mmodule. For example:

cmrunpkg -m sg/services -e sg/package_ip pkg1

NOTE: The full execution sequence for starting a package is:

1.The master control script itself

2.External pre-scripts

3.Volume groups

4.File systems

5.Package IPs

6.External scripts

7.Services

Reconfiguring a Cluster

You can reconfigure a cluster either when it is halted or while it is still running. Some operations can only be done when the cluster is halted. Table 14 shows the required cluster state for many kinds of changes.

Table 14 Types of Changes to the Cluster Configuration

Change to the Cluster Configuration

Required Cluster State

Add a new node

All systems configured as members of this cluster must be

 

running.

Delete a node

A node can be deleted even though it is unavailable or

 

unreachable.

Add a volume group

Cluster can be running.

Delete a volume group

Cluster can be running. Packages that use the volume group

 

will not be able to start again until their configuration is

 

modified.

Change Maximum Configured Packages

Cluster can be running.

Change Quorum Server Configuration

Cluster can be running; see the NOTE below this table and

 

“What Happens when You Change the Quorum Configuration

 

Online” (page 49).

Change Cluster Lock Configuration (LVM lock disk)

Cluster can be running; see “Updating the Cluster Lock

 

Configuration” (page 295), “What Happens when You Change

 

the Quorum Configuration Online” (page 49), and the NOTE

 

below this table.

Change Cluster Lock Configuration (lock LUN)

Cluster can be running. See “Updating the Cluster Lock LUN

 

Configuration Online” (page 295), “What Happens when You

 

Change the Quorum Configuration Online” (page 49), and the

 

NOTE below this table.

Add NICs and their IP addresses, if any, to the cluster configuration

Delete NICs and their IP addresses, if any, from the cluster configuration

Cluster can be running. See “Changing the Cluster Networking Configuration while the Cluster Is Running” (page 297).

Cluster can be running.

“Changing the Cluster Networking Configuration while the Cluster Is Running” (page 297).

Reconfiguring a Cluster 291

Page 291
Image 291
HP Serviceguard manual Reconfiguring a Cluster, Cmrunpkg -e sg/service pkg1, Cmrunpkg -m sg/services -e sg/packageip pkg1