Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Automatically prevent a failover operation in a CRG

The QCST_CRG_CANCEL_FAILOVER policy can prevent some failovers from taking place.

Each QCST_CRG_CANCEL_FAILOVER policy is uniquely defined by the cluster resource group name specified in the domain name field, the failover scope specified in the SCOPE keyword in the policy qualifier field, and an EVENT value for the policy value field.

To add a QCST_CRG_CANCEL_FAILOVER policy to a cluster resource group (CRG) supply:

  • The name of the CRG.

  • The policy qualifier value for the SCOPE policy qualifier. These values are:

*SITE

Indicates that the policy will apply only to failovers where the new primary node is in the same site as the original primary node.

*CRSSITE

Indicates that the policy will apply only to failovers where the new primary node is in a different site than the current primary node.

*CRG

The policy applies to all failovers regardless of where the current and new primary nodes are located.

  • The policy value field requires a value for the Event. The Event contains a list of event types the QCST_CRG_CANCEL_FAILOVER should cancel. At least one value needs to be specified. Values for EVENT are:

*CLUFAIL

The failover was caused by one of the following cluster events:

  • a CHGCLURCY(*END) ending the RGM or CCTL jobs.

  • a critical job end

  • a node in the cluster crashed.

*CRGFAIL

The failover was caused by one of the following cluster events:

  • a CHGCLURCY(*END) ending jobs other than the RGM or CCTL jobs.

  • a CRG job end

  • a node in the cluster crashed.

*ENDCLUNOD

The failover was caused by the ENDCLUNOD command.

*ENDSYS

The failover was caused by an ENDSYS or an ENDSBS(*ALL) action on the primary cluster node.

*ENDTCP

The failover was caused by invoking the ENDTCP command on the primary cluster node.

*PWRDWNSYS

The failover was caused by the PWRDWNSYS command.

*ALL

All actions listed in the above values that cause failovers.

Example

For example, a QCST_CRG_CANCEL_FAILOVER policy set for a CRG named MYCRG created:

ADDHAPCY PCY(QCST_CRG_CANCEL_FAILOVER) PCYDMN(MYCRG) QUAL('SCOPE(*CRG)')
VALUE('EVENT(*ENDCLUNOD *ENDSYS *ENDTCP *PWRDWNSYS)')

Indicates that if an ENDCLUNOD, ENDSYS, ENDTCP, or PWRDWNSYS event occurs a failover will not be attempted for the CRG MYCRG.

  • No labels