This site best when viewed with a modern standards-compliant browser. We recommend Firefox Get Firefox!.

Linux-HA project logo
Providing Open Source High-Availability Software for Linux and other OSes since 1999.

USA Flag UK Flag

Japanese Flag


About Us

Contact Us

Legal Info

How To Contribute

Security Issues

This web page is no longer maintained. Information presented here exists only to avoid breaking historical links.
The Project stays maintained, and lives on: see the Linux-HA Reference Documentation.
To get rid of this notice, you may want to browse the old wiki instead.

1 February 2010 Hearbeat 3.0.2 released see the Release Notes

18 January 2009 Pacemaker 1.0.7 released see the Release Notes

16 November 2009 LINBIT new Heartbeat Steward see the Announcement

Last site update:
2020-07-16 13:11:32

HA Newbie

So, you're a Newbie when it comes to High-Availability (HA)? Maybe you even feel like a clueless newbie?

Nothing wrong with that! Everybody was a newbie once, and some of us could use a clue or two on important things to this very day!

Being a newbie can be hard, and a powerful tool like Heartbeat can be pretty intimidating.

So, what do you need to know to get from an intimidated newbie who doesn't know much, to someone who actually knows how to do something useful with Heartbeat?

Hopefully, we'll present that here. Stay with us and see if you agree.

The method to our madness

Heartbeat can be largely managed from a GUI, or it can be managed using command line tools. Because we're trying to get you to doing something useful as soon as we can, this section concentrates on the GUI way of doing things. In subsequent sections, we'll tend to present more and more of what has to be done with text files or command line tools. So, if you're a traditional UNIX command line geek, hang on, we'll get there soon enough.

We'll also try and provide examples with text, and screencast video and audio as appropriate so that you stand the best chance of staying awake long enough to move on to the next stage ;-).

What do you need to do?

Here are a few things you likely need to or want to know how to do at this level, in order to get to the next level. The good news is that they're not hard to do.

  1. Install Heartbeat and Start It Up ( Screencast)

  2. Create an IP address resource ( Screencast, PDF)

  3. Create a resource group with an IP address a filesystem mount, and a web server

  4. Create a second resource group with a different filesystem, a database with a different IP address

  5. Understand what a single point of failure is and how to avoid some of the more common ones

Once you've done these things, you'll be much less intimidated, and will have made good progress on your way to Kicking Ass.

Install Heartbeat

  • Install from RPMs
  • Compile and install from source - making an RPM along the way (optional)

  • Configure a 2-node cluster - using bcast in
  • Configure a 2-node cluster - using mcast, and setting autojoin any in (optional)

  • Configuring logging
    • Learn to read the logs.
    • References: ha_logd documentation, syslog man page, syslog-ng man page.

Start It Up

  • Start it up, look at log files, look at crm_mon
  • References: crm_mon man page.

Create an IP address resource

IP address Screencast page, (screencast as PDF)

Create a resource group with an IP address and a web server

  • GUI already started, create a group with IP address and web server

Create a second resource group with a database with a different IP address

  • GUI already started, starting from previous configuration

Single Points of Failure

  • Explain what a single point of failure is
  • Give a few examples
  • Show how redundancy solves each of these problems

What's next?

If you can do these things, then you're not really a newbie any more, and hopefully you're a bit less intimidated as well.

There's still a lot to learn about the principles of architecting HA clusters, and also about all the amazing things Heartbeat can do for you.

Now on to the next level!