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.
- 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.
- 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.
- To change a specific HA policy instance, type 2, Change next to the policy you want to display.
- 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.
To change a specific instance of the QHA_COMM_STRICT_CERT_CHECK policy using the
CHGHAPCY command you enter:
CHGHAPCY PCY(QHA_COMM_STRICT_CERT_CHECK) PCYDMN(*NONE) QUAL('cfgd(test1)') VALUE(*NO)
This example changes the value of the instance of the QHA_COMM_STRICT_CERT_CHECK PowerHA policy
using the configuration description test1 as a qualifier to
*NO, indicating that the strict usage of certificates in the cluster in not
required.