Although Heartbeat is very flexible, and has many options, it is very easy to configure a simple Linux-HA (Heartbeat) system quickly and easily - particularly for R1-style (haresources) configurations.
There have been numerous articles written in various magazines on setting up Heartbeat. See the PressRoom 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 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.
In these examples, the server names for our cluster 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 ServiceAddresses to run services on will be 220.127.116.11 and 18.104.22.168, which are on the 22.214.171.124/24 subnet with the default route pointing to 126.96.36.199.
The following basic configurations will be covered:
Shared Disk configurations
IBM ServeRAID configurations
As of now, this information is for R1-style clusters.