HP 3PAR OS 3.1.3 Command Line Interface Reference

The following example displays the removal of the host testhost from any domain:
cli% movetodomain -host testhost -unset
The following hosts will have their domain modified:
Id Name Persona -WWN/iSCSI_Name- Port
2 testhost Generic
Do you want to proceed with removing the domain of the above?
select y=yes n=no: y
NOTES
The movetodomain command moves all objects that are directly or indirectly related to the
specified object into the specified domain. Possible relationships include, but are not limited
to, Virtual Volume Logical Unit Numbers (VLUNs) between hosts and VVs, VVs using a CPG
for snapshot space, and two VVs sharing the same logical disk. If the -f option is not used,
a list of all objects that will be modified is shown before the confirmation prompt.
Only hosts are permitted to be members of domain sets.
When moving a host to a domain set, all objects directly or indirectly related to that host must
be members of a domain contained in that domain set otherwise the command will fail.
If the -cpg option is selected and the selected CPG is part of an Adaptive Optimization (AO)
configuration, all CPGs in that AO configuration will be moved to the specified domain.
movetodomain 207