Ridho Kurnia Putra

2026Akasha Wira Internationalpublic

High Availability Cluster

Open in GitHub

Three bare-metal servers where any single one can die without taking the ERP down. Automatic database failover, floating entry point, shared sessions.

The problem

The ERP ran on one machine. Any hardware fault, any kernel update, any disk filling up meant the whole distribution network stopped until someone fixed it by hand. Managed database services were not an option, so redundancy had to be built on hardware we already owned.

Approach

Three bare-metal servers, with every layer given its own way of surviving a node loss rather than relying on one clever trick.

Outcome

Failover was tested by killing machines rather than by reading documentation. Any single server can go down and the cluster keeps serving. Approved for production rollout.

The repository is a documentation repo first: fifteen documents covering every layer, the reasoning behind each choice, and the failure modes, alongside the tuned configs themselves.

All work