HP Serviceguard Metrocluster manual Cmrecovercl -r-g, Recovery group name, Cmviewconcl

Models: Serviceguard Metrocluster

1 151
Download 151 pages 11.74 Kb
Page 87
Image 87

This command can be issued from any node on the recovery cluster. This command first connects to the Continentalclusters monitoring package running on the recovery cluster. This might be a different cluster node than where the cmrecovercl command is being run. cmrecovercl connects to the monitoring package to verify that the primary cluster is in an Unreachable or Down state. If the primary cluster is reachable and the cluster is Up, this command will fail. Next, the data receiver packages on the recovery cluster (if any) are halted sequentially. Finally, the recovery packages are started on the recovery cluster. The recovery packages are started by enabling package switching globally (cmmodpkg -e) for every package. This will cause the package to be started on the first available node within the recovery cluster. The cmrecovercl command can only be run on a recovery cluster. The cmrecovercl command will fail if there has not been sufficient time since the primary cluster became unreachable. This command is only enabled after the time as configured via CLUSTER_ALARM parameters has been reached. Once a cluster alarm has been triggered, this command enabled and can be run. The -f option can be used to enable the command after the time as configured via CLUSTER_ALERT parameters has been reached.

Options are:

-fThe force option enables cmrecovercl to function

even though a CLUSTER_ALARM has not been received.

cmrecovercl {-e -d [f] }-g <recovery group name>

This command moves a recovery group in and out of the maintenance mode by disabling or enabling it. This command must be run only on the recovery cluster.

Options are:

 

-e

Moves a recovery group out of the

 

maintenance mode by enabling it.

-d [-f]

Moves a recovery group into the maintenance

 

mode by disabling it. Use the -f option to

 

forcefully move a recovery group into the

 

maintenance mode when the primary cluster

 

status is unknown or unreachable.

cmrecovercl [-r]-g

This command starts the rehearsal for the specified recovery

<recovery group name>

group. This command must be run only on the recovery

 

cluster. This command will fail if the specified recovery group

 

is not in the maintenance mode.

cmviewconcl [-v]

This command allows you to view the status and much of

 

the configuration of Continentalclusters. This command must

 

be run as the last step when creating a Continentalclusters

 

configuration to confirm the cluster status, or any time you

 

like to know cluster status.

 

Options are:

 

-vVerbose mode displays all messages.

87

Page 87
Image 87
HP Serviceguard Metrocluster manual Cmrecovercl -r-g, Recovery group name, Cmviewconcl