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

5. Check the hosts that are newly imported.
Related topics
ImportHosts, page 302
Conventions for creating host information files (CSV files), page 462
Conventions for creating mapping definition files, page 463
Examples of input files, page 465
Conventions for creating host information files (CSV files)
Follow the following conventions when creating host information files:
Use UTF-8 encoding.
Make sure that the host information file does not exceed the maximum of 10,250 records.
Note, however, that the ImportHosts command can handle only a maximum of 1,000 records
at one time. If the number of records in the host information file exceeds 1,000, use the mapping
definition file to change the load start record. Alternatively, divide the host information file, and
execute the command for each host information file.
Use line break codes (CRLF, CR, or LF) to separate records. The last record must also end in a
line break code. Line breaks enclosed in double quotation marks (") are not treated as a record
separator.
Use a comma (,) to separate record fields (values) in each record.
If the value of a field includes a comma, double quotation mark, or line break, enclose the value
in double quotation marks. For example, if the value is a,a, the value to be specified in the value
field is "a,a".
If the value of a field includes a double quotation mark, insert another double quotation mark
before or after the double quotation mark. For example, if the value is b"b, the value to be specified
in the value field is "b""b".
If a hyphen (-) is specified for a field other than the host name field, the field is assumed to have
no value.
The following table describes the items that can be specified in the host information file.
Table 181 Items that can be specified in a host information file (CSV file)
DescriptionItem
This item is required.
You can specify a character string from 1 to 50 bytes long, that can have the
following characters:
A-Z a-z 0-9 ! # $ % & ' ( ) + - = @ [ ] ^ _ ` { } ~
Alphabetic characters are not case sensitive.
When used with the GUI, follow the GUI specification rules.
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.
Host name
Import functionality462