Veritas Storage Foundation Intelligent Storage Provisioning 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008

130 Administering volume templates and other configuration elements
Listing templates included by storage pool definitions
Listing templates included by storage pool
definitions
To list the templates that are included in certain storage pool definitions in the
ISP Configuration Database, use the following command:
# vxtemplate -C listtemplate [pooldefn=
pd1
[,
pd2
...]]
For example, to list all the templates that are included in the
striped_volumes storage pool definition:
# vxtemplate -C listtemplate pooldefn=striped_volumes
TY NAME STATE AUTOINSTALL
vt ArrayProductID - -
vt ColumnsOnSeparateComponents - -
vt ConfineColumnToSimilarStorage - -
vt ConfineToSimilarStorage - -
vt ConfineToSpecificStorage - -
vt DCOLogStriping - -
vt ExcludeSpecificStorage - -
vt InstantSnapshottable - -
vt MultipathingThroughMultiplePaths - -
vt Striping - -
If no storage pool definitions are specified, the command lists the templates that
are included in all storage pool definitions in the ISP Configuration Database.
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 \
DataMirroring capability=DataMirroring
The following command similarly removes this template and capability from the
ISP Configuration Database:
# vxtemplate -C uninstall 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:
# vxassist -g
diskgroup
printintent
volume
...