HP P9000 Command View Advanced Edition Suite Software 7.4.1-00 CLI Reference Guide (TB581-96335, April 2013)

hdvmcli [URL] ImportHosts [options]
inputfile=host-information-file-name
[mappingfile=mapping-definition-file-name]
[resultfilepath=output-destination-of-error-information-file]
function=import [overwrite={true|false}]
Parameters
Table 100 ImportHosts command parameters
DescriptionStatusParameter name
Host information file name
Use an absolute path or relative path to specify a CSV file that
contains host information.
If a host that cannot be registered with Device Manager is
specified, the record for that host is ignored and the subsequent
records are registered. However, if there are multiple records for
the same host name in the host information file, only the first
record is registered. If the first record for a given host name has
an error, information for that host is not registered, even if other
records for the same host name exist.
Required
inputfile
Mapping definition file name
Use an absolute path or relative path to specify a property format
file that associates the information in the host information file with
the host information to be imported.
If this parameter is omitted, import.properties in the Device
Manager CLI installation directory is used as the mapping
definition file.
Optional
mappingfile
Output destination for check result files and error information files
Use an absolute path or relative path to specify the output
destination for check result files to be output after a check, and
error information files output if an error occurs or a warning is
issued in the check function or import function.
If this parameter is omitted, the files are output to the Device
Manager CLI installation directory.
Optional
resultfilepath
Type of processing to be performed
check:
Check whether the format of the information in the input files
is correct.
import:
Import host information.
If this parameter is omitted, check is assumed.
Optional
function
Command reference286