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

Homepage

About Us

Contact Us

Legal Info

How To Contribute

Security Issues

18 August 2008 Heartbeat release 2.1.4 is now out Download it and install it!

11 October 2007 NEW educational HA/DR Blog hosted by Alan Robertson

9 April 2007 Check out the Cool Heartbeat Screencasts: Installation, Intro to the GUI Part of the Heartbeat Education project

Last site update:
2008-08-20 19:15:43

Site Designations in Heartbeat

Right now, heartbeat has no conceptual idea about nodes being in different sites.

This page describes a proposal to possibly add site designations into the heartbeat infrastructure.

In this view, every node would then be designated as belonging to a site. In effect site would just be an attribute which can be queried by using the Heartbeat API.

This site information could then be used by quorum plugins and/or quorum tiebreaker plugins.

I momentarily thought about having different deadtimes for same-site and different-site nodes, but that doesn't work - because membership still needs to be computed at once for the entire stretch (or split-site) cluster. This is a limitation of the stretch cluster architecture currently being proposed.

What this means in practice is that local failovers and remote failovers have to have the same deadtime.

But, if this information were provided it could be used. And the place to provide it is at the bottom of the infrastructure.

We currently have a /var/lib/heartbeat/hostcache file which we keep the the nodes currently considered to be part of the cluster in. It would be ideal to add the site information to that same file - since it is automatically kept in sync, and distributed throughout the cluster. One could add a new command, or new options to existing commands to create or modify this information.