HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

that was assigned to the host storage domain. In an environment that satisfies the following conditions,
the HostScan command can be used to easily register hosts into the Device Manager server: (1) all
WWNs in one host storage domain must be assigned to one host only, and (2) that host name is set
as the nickname of the host storage domain.
NOTE:
The HostScan command operates by using the information in the Device Manager server database.
Before executing the HostScan command, execute the AddStorageArray command to refresh
the target storage system.
The following lists the conditions for using the HostScan command:
LUN Manager is installed on the storage system.
The host name is the nickname of a host storage domain.
#
There is a one-to-one correspondence between the host storage domain and host.
#
The WWNs assigned to the host storage domain match the WWNs of the host HBA.
# For a cluster configuration, set a logical host name for the nickname.
The HostScan command will do the following:
1. Among the WWNs that have been allocated to a host storage domain, HostScan detects (from
the Device Manager server database) any existing WWNs that have not been allocated to a
host.
2. HostScan obtains (from the Device Manager server database) the host storage domains for
which nicknames are set.
The host storage domains are obtained in the ascending order of their nicknames. The case of
nicknames is ignored.
3. For each of the host storage domains (ordered as described in step 2), HostScan adds the
WWNs detected in step 1 into the host information.
The information is added for any host whose host name is the nickname of a host storage domain.
However, if a corresponding host is not registered, the host is registered with a host name identical
to a host storage domain nickname and then the information is added to the host information.
If the same WWN is assigned to multiple host storage domains, this processing will be performed
for the first host storage domain only.
Format
To perform a host scan for one or more specific storage systems, use the following format:
hdvmcli [URL] HostScan [options] serialnum=serial-number model=model
To perform a host scan for all storage systems, use the following format:
hdvmcli [URL] HostScan [options] option=all
Device Manager CLI command reference234