VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide
Deactivating and Reactivating Templates
104 VERITAS Storage Foundation ISP Administrator’s Guide
As for storage pools and disk groups, you can print the details of certain elements by specifying
these as arguments to the command, for example:
# vxtemplate -C print template_set=DataMirroring,Raid5Templates
You can also use the listcapabilities, listtemplates and listtemplatesets,
listpooldefinitions, and listpoolsets keywords of vxtemplate to list only the
capabilities or templates that are associated with the specified disk group and/or storage pool.
Similarly, the printcapabilities, printtemplates and printtemplatesets,
printpooldefinitions, and printpoolsets keywords are used to print the element
definitions in detail. For more information, see the vxtemplate(1M) manual page.
Deactivating and Reactivating Templates
By default, templates are activated when they are associated with a storage pool. You can run the
vxtemplate deactivate command to prevent one or more templates from being used in the
storage pool with which they have been associated:
# vxtemplate [-g diskgroup] [-p pool] deactivate \
template=template[,template...]
If the template is currently in use, ISP displays an error message.
You can reactivate templates by using the vxtemplate activate command:
# vxtemplate [-g diskgroup] [-p pool] activate \
template=template[,template...]
Renaming a Capability
To change the name of a capability, use the following command:
# vxtemplate [-C | -g diskgroup] renamecapability oldname newname
For example, you may want to change the name if you have modified the attributes of the capability
for a particular disk group.
Renaming a Template
To change the name of a template, use the following command:
# vxtemplate [-C | -g diskgroup] renametemplate oldname newname
For example, you may want to change the name if you have modified a template for a particular
disk group.