It is essential that members of the cluster are able to find each other
by name. This is typically achieved by setting up a DNS server or by
modifying the /etc/hosts file on each server in the
cluster. Failure to do this will prevent internal cluster communication
from functioning.
The steps below provide instructions on using YaST to modify the
/etc/hosts file on a SLES 10 server.
On one server, open YaST, and in left column, select .
In the right pane, click .
In the window, click and fill in the necessary information in the pop-up window for one other server in the cluster.
This information includes the IP address, hostname (for example node2.novell.com), and host alias (for example node2) of the other server.
Use node names for host aliases. You can find node names by executing uname -n at a command prompt on each server.
Click , and then repeat
Step 3 to add the other nodes
in the cluster to the /etc/hosts file on this
server.
Repeat Step 1 through Step 4 on each server in your Heartbeat cluster.
![]() | Tip |
|---|---|
You can also ping the node name (host alias) you specified in Step 3 to see if hostname resolution is functioning properly. | |