Hosts file, Manually editing the hosts file – Dell Emulex Family of Adapters User Manual
Page 89

OneCommand™ Manager Application
P010066-01A Rev. A
5. Configuring Discovery
Discovery Using the TCP/IP Access Protocol
89
You can manage many more hosts since TCP/IP access is not constrained by the
boundaries of a fabric or zoning.
True board status (such as link down) is available since the FC path is not
necessary to send a status request to the remote host.
Adapter security in a TCP/IP environment is much more important since many
more hosts are available for management, and TCP/IP access is not affected by
fabrics or zoning.
Discovery of hosts in a TCP/IP environment is not automatic like FC discovery.
You must add the hosts to be managed.
Using TCP/IP, you can add multiple IP addresses for the same host. However,
only one of the IP addresses is used by OneCommand Manager application to
manage the adapters on that host.
Hosts File
The TCP/IP discovery function of the OneCommand Manager application discovery
server relies on a file called the hosts file. This plain text file contains a list of hosts the
utility attempts to discover. The discovery server does not attempt to discover hosts
over TCP/IP through any other mechanisms (such as ping sweeps and broadcasts).
The hosts file is automatically created or modified when you perform any of the
following operations:
Adding a single host from the Add Remote Host window. If the host is
discovered, the OneCommand Manager application adds its IP address and
name to the host file.
Scanning a range of IP addresses for hosts that can be managed. This function is
performed in the Add Remote Hosts window. For each discovered host, the
OneCommand Manager application adds its IP address and name to the host
file.
Removing a host from the host file using the Remove Remote Hosts window.
For each removed host, the OneCommand Manager application removes its IP
address and name from the host file.
Adding or removing a host using the CLI.
Manually Editing the Hosts File
You can open the hosts file with any text editor, modify the contents and save the file.
The name of the host file is “hbahosts.lst”. Once the file is modified and saved, the
updated file is used after the next TCP/IP discovery cycle is complete. If the discovery
server is running, it does not need to be restarted.
To manually edit the hosts file:
1. Locate and open the hosts file.
Windows – The file is located on the system drive in the directory “\Program
Files\Emulex\Util”.
Solaris – The file is located in the directory “/opt/ELXocm”.
Linux – The file is located in the directory “/usr/sbin/ocmanager”.