2.4. Configuring Hostname Resolution

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.

  1. On one server, open YaST, and in left column, select Network Services.

  2. In the right pane, click Hostnames.

  3. In the Host Configuration window, click Add 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.

  4. Click OK, and then repeat Step 3 to add the other nodes in the cluster to the /etc/hosts file on this server.

  5. Repeat Step 1 through Step 4 on each server in your Heartbeat cluster.

[Tip]Tip

You can also ping the node name (host alias) you specified in Step 3 to see if hostname resolution is functioning properly.


SUSE Linux Enterprise Server Heartbeat Guide 10 SP1