HP Systems Insight Manager 5.3 Technical Reference Guide

Related procedures
Creating a new hosts file
Editing a hosts file
Deleting a hosts file
Adding systems in a hosts file to the HP SIM database
Creating a task to import a hosts file for HP SIM integration
Batch-adding systems using the CLI
Related topic
Discovery and identification
Creating a new hosts file
NOTE: For keywords that contain more than one word, such as "management processor," enclose the full
keyword in double quotation marks. Quotation marks are optional for single keywords, like server.
NOTE: For clusters, ensure that the cluster and its members are defined in the hosts file.
1. Select OptionsDiscovery. The Discovery page appears
2. Under the For all automatic discoveries section, click Manage hosts files. The Manage Hosts Files
page appears.
3. Click New to create a new hosts file. The New Hosts File section appears.
4. (Required) In the Name field, enter a name for the new hosts file.
5. Under Initialize contents with, select one of the following:
Sample host file. This option loads the contents into the Contents window.
Systems loaded from the central management server, sorted by:. This option loads the
systems managed by HP SIM into the Contents window. 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.
Systems loaded from hosts file. This option reads the contents of the specified file and displays
it in the Contents window. Enter the file name and location (for example, c:\ doc.txt), or
click Browse to locate the hosts file. Click Browse to search for a file.
6. If you did not select Sample hosts file, click Initialize Now to install the hosts file. Otherwise, enter
the contents of the hosts file in the Contents section. Simple or FQDN host names can be entered in
the hosts file. However, no range of host names is allowed.
7. 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/
112 Discovery and identification