HP 3PAR OS 3.1.3 Command Line Interface Reference

servicehost
DESCRIPTION
The servicehost command executes removal and replacement actions for a host connecting to
an HP 3PAR Storage System port.
SYNTAX
The syntax for the servicehost command can be one of the following:
servicehost list
servicehost remove [-f] [<N:S:P> [<WWN_or_iSCSI_name>...]]
servicehost copy [-f] <src_N:S:P> <WWN_or_iSCSI_name_pattern>
<dest_N:S:P>
AUTHORITY
Super, Service
Any role granted the host_service right.
NOTE: You need access to all domains in order to run this command.
Can vary for each subcommand as noted in the following section.
SUBCOMMANDS
list
Displays a list of all inactive hosts. Permitted for all users.
remove
Removes an inactive host, as specified with the <WWN_or_iSCSI_name> specifier, from the
indicated port (<N:S:P>) and its associated VLUNs. If the <WWN_or_iSCSI_name> specifier is
not issued with the remove subcommand, all inactive hosts on the specified port and their LUNs
are removed. If the <N:S:P> specifier is not used with the remove subcommand, all inactive
hosts in the system and their LUNs are removed. See “RESTRICTIONS” for additional information
about the remove subcommand.
copy
Copies all active VLUNs from the specified source port (as specified with <src_N:S:P>) from
host WWNs or iSCSI names matching the specified pattern (<WWN_or_iSCSI_name_pattern>)
to the destination port (as specified with <dest_N:S:P>). If necessary, the port is reset to target
mode.
OPTIONS
f
Specifies that the command is forced. If this option is not used, the command requires confirmation
before proceeding with its operation.
SPECIFIERS
<N:S:P>
Specifies the host to be removed which is visible to the specified port. This specifier can only be
used with the remove subcommand.
<WWN_or_iSCSI_name>
servicehost 251