Heartbeat is a program that runs specialized scripts automatically whenever a system is
initialized or rebooted. Originally designed for two-node Linux-based clusters, Heartbeat is
extensible to larger configurations.
In a system running Heartbeat, nodes communicate by exchanging packets called "heartbeats" at
the rate of approximately 2 Hz (twice per second). The
name of the program comes from the regularity of the packet exchanges.
When Heartbeat is used in a multi-node system, one machine is designated as the primary node and
the other as the secondary node. If the primary node fails or requires downtime, the
secondary node can take over the primary role. A script called "shoot the
other node in the head (STONITH)" shuts down the primary node before the secondary node comes
online. STONITH prevents "split-brain" operation, with the consequent risk of file corruption, that
could occur if both nodes attempt to play the primary role at the same time.
Heartbeat is commonly bundled with a software component called Distributed Replicated Block
Device (DRBD),
which facilitates the replacement of shared storage systems by networked mirroring.
This was last updated in July 2008
Email Alerts
Register now to receive SearchEnterpriseLinux.com-related news, tips and more, delivered to your inbox.
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy
More News and Tutorials
-
Virtualization can be a boon to high-performance computing on Linux, but administrators of these systems seem leery of the technology. Find out what virtualization can do for HPC. The plummeting hardware costs have brought supercomputer capabilities to small and medium-sized business server-rooms, and virtualization software can create more opportunities. Virtualization can be used in HPC to simplify administration and provisioning,
support mixed HPC loads and migration, conduct soft upgrades and resource scaling and debugging HPC applications.
-
Red Hat has debuted HPC Solution, which layers a high-performance cluster management stack on top of its 64-bit OS, and aims to ease HPC management for users.
-
The University of Arkansas now has courses devoted to Linux on the mainframe. It also has a loaned z900 machine, which it shares, along with compute resources, with other schools.
-
Articles
-
Resources from around the Web