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

155Using capabilities, templates and rules
Compound rules
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"
}
mirror_group
The mirror_group rule groups together different mirrors of a volume. It
should be used when there are groups of mirrors with several things that are
common to each group, or when such groups need to have a
separateby rule
between them. Merging of mirrors can only take place within mirror groups.
The following example demonstrates the application of the mirror_group
rule:
Configure two mirror groups, A with two striped mirrors, and B with two
concatenated mirrors, where the mirrors in each group lie within different
enclosures:
mirror_group A {
mirror 2 {
confineto "Enclosure"
}
stripe 4
}
mirror_group B {
mirror 2 {
confineto "Enclosure"
}
striped false
}
mirror_group A,B {
separateby "Enclosure"
}