VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide

Format of User Templates
108 VERITAS Storage Foundation ISP Administrators Guide
usertmplt_name Defines the name of the user template, for example,
MyReliableReplication, and MySWSnapshot.
description Describes a user template in English.
descriptionid References the message catalog where localized versions of the
description may be found, and provides an index number for the
description in the catalog.
volume_templates Indicates the templates that can be used by the user template.
capability Indicates the capabilities that are provided by volumes created from
the user template.
attribute_name Defines the name and value of a parameter.
rules Specifies the start of the section that contains the rules for selecting
and laying out storage, and which implement the capabilities that
the user template provides. See “Rules” on page 121.
For a formal definition of user_template in the ISP language, see “User Template” on
page 148.
For example, consider a capability named HardwareReplication that has two variable
parameters that specify the source and the destination:
capability HardwareReplication {
var source:string
var destination:string
};
In addition, the capability named Reliable, provides reliability by creating a mirrored volume:
capability Reliable {
var NMIRS:int
};
Rules can also be specified to user templates, as shown in these examples that could be used for
creating application volumes for database tables and indexes:
user_template DB_Table {
description "Makes mirrored volume for a database table"
capability DataMirroring {
NMIRS = 2
}
rules {
confineto "VendorName"="EMC"
}
};
user_template DB_Index {
description "Makes high performance volume for a database index"