HP P9000 Command View Advanced Edition Suite Software 7.3.1-00 CLI Reference Guide

To perform a host scan for all storage systems, use the following format:
hdvmcli [URL] HostScan [options]
option=all
Parameters
Table 91 HostScan command parameters
DescriptionStatusParameter name
Parameter used to specify the serial numbers of the storage
systems for which a host scan is to be performed.
Use a comma to delimit multiple values.
Optional
#1, #2
serialnum
Parameter used to specify the models of the storage systems for
which a host scan is to be performed.
Use a comma to delimit multiple values.
Optional
#1, #2
model
Parameter used to perform a host scan for all storage systems.
The value you can specify is all, which is not case-sensitive.
Optional
#1
option
#1
Always specify either the serialnum and model parameters together, or option=all.
#2
To specify a storage system, both the serialnum and model parameters must be specified to-
gether. Make sure that both the order and values specified for serialnum and model are correct.
Parameter values to obtain in advance
serialnum and model
Obtain these values from the execution result of the GetStorageArray command. In the execution
result, use the arrayType value or the displayArrayType value to specify the model para-
meter, and use the serialNumber value to specify the serialnum parameter.
Command execution example
hdvmcli HostScan -o "D:\logs\HostScan.log" model=XP12000 serialnum=14053
Command execution result
RESPONSE:
(Command completed; no data returned)
ImportHosts
ImportHosts imports information about hosts from the input files (CSV-format host information file
and mapping definition file). This command also checks information in input files.
CLI Reference Guide 261