HP Systems Insight Manager 5.2 Update 2 Technical Reference Guide
4. Under Initialize contents with, select one of the following:
• Template file. Loads the contents into the Contents window.
• Systems loaded from the central management server, sorted by:. From the dropdown list,
select one of the following: IP address, System name, System type and then by IP address,
or System type and then by system name. This option loads the systems managed by HP SIM
into the Contents window.
• Systems loaded from hosts file. Enter the file name and location (for example, c:\ doc.txt),
or click Browse to locate the hosts file. This option reads the contents of the specified file and
displays it in the Contents window.
5. If you did not select Template File, click Initialize Now to install the hosts file. Otherwise, enter the
contents of the hosts file in the Contents section. Simple or Fully Qualified Domain Name (FQDN) host
names can be entered in the hosts file. However, no range of host names are allowed.
6. To save the hosts file, click OK, or to cancel any changes you have made, click Cancel.
Hosts file format
The format for a valid hosts file line is:
IP_ADDRESS [DNS_NAME] SYSTEM_NAME
Where:
Is a valid IP address
IP_ADDRESS
.
Specifies an optional DNS name parameter
DNS_NAME
.
Is the name of the system
SYSTEM_NAME
.
With this format, the following hosts file lines are valid:
1.2.3.4 mySystem.mydomain.com mySystem
2.3.4.5 mySystem
The following lines are not valid:
1.2.3.4/
mySystem/
mySystem.mydomain.com/
Precede comment lines with the # character:
# This is a comment line
1.2.3.4 mySystem.mydomain.com mySystem #This is an end-of-line comment
See “Hosts file extensions” for information about hosts file extensions.
Related procedures
• Editing a hosts file
• Deleting a hosts file
• Adding systems in a hosts file to the HP SIM database
• Batch-adding systems using the CLI
Related topics
• IP ranges
• Discovery and identification
• Managing hosts files
Editing a hosts file
To edit a hosts file:
1. Select Options→Discovery, and then click the Hosts Files tab.
2. Select an existing hosts file, and then click Edit. The Edit Hosts File section appears.
118 Discovery and identification