beautypg.com

Avago Technologies Syncro CS 9271-8i User Manual

Page 47

background image

LSI Corporation

- 47 -

Syncro CS 9271-8i Solution User Guide
October 2013

Chapter 3: Creating the Cluster

Creating the Cluster in SuSE Linux Enterprise Server (SLES)

7.

Click Finish.

The following screen appears.

Figure 33 Cluster Setup on Csync2 Tab

8.

To specify the synchronization group, click Add in the Sync Host Group, and enter the local hostnames of all
nodes in your cluster. For each node, you must use exactly the strings that are returned by the hostname
command.

9.

Click Generate Pre-Shared-Keys to create a key file for the synchronization group.

The key file is written to /etc/csync2/key_hagroup. After the key file has been created, you must copy it
manually to node2 of the cluster by performing the following steps:

a.

Make sure the same Csync2 configuration is available on all nodes. To do so, copy the file /etc/csync2/
csync2.cfg

manually to all node2 after you complete cluster configuration in node1.

Include this file in the list of files to be synchronized with Csync2.

b.

Copy the file /etc/csync2/key_hagroup that you generated on node1 to node2 in the cluster, as it is
needed for authentication by Csync2. However, do not regenerate the file on node2; it needs to be the same
file on all nodes.

c.

Both Csync2 and xinetd must be running on all nodes. Execute the following commands on all nodes to make
both services start automatically at boot time and to start xinetd now:

chkconfig csync2 on

chkconfig xinetd on

rcxinetd start

d.

Copy the configuration from node1 to node2 by using the following command:

csync2 -xv

This action places all of the files on all of the nodes. If all files are copied successfully, Csync2 finishes with no
errors.