3PAR InForm® OS 2.3.1 CLI Administrator's Manual (320-200180 Rev B, February 2010)

6.12
Moving, Removing and Disconnecting Hosts
3PAR InForm CLI Administrator’s Manual InForm OS Version 2.3.1
6.8 Moving, Removing and Disconnecting Hosts
Use the following commands display active hosts and the volumes exported to the hosts:
showhost
showvlun
To display inactive hosts and the volumes that were exported to the hosts, use the
servicehost list command.
The
showhost, showvlun, and servicehost CLI commands are described in detail in the
InForm OS Command Line Interface Reference and the CLI Help Pages.
After you move a host to a new port, you must:
Remove the old host definitions.
Disconnect the host from the storage server.
Reconnect the host to the new port.
To move the host to another InServ Storage Server port, you must do the following:
1 Use the InForm CLI command
servicehost copy to create an inactive host on the
storage server port to which you wish to move the host. The inactive host created with this
command is identical to the active host that is to be relocated to this port.
The
servicehost copy command automatically exports all volumes that are currently
exported to the active host to the new, inactive host once it is created. For more
information about active and inactive hosts, 6.4 Active and Inactive Hosts on page 6.6.
The VLUNs from the specified source port (
src_node:slot:port) are copied from the
host WWNs or iSCSI Names matching the specified pattern
(
WWN_or_iSCSI_name_pattern) to the specified destination port
(
dest_node:slot:port). If necessary, the port is reset to target mode.
To create an inactive host on the storage server port to which you wish to move the host,
issue the
servicehost copy <src_node:slot:port>
<WWN_or_iSCSI_name_pattern> <dest_node:slot:port>
command, where:
<src_node:slot:port> is the current port location.
<WWN_or_iSCSI_name_pattern> specifies that the indicated WWN or iSCSI Name is
treated as a glob-style pattern.