Veritas Storage Foundation Intelligent Storage Provisioning 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008

154 Using capabilities, templates and rules
Compound rules
Compound rules
Whether a rule applies to a volume, mirror, column or log depends on the scope
in which the rule is applied. Compound rules are composed of several other
rules, and are used to specify the scope of rules at a level below that of an entire
volume. A compound rule can apply to one or more mirrors, columns or logs of a
volume. It can also define how redundancy and separation are to be
implemented for a volume.
Note: No more than two levels of nesting of compound rules may be specified.
The following sections describe the various types of compound rule:
log
mirror
mirror_group
stripe
mirror
The mirror rule is used to describe one or more mirrors of a volume. All the
basic rules except
striped and parity, and a restricted form of the stripe rule,
can be used within a
mirror rule. Rules that are specified within a mirror rule
apply only to those mirrors that are constructed from this rule.
The following examples demonstrate the application of the mirror rule:
Confine each mirror within an enclosure so that no mirror spans more than
one enclosure:
mirror all {
confineto "Enclosure"
}
Configure two mirrors of a volume with the EMCSnapshot feature:
mirror 2 {
apply EMCSnapshot
}