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

123Administering volume templates and other configuration elements
Listing and printing configuration elements
Listing and printing configuration elements
Use the following command to list the templates and capabilities that are
associated with a specified disk group and/or storage pool.
# vxtemplate [-g
diskgroup
] [-P
pool
] list
This command displays results similar to the following.
TY NAME STATE AUTOINSTALL
vt Mirroring Active 0
vt MirroringStriping Active 0
vt Raid5Template Active 0
vt Striping Active 0
cp ParityReliable - -
cp PerformanceByStriping - -
cp Reliability - -
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 - -
...