Policy examples
Warning
The examples are not recommendations for actual configurations.
Pool definition example 1
Command | Description |
---|---|
SMMSYS00 member | |
SET POLI=00 | The POLI=00 keyword is coded in the SMMSYS00 member to point to the SMPOLI00 member where the policies are defined. The 00 in the POLI= 00 keyword denotes the suffix of the SMPOLI 00 member. BMCDFLT1 has been assigned as the default policy for the pools, storage groups, and volumes using the respective POL_ keyword. The BMCDFLT1 policy will be in effect for any pool, storage group, or volume defined in the SMPOOL member that is not specifically assigned to a policy. |
SET POL_POOL=BMCDFLT1 POL_GROUP=BMCDFLT1 POL_VOLUME=BMCDFLT1 | |
SMPOOLxx member | |
SET POOLNAME=WORK INC WRK/ | In SMPOOLxx, three pools have been defined and two storage groups identified. |
SET POOLNAME=TEST INC TST/ | |
SET POOLNAME=PROD INC PRD/ | |
SET STORGRP=STR/ | |
SET STORGRP=SG1/ | |
SMMSYS00 member | |
SET POLI=00 | The POLI=00 keyword is coded in the SMMSYS00 member to point to the SMPOLI00 member where the policies are defined. The 00 in the POLI= 00 keyword denotes the suffix of the SMPOLI 00 member. BMCDFLT1 has been assigned as the default policy for the pools, storage groups, and volumes using the respective POL_ keyword. The BMCDFLT1 policy will be in effect for any pool, storage group, or volume defined in the SMPOOL member that is not specifically assigned to a policy. |
SMPOLI00 member | |
Policy BMCDFLT1 | SMPOLI00 member contains the default policy BMCDFLT1 that has the following intervals defined to it:
|
Because none of the definitions in the SMPOOLxx member specify a policy name, they use the respective default policy (BMCDFLT1) that is listed in the SMMSYS00 member. The volumes in the pools and storage groups and volumes not defined to any policy collect and log pool and volume data every hour, and data set information once a day.
Pool definition example 2
Command | Description |
---|---|
SMMSYS00 member | |
SET POLI=00 | |
SET POL_POOL=BMCDFLT1 POL_GROUP=BMCDFLT1 POL_VOLUME=BMCDFLT1 | |
SMPOOLxx member | |
SET POOLNAME=WORK INC WRK/ | The pool named Test is assigned to policy MYPOL01. |
SET POOLNAME=TEST POLICY=MYPOL01 INC TST/ | |
SET POOLNAME=PROD INC PRD/ | |
SET STORGRP=STR/ | |
SET STORGRP=SG1/ | |
SMPOLI00 member | |
Policy BMCDFLT1 Policy MYPOL01 | The policy MYPOL01 was created through the POLCNFG and POLICY views and dialogs. It contains one interval that logs pool and volume data every 4 hours. |
With the changes displayed in Table 3, policy MYPOL01 will manage the volumes that belong to the pool TEST. Therefore, pool and volume data will be collected and logged for volumes in the pool TEST every four hours. The other pools, storage groups, and volumes will be managed by their respective default policy (BMCDFLT1) as before.
Pool definition example 3
Command | Description |
---|---|
SMMSYS00 member | |
SET POLI=00 | The default policy definitions have been changed so that each default has its own policy. |
SET POL_POOL=POOLPOLD POL_GROUP=STORPOLD POL_VOLUME=VOLPOLD | |
SMPOOLxx member | |
SET POOLNAME=WORK INC WRK/ | The policy assignments in the SMPOOLxx member have been altered. |
SET POOLNAME=TEST POLICY=MYPOL01 INC TST/ | |
SET POOLNAME=PROD POLICY=BMCDFLT1 INC PRD/ | |
SET STORGRP=STR/ POLICY=MYPOL01 | |
SET STORGRP=SG1/ | |
SET VOLUME=RES/ POLICY=BMCDFLT1 | |
SMPOLI00 member | |
Policy BMCDFLT1 Policy MYPOL01 Policy POOLPOLD Policy STORPOLD Policy VOLPOLD | Three more policies (and intervals) have been added to the SMPOLI xx member. The intervals might be collecting, logging, or performing automation at different times, on different interval cycles, on different days; also, these intervals might be executing the activities on different systems. |
The following information applies to the example:
- Pool WORK is not assigned to a specific policy and will use policy POOLPOLD.
- Pool TEST and storage group STR will use policy MYPOL01 as assigned.
- Pool PROD and all volumes starting with RES will use policy BMCDFLT1.
- Storage group SG1 is not assigned to a specific policy and will use policy STORPOLD.
- The VOLPOLD policy will be assigned to all other volumes that are not assigned to a policy via the POLICY= parameter, or are assigned by default (meaning that they belong to a pool or storage group whose default is POL_POOL= / POL_GROUP=).
Note
You must understand the relationship between the policy defaults that are coded in the SMMSYSxx member and the SMPOOLxx member statements. Pools and storage groups that do not have a policy specifically defined to them use the default keywords POL_POOL and POL_GROUP. POL_VOLUME and the policy definition that it uses apply to all volumes that are not associated with a pool or storage group, and volumes that are not specifically assigned to a policy.
When you are creating the definitions, keep in mind the relationship between the pools, storage groups, and volumes that are defined to them.
Comments
Log in or register to comment.