VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide

Chapter 6, Administering Volume Templates and Other Configuration Elements
Listing and Printing Configuration Elements
103
Here the types vt and cp indicate volume template and capability definitions.
To print the details of these templates and capabilities, use this command:
# vxtemplate [-g diskgroup] [-p pool] print
You can print the details of only certain elements by specifying these as arguments to the
command:
# vxtemplate [-g diskgroup] [-p pool] print [template=t1[,t2...]] \
[capability=c1[,c2...]] [template_set=ts1[,ts2...]] \
[storage_pool_set=ps1[,ps2...]] [pool_definition=pd1[,pd2...]]
For example, to print the definitions of the Mirroring and Striping volume templates that are
associated with the storage pool, mypool, in the disk group, mydg, you would use this command:
# vxtemplate -g mydg -p mypool print template=Mirroring,Striping
The following command lists all the templates and capabilities that are available in the ISP
Configuration Database on the system:
# vxtemplate -C list
The output from this command is similar to the following.
TY NAME STATE AUTOINSTALL
vt DataMirroring - -
vt Raid5Volume - -
vt Reliability - -
vt Striping - -
cp DataMirroring - -
cp DataRedundancy - -
cp Raid5LogMirroring - -
cp Raid5Capability - -
cp Reliability - -
cp Striping - -
ts Raid5Templates - -
pd raid5_volumes - -
ps mirrored_data_striped_clones - -
.
.
.
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...]]