VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide

Chapter 6, Administering Volume Templates and Other Configuration Elements
Removing Templates, Capabilities and Template Sets
105
Removing Templates, Capabilities and Template Sets
To remove a template, capability or template set from a disk group and/or storage pool, or from the
ISP Configuration Database, use the vxtemplate uninstall command. For example, the
following command removes the definitions of the DataMirroring template and capability from the
storage pool, mypool, in the disk group, mydg:
# vxtemplate -g mydg -p mypool uninstall template=DataMirroring \
capability=DataMirroring
The following command similarly removes this template and capability from the ISP Configuration
Database:
# vxtemplate -C uninstall template=DataMirroring \
capability=DataMirroring
Note If a template is associated with any ISP volumes, you cannot dissociate the template from a
storage pool, or uninstall the template from a disk group without first deleting the volumes.
To display which templates are associated with ISP volumes, use the following command:
# vxvoladm -g diskgroup printintent volume ...