Home > Veritas Storage Foundation™ Volume Manager Manual Pages
VXTEMPLATE (1M) |
Maintenance Commands |
vxtemplate [-g diskgroup] [-P poolname] \.br deactivate template=t1[,t2...]
vxtemplate help [keywords | options]
vxtemplate [-C | -g diskgroup] [-ir] \.br
[-d file] [-P storage_pool]
install [template=t1[,t2...]] \.br
[capability=c1[,c2...]] \.br
[template_set=ts1[,ts2...]]
vxtemplate [-C | -g diskgroup]
[-P storage_pool] \.br
list
[template=t1[,t2...]] \.br
[capability=c1[,c2...]] \.br
[template_set=ts1[,ts2...]] \.br
[storage_pool_set=ps1[,ps2...]]
[pool_definition=pd1[,pd2...]]
vxtemplate [-C | -g diskgroup] [-P storage_pool] [-r] [-w] \.br listcapability [c1 [c2 ...]]
vxtemplate listpooldefinition [pd1 [pd2 ...]]
vxtemplate listpoolset [ps1 [ps2 ...]]
vxtemplate [-C | -g diskgroup] [-P storage_pool] \.br listtag template=template_name
vxtemplate [-C | -g diskgroup] [-P storage_pool] [-r] [-w] \.br listtemplate [t1 [t2 ...]] [tag=tagname[=tagvalue]] ...
vxtemplate listtemplateset [template=t1[,ts2...]] [ts1 [ts2 ...]]
vxtemplate [-C | -g diskgroup] [-P storage_pool] \.br print [template=t1[,t2...]] \.br [capability=c1[,c2...]] \.br [template_set=ts1[,ts2...]] \.br [storage_pool_set=ps1[,ps2...]] \.br [pool_definition=pd1[,pd2...]]
vxtemplate [-C | -g diskgroup] [-P storage_pool] \.br printcapability [c1 [c2 ...]]
vxtemplate printpooldefinition [pd1 [pd2 ...]]
vxtemplate printpoolset [ps1 [ps2 ...]]
vxtemplate [-C | -g diskgroup] [-P storage_pool] \.br printtemplate [t1 [t2 ...]]
vxtemplate printtemplateset [ts1 [ts2 ...]]
vxtemplate [-g diskgroup] renamecapability c1 c2
vxtemplate [-g diskgroup] renametemplate t1 t2
vxtemplate [-C | -g diskgroup] [-P storage_pool] [-r] \.br uninstall [template=t1[,t2...]] \.br [capability=c1[,c2...]] \.br [template_set=ts1[,ts2...]]
The operations that can be performed by vxtemplate are selected by specifying the appropriate keyword on the command line. See the KEYWORDS section for a description of the available operations.
Most operations can be performed either on a configuration database if the -C option is specified, or on a single storage pool which is associated with a disk group. If a disk group is not specified by using the -g option, the default disk group that is aliased by defaultdg is selected.
Otherwise, one or more templates, capabilities and/or template sets are installed in the specified disk group and/or storage pool.
Templates are installed recursively to resolve any dependencies.
Note: By default, installing a template also activates the template unless the -i option is specified.
Otherwise, lists templates, capabilities and/or template sets that are installed in the specified disk group and/or storage pool.
Otherwise, lists capabilities in the specified disk group and/or storage pool.
If the -r (recursive) option is specified, lists all capabilities that depend on the specified capabilities.
If the -w (whole) option is specified, lists all capabilities on which the specified capabilities depend (that is, whcih make them complete).
Otherwise, lists templates in the specified disk group and storage pool, and which have the specified tag name and optional tag value.
If one or more template names and the -r (recursive) option are specified, lists all templates that depend on the specified templates.
If one or more template names and the -w (whole) option are specified, lists all templates which the specified templates depend (that is, which make them complete).
Otherwise, prints details of the templates and/or capabilities in the specified disk group and/or storage pool.
If a list of templates is specified to the template attribute, only the template sets that contain the specified templates are listed.
Otherwise, prints details of the capabilities in the specified disk group and/or storage pool.
Otherwise, prints details of the templates in the specified disk group and/or storage pool.
Otherwise, templates, capabilities and/or template sets are uninstalled from the specified disk group and/or storage pool.
Templates are uninstalled recursively where this is possible without breaking any dependencies.
vxtemplate -g mydg listtemplate
List the templates t1 and t2, and the capabilities c1 and c2 that are installed in the storage pool mypool within the disk group mydg:
vxtemplate -g mydg -P mypool list template=t1,t2 capability=c1,c2
List all elements that are defined in the configuration database:
vxtemplate -C list
Print details of the template t1 and the capability c1 for the default disk group:
vxtemplate print template=t1 capability=c1
Print details of the templates Template1 and Template2, and the capability C1 from the configuration database:
vxtemplate -C print template=Template1,Template2 capability=c1
Rename the template mytemplate installed in disk group mydg as template1:
vxtemplate -g mydg renametemplate mytemplate template1
Install the templates from the file template1.txt into the configuration database:
vxtemplate -C -d template1.txt install
Install the templates HardwareReliable and SoftwareReliable, and the capability Reliable from the file template1.txt into the configuration database:
vxtemplate -C -d template1.txt install template=HardwareReliable,SoftwareReliable \ capability=Reliable
Install the templates t1 and t2, and the capabilities c1 and c2 into the disk group mydg:
vxtemplate -g mydg install template=t1,t2 \ capability=c1,c2
Recursively uninstall the templates temp1 and temp2, and the capability cap1 from the configuration database:
vxtemplate -C -r uninstall template=temp1,temp2 \ capability=cap1
List all the template sets known to the system:
vxtemplate listtemplateset
Print details of the template sets ts1 and ts2.
vxtemplate printtemplateset ts1 ts2
diskgroupvxvoladm -gprintintentvolume_name...
Veritas Storage Foundation Intelligent Storage Provisioning Administrator's Guide
Last updated: 17 Jul 2008
Copyright ©2009 Symantec Corporation
All rights reserved.