HP 3PAR OS 3.1.3 Command Line Interface Reference

movetodomain
DESCRIPTION
The movetodomain command moves objects from one domain to another.
SYNTAX
movetodomain [options] <object_name> <domain_name | domain_set>
AUTHORITY
Super, Edit
Any role granted the domain_moveto right.
NOTE: You need access to all domains in order to run this command.
OPTIONS
vv
Specifies that the object is a virtual volume.
-cpg
Specifies that the object is a CPG.
host
Specifies that the object is a host.
f
Specifies that the command is forced. If this option is not used, the command requires confirmation
before proceeding with its operation.
SPECIFIERS
<object_name>
Specifies the name of the object to be moved.
<domain_name | domain_set>
Specifies the domain or domain set to which the specified object is moved. The domain set name
must start with set:. To remove the domain from an object from any domain, specify the string
-unset for the <domain_name> or <domain_set> specifier.
RESTRICTIONS
Access to all domains is required to run this command.
EXAMPLES
The following example displays the movement of VV vv1 to domain SampleDomain:
cli% movetodomain -vv vv1 SampleDomain
The following volumes will have their domain modified:
vv1
The following hosts will have their domain modified:
thehost
The following CPGs will have their domain modified:
SampleCPG
14 associated LDs will also have their domain changed.
Do you want to proceed with moving the above to domain SampleDomain?
select y=yes n=no: y
206 Move Commands