Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009
rules {
confineto "ProductId"
}
};
■ Typically, you would use the apply keyword when you want to get the rules of
a template without its associated capabilities.
In the following example, the template MyReliableSnapshot is defined so that
the application of Snapshot to one mirror results in the whole volume getting
the associated Snapshot capability, whereas the application of EMCStorage to
one mirror does not result in the whole volume getting the EMCStorage
capability:
volume_template MyReliableSnapshot {
provides Snapshot, Reliable
rules {
separateby "Enclosure"
mirror 1 {
apply Snapshot, EMCStorage
confineto "Enclosure"
}
mirror 1 {
confineto "Enclosure"
}
}
};
parity
The parity rule defines whether redundancy should be parity based (that is,
RAID-5) as implemented in either hardware or software. The value can be true
or false.
The following example demonstrates the application of the parity rule by defining
a template for providing reliability using software RAID-5:
volume_template Raid5Volume {
provides Raid5Capability, Raid5LogMirroring
rules {
parity true
stripe ncols - nmaxcols
log nlogs {
type raid5
161Using capabilities, templates and rules
Storage layout rules