Changing a PowerHA policy

Make modifications to a PowerHA policy using the Change HA Policy (CHGHAPCY) command

The Change HA Policy (CHGHAPCY) command can be used to make changes to currently defined HA policies to reflect changes to the PowerHA environment. CHGHAPCY only changes the policy value of an individual instance of PowerHA policy.

The Change HA Policy command screen can be accessed by:
  • using the Work with Cluster (WRKCLU) command menu. Select option 12, Work with HA policies. Press Enter to open the Work with HA Policies panel. Locate an HA policy group or policy instance and type 12, Work with and press Enter to show the current list of policies and qualifiers. In the Option space, type 2, Change in front of the policy you want to change the qualifier and value of. Press Enter to display the Change HA Policy screen.
  • entering the WRKHAPCY command that opens the Work with HA Policies screen. Locate an HA policy group or policy instance and type 12, Work with and press Enter to show the current list of policies and qualifiers. In the Option space, type 2, Change in front of the policy instance you want to change the qualifier and value of. Press Enter to display the Change HA Policy screen.
  • typing the CHGHAPCY command and pressing F4 to open the Change HA Policy (CHGHAPCY) screen.
To change an HA policy from the Work with Cluster (WRKCLU) command menu, follow these steps:
  1. At the Work with Cluster (WRKCLU) command menu select option 12 Work with HA policies. Press Enter to go to the Work with HA Policies screen.
  2. On the Work with HA policies screen, locate the particular policy group or policy instance to display and type 12 Work with as the option. Press Enter to open the Work with Policy panel.

The Work with Policy panel shows a list of all defined policies for that policy type.

  1. To change a specific HA policy instance, type 2, Change next to the policy you want to display.
  2. Make the appropriate changes to the PowerHA policy and press Enter.
After pressing Enter, you return to the Work with HA Policies screen. A message informs you of the change and how many policies are correctly functioning.

Verify that the entries in the HA policy are changed correctly using the DSPHAPCY command.

For details about the CHGHAPCY or DSPHAPCY commands and specific fields, consult the F1 Help or visit the CHGHAPCY and DSPHAPCY pages.