Veritas Storage Foundation Intelligent Storage Provisioning 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008
140 Using capabilities, templates and rules
Volume templates
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
rules {
[tag "
volume_tag
"]
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 141.
inherits Indicates that the template can inherit capabilities when
required from those listed.
See “inherits” on page 142.
provides Indicates the capabilities that are provided by volumes
created from the template.
See “provides” on page 143.
requires Indicates that the template can acquire rules when
required from other templates that provide the specified