The High Availability Kit provides high-availability infrastructure for homelabs that can’t afford downtime. It supports 2-5 nodes with automatic failover.Documentation Index
Fetch the complete documentation index at: https://docs.kombify.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Key Features
Auto Failover
Automatic failover when primary node fails
Load Balancing
Distribute traffic across healthy nodes
Data Replication
Synchronous database replication
Requirements
| Resource | Per Node | Total (2 nodes) |
|---|---|---|
| CPU | 2 cores | 4 cores |
| RAM | 8 GB | 16 GB |
| Storage | 50 GB SSD | 100 GB |
| Network | 1 Gbps | Same subnet |
Architecture
Failover Mechanism
Database Replication
Quick Start
Configuration Reference
Failover Strategies
- Keepalived (Recommended)
- Corosync/Pacemaker
Database HA Modes
| Mode | Description | RPO | RTO |
|---|---|---|---|
async | Async replication | Seconds | ~30s |
sync | Sync replication | Zero | ~30s |
quorum | Quorum commit | Zero | ~30s |
Service Distribution
Network Architecture
Monitoring
Built-in health checks and monitoring:Testing Failover
Constraints
| Constraint | Value | Reason |
|---|---|---|
| Min nodes | 2 | Need backup for HA |
| Max nodes | 5 | Complexity ceiling |
| Same subnet | Required | VRRP/VIP requirement |
| Network | 1 Gbps+ | Replication bandwidth |
Troubleshooting
Split-brain scenario
Split-brain scenario
When nodes can’t communicate but both think they’re primary:
- Check network connectivity between nodes
- Review Keepalived logs:
journalctl -u keepalived - Consider adding a third node for quorum
Replication lag
Replication lag
If replica falls behind:
- Check network bandwidth:
iperf3 -c node-1 - Review PostgreSQL logs for errors
- Consider async replication for high-write workloads
Failover not triggering
Failover not triggering
- Verify Keepalived is running on both nodes
- Check VRRP traffic:
tcpdump -i eth0 vrrp - Review interface configuration
Migration from the Base Kit
Next Steps
Monitoring Setup
Set up comprehensive monitoring
