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

125Administering volume templates and other configuration elements
Renaming a template
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.
Finding templates for specified capabilities
To list the template definitions that implement certain capabilities, use the
following command:
# vxtemplate [-C | -g
diskgroup
] list \
[capability=
c1
[,
c2
...]]
For example, to list all the templates in the ISP Configuration Database that
implement the DataMirroring capability:
# vxtemplate -C list capability=DataMirroring
TY NAME
vt DataMirroring
vt MultipathingThroughMirroring
If no capabilities are specified, the command lists all templates that are defined
in the ISP Configuration Database or specified disk group.
Listing template dependencies
Volume template definitions can extend or apply other volume template
definitions. To list the templates that depend on one or more given templates,
use the following command:
# vxtemplate [-C | -g
diskgroup
] -w listtemplate \
template1
[
template2
...]
To list all the templates upon which one or more given templates depend, use
the following command:
# vxtemplate [-C | -g
diskgroup
] -r listtemplate \
template1
[
template2
...]
If the -C option is specified, the dependencies in the ISP Configuration Database
are displayed. If the
-g option is used, only the dependencies for the templates
that are currently installed in the specified disk group are shown.
The -w (whole) and -r (recursive) options can be specified together to list all
templates that are linked by inheritance.
Figure 6-13 shows an example hierarchy of template dependencies. The arrows
show the direction of inheritance.