VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide

Volume Templates
116 VERITAS Storage Foundation ISP Administrators Guide
extends DataMirroring, Striping
};
DataMirrorStripe also inherits the variables nmirs and ncols from the two capabilities
that it extends.
Volume Templates
A volume template (or template for short) is a meaningful collection of rules that provides
capabilities for volumes as defined by those rules, or by reference to other capabilities. ISP refers to
templates when creating an application volume. It chooses an appropriate template to use based on
the capabilities that you request for the volume, and allocates storage by following the rules that the
template contains.
The format of a typical template specification is shown here:
volume_template template_name {
extends template1, template2, ...
inherits capability5, capability6, ...
provides capability1, capability2, ...
requires capability3, capability4, ...
description text
descriptionid id
group name
rules {
rule1
rule2
...
}
};
This definition has the following important components:
template_name Indicates the nature of the volume that can be created by the template, for
example, DataMirroring, Raid5Volume and
InstantSnapshottable.
extends Indicates that the template includes all the capabilities, rules and variables
from the named templates. See “extends” on page 117 for more information.
inherits Indicates that the template can inherit capabilities when required from those
listed. See “inherits” on page 119 for more information.
provides Indicates the capabilities that are provided by volumes created from the
template. See “provides” on page 119 for more information.