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

124 Administering volume templates and other configuration elements
Deactivating and reactivating templates
Here the types ts, pd and ps indicate template set, storage pool and storage
pool set definitions respectively.
To print the details of elements in the Configuration Database, use this
command:
# vxtemplate -C print [template=
t1
[,
t2
...]] \
[capability=
c1
[,c2...]] [template_set=
ts1
[,
ts2
...]] \
[storage_pool_set=
ps1
[,
ps2
...]] \
[pool_definition=
pd1
[,
pd2
...]]
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 listcapability, listtemplate, listtemplateset,
listpooldefinition and listpoolset keywords of vxtemplate to list only the
capabilities or templates that are associated with the specified disk group and/
or storage pool. Similarly, the
printcapability, printtemplate,
printtemplateset, printpooldefinition and printpoolset 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=
t1
[,
t2
...]
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=
t1
[,
t2
...]
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.