The vxassist command lets you create a set of volume allocation rules and define it with a single name. When you specify this name in your volume allocation request, all the attributes that are defined in this rule are honored when vxassist creates the volume.
Creating volume allocation rules has the following benefits:
Rules streamline your typing and reduce errors. You can define relatively complex allocation rules once in a single location and reuse them.
Rules let you standardize behaviors in your environment, including across a set of servers.
For example, you can create allocation rules so that a set of servers can standardize their storage tiering. Suppose you had the following requirements:
Tier 1 |
Enclosure mirroring between a specific set of array types |
Tier 2 |
Non-mirrored striping between a specific set of array types |
Tier 0 |
Select solid-state drive (SSD) storage |
You can create rules for each volume allocation requirement and name the rules tier1, tier2, and tier0.
You can also define rules so that each time you create a volume for a particular purpose, the volume is created with the same attributes. For example, to create the volume for a production database, you can create a rule called productiondb. To create standardized volumes for home directories, you can create a rule called homedir. To standardize your high performance index volumes, you can create a rule called dbindex.