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

127Administering volume templates and other configuration elements
Listing capability dependencies
Listing capability dependencies
Capability definitions can extend or apply other capability definitions. To list
the capabilities that depend on one or more given capabilities, use the following
command:
# vxtemplate [-C | -g
diskgroup
] -w listcapability \
capability1
[
capability2
...]
To list all the capabilities upon which one or more given capabilities depend, use
the following command:
# vxtemplate [-C | -g
diskgroup
] -r listcapability \
capability1
[
capability2
...]
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 capabilities
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
capabilities that are linked by inheritance.
Figure 6-14 shows an example hierarchy of capability dependencies. The arrows
show the direction of inheritance.
Figure 6-14 Example capability dependencies
The following command examples show the output that would be returned for
this hierarchy:
# vxtemplate -g mydg -w listcapability C0
C0
# vxtemplate -g mydg -w capability listcapability C1
C0
C1
# vxtemplate -g mydg -w capability listcapability C2
C0
C1
C2
# vxtemplate -g mydg -r capability listcapability C1
C2
C0
C1
C2 C3