The QCST_AD_RESTORE high availability policy streamlines resource attribute updates when restoring monitored resources. Normally, resources with a monitored resource entry (MRE) in the cluster administrative domain which are restored are immediately updated to match the attribute values in the cluster administrative domain, essentially ignoring the restore operation. The QCST_AD_RESTORE policy specifies which resources or resource types will honor restore operations in the specified cluster administrative domain. When the QCST_AD_RESTORE policy is specified the restored version of the attribute values will be propagated to other nodes in the cluster administrative domain.
The QCST_AS_RESTORE PowerHA policy only applies to MREs that previously exist in the administrative domain at the time of the restore. MREs are not added to the administrative domain as a result of this policy.
Adding a PowerHA policy for administrative domain resources
Each PowerHA administrative domain policy is defined by the cluster administrative domain name specified in the domain name field and the resource type specified in the RSCTYPE keyword in the policy qualifier field. The name of any defined cluster administrative domain resource type may be specified. In addition the special value *ALL
can be specified for the resource type, indicating all resource types supported by that policy.
When adding a PowerHA policy for the cluster administrative domain you need:
The name of the administrative domain the policy will apply to.
The names of the resource type or types that the policy will create resource entries for.
Note: Depending on the resource type, a list of libraries may be required for the policy.
The PowerHA administrative domain resource policies qualifiers and values
PowerHA policies for administrative domain resources contain policy qualifiers designated as resource types (RSCTYPE). Supported resource types and the associated policy values are listed in the table below:
Policy Qualifier | Policy Value |
---|---|
RSCTYPE(*ALL) | LIB(*ALL) LIB(NAME1 NAME2 …) |
RSCTYPE(*ASPDEV) | *BLANK |
RSCTYPE(*AUTL) | *BLANK |
RSCTYPE(*CLS) | LIB(*ALL) LIB(NAME1 NAME2 …) |
RSCTYPE(*ETHLIN) | *BLANK |
RSCTYPE(*JOBD) | LIB(*ALL) LIB(NAME1 NAME2 …) |
RSCTYPE(*OPTDEV) | *BLANK |
RSCTYPE(*PRTDEV) | *BLANK |
RSCTYPE(*SBSD) | LIB(*ALL) LIB(NAME1 NAME2 …) |
RSCTYPE(*TAPDEV) | *BLANK |
RSCTYPE(*USRPRF) | *BLANK |
Policy value definitions
LIB(*ALL) indicates that the resource type can be created in any library. *BLANK indicating that the resource type does not require any library. LIB(NAME1 NAME2...) using only resources contained in the specified libraries.
Important:
If LIB(*ALL) is specified with the RSCTYPE(*ALL) policy qualifier, the policy will cover all resource types, whether or not the resource type requires a library.
Examples
Example 1 - Default Policies Created by PowerHA
PowerHA now automatically creates default policies when CFGPCY(*YES)
is specified on the Create Cluster Admin Domain (CRTCAD) command. The following lists the example commands to add the same policies in an administrative domain, ADMDMN:
ADDHAPCY PCY(QCST_AD_RESTORE) PCYDMN(ADMDMN) QUAL('RSCTYPE(*ALL)') VALUE('LIB(*ALL)')
This policy specifies that when any resource of the types supported by this policy is currently monitored by the administrative domain, the attribute values from the restore operation are propagated to other nodes in the administrative domain.
Tip: The CFGPCY(*YES) parameter on CRTCAD also adds policies of type QCST_AD_CREATE and QCST_AD_DELETE.