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

122 Administering volume templates and other configuration elements
Installing configuration elements in storage pools and disk groups
To install additional elements that are defined in a file, use the following
command:
# vxtemplate -C -d
element_defs_file
install
You can select only to install selected elements from a file by naming them
explicitly as shown here:
# vxtemplate -r -C -d my_templates install template=Reliability
The -r (recursive) option ensures that all capabilities and templates that are
referred to by the Reliability template are also installed.
See “ISP configuration elements” on page 177.
Installing configuration elements in storage pools
and disk groups
If you specify a template set, storage pool definition or a storage pool set
definition when creating a storage pool, the required templates and capabilities
are automatically associated with the storage pool and with its disk group.
See “Creating a storage pool” on page 52.
A storage pool's selfsufficient policy governs whether configuration
elements can be installed automatically from the ISP Configuration Database as
required. If the policy is set to host, elements are available to the pool from the
ISP Configuration Database, from the disk group and from the pool itself. If the
policy is set to diskgroup, the pool can install additional elements from the
disk group, but not from the ISP Configuration Database. A policy value of pool
means that only elements that are installed in the pool can be used. If required,
you can use the
vxtemplate command to install templates, capabilities and
template sets from the ISP Configuration Database into disk groups and pools.
Template sets are convenient for installing many capabilities and templates in a
single operation. The following example shows how to install all the capabilities
and templates from the template set, DataMirroring, into a storage pool,
mypool, and its disk group, mydg:
# vxtemplate -g mydg -P mypool install
template_set=DataMirroring
This is equivalent to using this (very long) command:
# vxtemplate -r -g mydg -P mypool install \
template=DataMirroring,ArrayProductId,\
ConfineLogsToSimilarStorage,\
ConfineMirrorsToSimilarStorage,DCOLogMirroring,\
InstantSnapshottable,LogsOnSeparateComponents,\
MirrorsOnSeparateComponents