Pacemaker, a cluster resource management tool for open source environments, is available as an extension pack for...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
SUSE Linux Enterprise Server (or as a free download in other distributions).
In SUSE Linux Enterprise Server11, you can configure Pacemaker from the Yet another Setup Tool (YaST) utility. Before continuing, though, establish the Secure Shell (or SSH) key-based authentication, synchronize the time and make sure that the names of all cluster nodes can be resolved on every nodes. Also ensure that the Pacemaker High Availability Extension is available on your server. In this article, it's assumed that the ISO file has been downloaded and placed in the SLES 11 file system's root.Step 1: Start YaST to add a node to the cluster.
In the YaST interface, select Software, then Add-On Products. Next, click Add, then select Local ISO Image. After opening the ISO image, accept the License Agreement and click Next to start the installation. Step 2: Installation
From the Software Selection and System Tasks list, select the High Availability software category and click OK. After installation of the software packages, if the Novell Customer Center Configuration window appears, select Configure Later and then click Next to have it disappear. At this point, you can start the Pacemaker configuration from YaST. Step 3: Configuring the cluster
In YaST, select Cluster from the Miscellaneous tab. Next, from the cluster configuration interface, select the network card address that will handle the cluster traffic (in an ideal situation, this would be an independent network interface). Then, specify a Multicast Address for the cluster – after which, every node configured to this address can join the cluster. Typically, if the multicast address is not already in use, you can use addresses between 126.96.36.199 - 188.8.131.52 . In Figure 1, I use 184.108.40.206 as the multicast address.
To keep the configuration simple, don't configure any security settings. You do, however, have to specify that the service starts automatically when booting in the Service tab. Also, within this tab, click Start OpenAIS now to begin the service immediately. Next, click Finish to write the configuration and start the cluster services on this node. To confirm it's operational, open a command prompt with root permissions and issue the crm_mon -i 1 command. At this point, the node should appear online.
Listing 1: Use crm_mon -i 1 to confirm that all cluster nodes you've configured are online
node2:~ # crm_mon -i 1
Last updated: Fri Sep 25 11:27:11 2009
Current DC: node1 - partition with quorum
2 Nodes configured, 2 expected votes
0 Resources configured.
Online: [ node1 node2 ]
Finally, the cluster is fully operational. At this point, repeat this process on all the nodes that you want to add. When setting up a high-availability environment, the last step is to create the resources that will manage Xen virtual machines . We will cover this step in part three of this series.
Dig Deeper on Virtualized clusters and high-performance computing