Preparations

Prior to installation, execute the following preparatory steps:

Procedure 2.1. Modifying /etc/hosts with YaST

  1. On one SLES 10 server, open YaST, and in left column, select Network Services+Hostnames.

  2. 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.

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

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

  5. To check if hostname resolution is functioning properly, ping the node name (host alias) you specified in Step 2 .

Procedure 2.2. Configuring the Heartbeat Servers for Time Synchronization

Time synchronization will not start unless the date and time on the cluster servers is already close. To manually set the date and time on cluster servers, use the date command at the command line of each cluster server to view, and if necessary change, the date and time for that server.

To configure the nodes in the cluster to use the time server as their time source proceed as follows:

  1. On a cluster server, start YaST, click Network Services, then click NTP Client.

  2. Choose to have the NTP daemon start during boot and then enter the IP address of the time server you configured.

  3. Click Finish and reboot this server to ensure the service starts correctly.

  4. Repeat Step 1 through Step 3 on the other non-time server nodes in the cluster.

  5. Reboot all cluster nodes. After rebooting the nodes, time should be synchronized properly.

  6. To check if time synchronization is functioning properly, run the ntpq -p command on each cluster node. Running the ntpq -p command on a non-time server node will display the server that is being used as the time source.


SUSE Linux Enterprise Server Heartbeat Guide 10 SP2