Back to Blog Home
Jul 08, 2008

High Availability Messaging Solution Using AXIGEN, Heartbeat and DRBD

In today’s business environments, we often hear the term ‘high-availability’. Whether a hardware or software solution, we aim for redundancy at all levels, so as to maximize the availability of mission-critical services and operations.

As always, the hardware redundancy is more costly to achieve. Implementing a certain level of redundancy at the hardware layer is usually over ten times more expensive than obtaining the same redundancy only through the software layer. So whenever possible to substitute high-availability at the hardware level with a similar availability at the software level, one should definitely go ahead with it, given the cost-effectiveness of the solution, and especially if the process does not involve any performance drawbacks.

To acquaint you with the architecture of High Availability scenarios for SMBs, we will introduce a cost effective solution based on the integration of the AXIGEN Mail Server and Heartbeat.

1. Introduction

This white paper discusses a high-availability solution for the AXIGEN Mail Server, using the Heartbeat package with DRBD. AXIGEN is a proprietary messaging solution while both Heartbeat and DRBD are open source software released under the GNU Public License (GPL). These software packages can be used together to build scalable and highly available integrated cluster messaging applications on the Linux operating system.

HA Messaging Solution Using AXIGEN

2. Products Overview

  • AXIGEN (/mail-server/isp/) – Leveraging on proprietary technologies SmartProcessing™, UltraStorage™ and GrowSecure™, the AXIGEN Mail Server delivers redundancy at the mail protocol level of a messaging solution, as well as for the actual message container storage.

    AXIGEN is a carrier-class messaging solution with advanced email filtering and routing capabilities, also featuring groupware and advanced collaboration functionalities, and backed up at the same time by around the clock, highly effective technical support.

  • Heartbeat ( – A fundamental part of the High-Availability Linux project, Heartbeat provides core cluster management services, including membership, communication, resource monitoring and management services, IP address takeover etc. Heartbeat version 1.2.3 supports multiple IP addresses and a simple two node primary/secondary model.

    When used with AXIGEN in a cluster environment, multiple Heartbeat pairs, each of them consisting of two nodes, can be configured in order to support larger clusters with the additional help of a layer 4-7 load balancer, a LDAP centralized user database and, of course, AXIGEN proxy nodes. With the newly-released version 2.0.0 of Heartbeat, the two node size limit of the cluster is raised.

  • DRBD ( – It is a block device or disk replication technology that can be viewed as network RAID-1. It can be used effectively to mirror a whole block device via a network onto another block device. Thus, DRBD involves two block devices, one labeled as primary (local) and the other labeled as secondary (remote/backup/standby).

    Every write operation to the primary local device is written to disk and also sent to the other host across the network to be written to the secondary device. The remote host (secondary) writes the data to its configured disk. If the primary node fails, then the secondary node can take over in a typical failover scenario.