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 18.104.22.168 and 22.214.171.124, which are on the 126.96.36.199/24 subnet with the default route pointing to 188.8.131.52.
The following basic configurations will be covered:
Shared Disk configurations
IBM ServeRAID configurations
As of now, this information is for R1-style clusters.