VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide
Using a User Template to Create an Application Volume
110 VERITAS Storage Foundation ISP Administrator’s Guide
}
};
user_template DB_Index {
description "Makes high performance volume for database index"
capability Striping {
NCOLS = 8
}
rules {
confineto "VendorName"="EMC"
}
};
You can then use the -d option with vxusertemplate create command to add the user
template in the configuration file to the global usertemplates file, as shown here:
# vxusertemplate -d config_file create
Using a User Template to Create an Application Volume
You can create an application volume using a user template by specifying the name of the user
template in place of the name of a capability to the vxvoladm make command. For example, to
create a 10GB application volume in the storage pool, mypool, using the user template,
RP_DB_Table, you would use the following command:
# vxvoladm -g mydg -p mypool make myDBvol 10g \
user_template=’RP_DB_Table’
Note Unlike volume templates, you cannot specify parameter values for user templates on the
command line.
Listing Currently Defined User Templates
Use the following command to list all the user templates that are currently defined in the global
usertemplates file:
# vxusertemplate list
Printing User Template Definitions
Use the following command to print detailed information about one or more user templates that are
currently defined in the global usertemplates file: