HP 3PAR InForm OS 3.1.1 CLI Administrator's Manual

form the domain, or moved to another domain before removing the domain. Domain objects
include virtual volumes, CPGs, and hosts.
To remove a domain, issue the removedomain <domain_name> command, where
<domain_name> is the domain you want to delete.
Managing Domain Objects
Domain objects can be moved in and out of a domain, or have their domain associations entirely
removed. In doing so, all objects related either directly or indirectly to the domain object being
managed are also moved or removed. These relationships include, but are not limited to, VLUNs
between hosts and VVs, VVs which are drawing from CPGs and multiple VVs sharing the same
LD. In order to move or remove a domain object or domain association, you must have Super or
Edit user rights with access to all domains.
NOTE: Before proceeding with any domain management activities, you may want to view the
domain associations for your system objects as described in “Viewing Domains” (page 63).
Moving Domain Objects to Another Domain
To move a domain object in or out of a domain, or to move a domain object in or out of a
domain, issue the movetodomain -vv|-cpg|-host
<object_name><domain_name>|set:<set_name> command, where:
-vv|-cpg|-host is the type of object (VV, CPG, host, respectively) you are moving.
<object_name> is the name of the VV, CPG, or host you are moving.
<domain_name> is the name of the domain to which you are moving the specified
object.
<set_name> is the name of the domain set to which you are moving the specified host.
Removing the Domain Association from a Domain Object
To remove the domain association from a domain object, issue the movetodomain
-vv|-cpg|-host <object_name> -unset command, where:
-vv|-cpg|-host is the type of object (VV, CPG, host, respectively) from which you
are removing the domain association.
<object_name> is the name of the VV, CPG, or host from which you are removing the
domain association.
Managing Virtual Domain Autonomic Groups
Virtual domains can be combined into autonomic groups, autonomic groups are sets of objects
that can be managed as one object. If you have a group of domains that require the same
administrative procedures, it is easier to group those domains into a set and manage them together.
For example, you can create a domain set and put all the hosts in a cluster into a host set. By
setting the domain of the hosts in the host set to the newly created domain set, all the virtual volumes
exported to one host in the cluster are accessible to all the hosts in the cluster. If one of the hosts
in the cluster is a backup host, all of the virtual volumes in the domain set can access the backup
host. Without domain sets there is no way for a host to access volumes from different domains at
the same time. Individual domains can be members of multiple domain sets.
Hosts are the only objects that can be a member of a domain set. All other objects can only belong
to a single domain. If a host that is a member of a domain set is moved with the movetodomain
command to an individual domain, then all objects associated with the host must be members of
the destination domain or the command will fail. Moving a host to a domain set does not change
64 Managing HP 3PAR Virtual Domains