VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide

Volume Templates
118 VERITAS Storage Foundation ISP Administrators Guide
Inherits all capabilities that BaseTemplate inherits (see “inherits” on page 119).
Obtains and applies all the rules of BaseTemplate.
Can use variables of all the capabilities that BaseTemplate provides.
Note BaseTemplate and DerivedTemplate cannot use different capabilities that have
variables with the same name.
The derived template has an “is a” relationship with its base templates. The derived template can be
used instead of any of its base templates.
The following example demonstrates the application of the extends keyword:
Extend ReliablePerformant into the template MyReliablePerformant:
volume_template MyReliablePerformant {
extends ReliablePerformant
rules {
...
}
};
group
This keyword specifies that all volumes allocated using this template are in the specified group.
Rules in the storage pool apply to all groups, and specify relationships between groups. For
example, a storage pool rule might specify that all groups are to be separated by enclosures. This
would mean that all templates with different group tags must be placed in separate non-overlapping
sets of enclosures. This keyword can also appear within a log clause. In this case, the specified
group overrides any group specified in the template.
inherits
If a template specifies that it can inherit a capability, it provides that capability when required.
Inheriting a capability is equivalent to the combination of requiring and providing a capability (see
requires” and “provides” on page 119).
The following example demonstrates the application of the inherits keyword:
The following template definition:
volume_template ReliableSnapshot {
requires Reliable
provides Reliable, Snapshot
rules {
...