cmrecovercl [-f]

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

is specified, output is written to stdout.

This command performs the recovery actions necessary to start the recovery groups on current cluster. Care should be taken before issuing this command. It is important to contact the primary cluster site to determine if recovery is necessary prior to running this command.

This command will perform recovery actions only for recovery groups that are out of the maintenance mode (i.e. enabled). If the specified recovery group for -goption is in maintenance mode; the command will exit without recovering it. When -coption is used; the command will skip recovering recovery groups which are in the maintenance mode.

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 may 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 each 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 will be 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.

This command moves a recovery group in and out of the maintenance mode by disabling or enabling it. This command should 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.

501