Linux-HA Logo

Getting Started With Heartbeat Version 1 (haresources) Configurations

Although Heartbeat[1] is very flexible, and has many options[2], it is very easy to configure a simple Linux-HA (Heartbeat) system quickly and easily - particularly for R1-style (haresources[3]) configurations.

There have been numerous articles written in various magazines on setting up Heartbeat. See the PressRoom[4] for links to those articles.

In this article we will give you a few simple configurations you can set up to help you get started. People new to high-availability systems will want to build a basic single IP address configuration[5] just to see it all work and build confidence. It's definitely cool to see it work for the first time, and realize how easy it is to set up.

Sample Cluster Configuration

In these examples, the server names for our cluster[6] will be paul and silas. The cluster is assumed to send heartbeats on both the eth0 and eth1 ethernet interfaces. The IP addresses which will be used as ServiceAddress[7]es to run services on will be 1.2.3.4 and 1.2.3.5, which are on the 1.2.3.0/24 subnet with the default route pointing to 1.2.3.254.

The following basic configurations will be covered:

See Also

Configuring Heartbeat[2], Getting Started with Linux-HA (Heartbeat)[31], Getting Started With Heartbeat Version 2[32]

Caveats

As of now, this information is for R1-style clusters.


References

[1]http://www.linux-ha.org/HeartbeatProgram
[2]http://www.linux-ha.org/ConfiguringHeartbeat
[3]http://www.linux-ha.org/haresources
[4]http://www.linux-ha.org/PressRoom
[5]http://www.linux-ha.org/GettingStarted/OneIPAddress
[6]http://en.wikipedia.org/wiki/Computer_cluster
[7]http://www.linux-ha.org/ServiceAddress
[8]http://www.linux-ha.org/GettingStarted/TwoIPaddresses
[9]http://www.linux-ha.org/GettingStarted/Apache
[10]http://www.linux-ha.org/GettingStarted/TwoApaches
[11]http://www.linux-ha.org/SharedDisk
[12]http://www.linux-ha.org/GettingStarted/SharedDisk
[13]http://www.linux-ha.org/GettingStarted/ApacheWithSharedDisk
[14]http://www.linux-ha.org/GettingStarted/Db2WithSharedDisk
[15]http://www.linux-ha.org/GettingStarted/Db2AndApacheWithSharedDisk
[16]http://www.linux-ha.org/GettingStarted/NFSWithSharedDisk
[17]http://www.linux-ha.org/ServeRAID
[18]http://www.linux-ha.org/GettingStarted/ServeRAIDSetup
[19]http://www.linux-ha.org/GettingStarted/ServeRAIDHardwareSetup
[20]http://www.linux-ha.org/GettingStarted/OneIPAddressWithServeRAID
[21]http://www.linux-ha.org/GettingStarted/ApacheWithServeRAID
[22]http://www.linux-ha.org/GettingStarted/Db2WithServeRAID
[23]http://www.linux-ha.org/GettingStarted/Db2AndApacheWithServeRAID
[24]http://www.linux-ha.org/GettingStarted/NFSWithServeRAID
[25]http://www.linux-ha.org/DRBD
[26]http://www.linux-ha.org/GettingStarted/DRBD
[27]http://www.linux-ha.org/GettingStarted/ApacheWithDRBD
[28]http://www.linux-ha.org/GettingStarted/Db2WithDRBD
[29]http://www.linux-ha.org/GettingStarted/Db2AndApacheWithDRBD
[30]http://www.linux-ha.org/GettingStarted/NFSWithDRBD
[31]http://www.linux-ha.org/GettingStarted
[32]http://www.linux-ha.org/GettingStartedV2


This information provided courtesy of the Linux-HA project at http://linux-ha.org/