Why HANA needs more than replication

SAP HANA is usually the system the business notices first when it stops. Orders, finance and production often depend on it, so a database outage quickly becomes a business outage.

HANA System Replication (HSR) keeps a secondary system in sync, but replication alone is not high availability. If the primary fails, someone — or something — still has to detect the failure, decide that a takeover is safe, promote the secondary, redirect clients, and restart the application layer in the right order. Done manually, that takes time and invites mistakes under pressure. That gap is what LifeKeeper for SAP HANA is designed to close.

SAP HANA system replication with LifeKeeper heartbeat monitoring and takeover between primary and standby nodes

What LifeKeeper actually does

LifeKeeper monitors the HANA database, its services and the underlying system, and automates the response when something fails:

  • Health monitoring — it checks HANA processes and database status continuously, not just whether the server is up.
  • Automatic takeover — on a confirmed failure, it promotes the HSR secondary in a controlled way, following the configuration you tested in advance.
  • Application awareness — recovery is ordered and dependency-aware, so dependent services are handled in sequence rather than all at once.
  • Protection against split-brain — safeguards and quorum considerations help prevent both systems believing they are primary at the same time, which is the scenario that can corrupt trust in your data.

In short: HSR moves the data. LifeKeeper manages the failure.

The design decisions that matter most

Most HANA HA problems we see are not caused by the software. They come from design decisions that were never fully tested. Before go-live, work through these:

  • Failover or switchover? A planned switchover for maintenance is not the same as an unplanned failover at 2 a.m. Test both, and record how long each actually takes.
  • Where will clients connect? Plan the virtual hostname or IP strategy early, so users and application servers reconnect to the promoted system without manual reconfiguration.
  • What is your RTO and RPO, in writing? Replication mode and network latency determine how much data you could lose and how fast you can recover. Agree the numbers with the business before an incident forces the conversation.
  • What happens on a network partition? A lost heartbeat is not the same as a dead server. Your design must distinguish the two, or you risk an unnecessary — or worse, a duplicate — takeover.
  • Who owns the test? HA that is never tested is an assumption, not a control. Schedule regular failover tests, and treat every failed test as useful information, not embarrassment.

A simple pre-go-live checklist

  1. Confirm your HANA, operating system and LifeKeeper versions are supported together.
  2. Verify HSR is healthy and replication lag is understood, not just “green”.
  3. Test a planned switchover and an unplanned failover, timed, with the application team watching.
  4. Confirm client reconnection works without editing connection settings by hand.
  5. Document the manual fallback procedure for the day automation itself needs help.
  6. Agree who can declare a failover out of hours, and how they will be reached.

None of this is glamorous. It is, however, the difference between a cluster that looks resilient on a diagram and one that has actually recovered in front of witnesses.

The honest catch: HA is not backup, and not DR

LifeKeeper protects availability. It does not replace backup — replication faithfully copies a deletion or corruption to the secondary — and a two-node cluster in one data centre is not disaster recovery for site loss. Treat HA, backup and DR as three separate controls, each with its own test schedule. Our earlier post on planning a Windows Server upgrade under DataKeeper makes the same point from the Windows side: the safe path is the tested path, planned in advance.

Talk to us before you go live

Business Connectivity works on DataKeeper and LifeKeeper clusters every day — upgrades, migrations, split-brain recoveries and the incidents in between. If you are planning SAP HANA high availability, talk to us before go-live, while the design can still be tested and changed, not after the first unplanned outage.

Contact us

Leave a comment

Your email address will not be published. Required fields are marked *