← Back to Home

Network Redundancy (High Availability with Uptime Kuma)

Goal

Ensure Uptime Kuma is available 24/7, with automatic failover if the main VM fails, using shared database and virtual IP.

Architecture

Active / Passive Setup

VM Role Status
VM1 MASTER Runs container, holds VIP, writes to shared DB
VM2 BACKUP Container stopped, monitors VIP, takes over on failover

Failover Workflow

If MASTER fails, VIP moves to BACKUP. Backup starts container. When MASTER returns, it preempts BACKUP and resumes service.

Benefits