Saving PowerHA policies
...
Code Block |
---|
SAVHAPCY PCYFILE('/home/myuser/testpcy_backup.csv') |
This saves the defined values for all PowerHA policies in the cluster to a file called test.csv.
...
Code Block |
---|
SAVHAPCY PCYFILE('/home/myuser/test1pcy_backup2.csv') PCY(QCST_CRG_CANCEL_FAILOVER) QUAL('SCOPE(*SITE)') |
...
On the WRKHAPCY command screen, locate an HA policy name and type 9, Save, and press Enter. The Save HA Policy (SAVHAPCY) screen opens with the Policy name, Policy domain, and Policy qualifier fields populated with the selected HA policy name and *ALL.
In the Policy file field, enter the path and the name of the file to contain the saved HA policy and press Enter. All instances of that PowerHA policy are saved to the file name provided.
...
5. In the Policy file field, enter the path and the name of the file to contain the saved HA policy instance and press Enter. The individual instance of that PowerHA policy is saved to the file name provided.
Tip |
---|
Tip: The CSV formatted file can be used with the Restore HA Policy (RSTHAPCY) command to restore saved policies to a cluster. |
...