VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide

Chapter 8, Using Capabilities, Templates and Rules
Compound Rules
131
log
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
}
Use confineto rules to force one mirror to be created on each of four separate enclosures:
mirror 1 {
confineto "Enclosure"="enclr1"
}
mirror 1 {
confineto "Enclosure"="enclr2"
}
mirror 1 {
confineto "Enclosure"="enclr3"
}
mirror 1 {
confineto "Enclosure"="enclr4"
}