Chapter 7: A Sample Heartbeat Configuration


The last chapter introduced the three configuration files used to control the operation of Heartbeat: ha.cf, haresources, and authkeys. The recipe in this chapter describes how to use these files on two servers, or nodes, so that Heartbeat can deploy resources in a high-availability configuration.

In a normal Heartbeat configuration, these files will be the same on the primary and the backup server (complex and subtle problems can be introduced into your high-availability configuration if they are not). The recipe in this chapter is a lab exercise that demonstrates how the Heartbeat system starts resources and fails them over to a backup server.

Recipe

List of ingredients:

  • 2 servers running Linux (each with two network interface cards and cables)

  • 1 crossover cable (or standard network cables and a mini hub) and/or a serial cable

  • 1 copy of the Heartbeat software package (from http://www.linux-ha.org/download or the CD-ROM)



The Linux Enterprise Cluster. Build a Highly Available Cluster with Commodity Hardware and Free Software
Linux Enterprise Cluster: Build a Highly Available Cluster with Commodity Hardware and Free Software
ISBN: 1593270364
EAN: 2147483647
Year: 2003
Pages: 219
Authors: Karl Kopper

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net