Recovering the entire cluster after a cluster alert

If a notification defined in a CLUSTER_ALARM statement in the configuration file is not received, but a CLUSTER_ALERT and the remote site has confirmed the must fail over has been received, then override the disabled cmrecovercl command by using the -fforcing option.

Use this command only after a confirmation from the primary cluster site.

# cmrecovercl -f

Recovering a single cluster in an N-1 configuration

In a multiple recovery pair configuration where more than one primary cluster is sharing the same recovery cluster, running cmrecovercl without any option will attempt to recover packages for all of the recovery groups of the configured primary clusters. Recovery can also be done in this multiple recovery pair case on a per cluster basis by using option -c.

#cmrecovercl -c <PrimaryClusterName>

Viewing the Continentalclusters status

The cmviewconcl command is used to vie the continentalcluster status.

# cmviewconcl

WARNING: Primary cluster primary_cluster is in an alarm state (cmrecovercl is enabled on recovery cluster recovery_cluster)

CONTINENTAL CLUSTER ccluster1

RECOVERY CLUSTER recovery_cluster

PRIMARY CLUSTER

STATUS

 

EVENT LEVEL

POLLING INTERVAL

primary_cluster

down

 

alarm

1 min

PACKAGE RECOVERY GROUP

test-group

 

 

 

PACKAGE

 

ROLE

STATUS

primary_cluster/primary_package

 

primary

down

recovery_cluster/recovery_package

 

recovery

down

To view detailed information on continentalcluster status, run the following command.

# cmviewconcl —v

WARNING: Primary cluster primary_cluster is in an alarm state (cmrecovercl is enabled on recovery cluster recovery_cluster)

CONTINENTAL CLUSTER ccluster1

RECOVERY CLUSTER recovery_cluster

PRIMARY CLUSTER

STATUS

 

EVENT LEVEL POLLING INTERVAL

primary_cluster

down

 

alarm

1 min

CONFIGURED EVENT

STATUS

DURATION

LAST NOTIFICATION SENT

alert

unreachable

1

min

--

alarm

unreachable

2

min

--

alert

down

1

min

Tue Jun 05 10:52:32 IST 2012

alarm

down

2

min

Tue Jun 05 10:53:37 IST 2012

alert

up

1

min

--

PACKAGE RECOVERY GROUP

test-group

 

 

 

PACKAGE

 

ROLE

 

STATUS

primary_cluster/test-pri

primary

down

recovery_cluster/test-rec

recovery

down

Viewing the Continentalclusters status

31

Page 31
Image 31
HP Serviceguard Metrocluster Viewing the Continentalclusters status, Recovering the entire cluster after a cluster alert