Adding a PowerHA Policy

The Add High Availability (HA) Policy (ADDHAPCY) command creates a policy to control specific behavior related to your PowerHA environment. This procedure demonstrates how to create an HA policy for your cluster.

A PowerHA policy can be added by:

  • Using the ADDHAPCY command.

  • Using the WRKHAPCY command that opens the Work with HA policies screen. Use option 1, Add policy.

  • Using the Work with Cluster (WRKCLU) command menu. Select option 12, Work with HA policies and use option 1, Add policy.

Adding a PowerHA Policy

To add an HA policy using the ADDHAPCY command, follow these steps:

  1. Type the ADDHAPCY command into the command line and press F4. This opens the Add HA Policy (ADDHAPCY) command screen.

  2. Enter the name of the HA policy to add. QCST_CRG_CANCEL_FAILOVER for example.

  3. Specify the name of the domain to which the policy applies. Enter:

    • The name of the domain the HA policy applies to.

    • *NONE if the HA policy applies to no specific domain.

  4. Add any HA policy-specific information in the Policy Qualifier field. The possible values depend on the specific HA policy you are adding to the cluster domain. Check the definition for that policy for additional information.

  5. Type any HA policy-specific values in the Policy value field, or enter *BLANK. The possible values of this field depend on the specific HA policy you are adding. Check the definition for that policy for additional information.

  6. Press Enter to add the policy to your cluster domain.

To add an instance of the QCST_CRG_CANCEL_FAILOVER PowerHA policy using a sequence from the command line, enter the following:

ADDHAPCY PCY(QCST_CRG_CANCEL_FAILOVER) PCYDMN(MYCRG) QUAL('SCOPE(*CRG)') VALUE('EVENT(*ALL)')

This adds an instance of the policy for the cluster resource group named MYCRG and qualifier SCOPE of *CRG to prevent all failovers for all events.

Verify that the entries in the HA policy are correct with the Display HA Policy (DSPHAPCY) command. If changes are required, they are made with the Change HA Policy (CHGHAPCY) command.

For details about the ADDHAPCY command and specific fields, consult the F1 Help or visit the ADDHAPCY page.

Privacy Policy | Cookie Policy | Impressum
From time to time, this website may contain technical inaccuracies and we do not warrant the accuracy of any posted information.
Copyright © Fortra, LLC and its group of companies. All trademarks and registered trademarks are the property of their respective owners.