bin-there-done-that/documents/procedures/planned_db_cluster_ZFS.md

35 lines
2.1 KiB
Markdown

# 🗺️ PostgreSQL High-Availability Architecture with ZFS (Genesis Hosting)
```plaintext
┌──────────────────────────────┐
│ Client Applications │
└────────────┬─────────────────┘
┌─────────────────┐
│ HAProxy │
│ (Load Balancer) │
└────────┬────────┘
┌────────────┴────────────┐
│ │
▼ ▼
┌──────────────┐ ┌──────────────┐
│ Primary Node │ │ Replica Node │
│ (DB Server) │ │ (DB Server) │
└──────┬───────┘ └──────┬───────┘
│ │
▼ ▼
┌──────────────┐ ┌──────────────┐
│ ZFS Storage │ │ ZFS Storage │
│ (RAIDZ1) │ │ (RAIDZ1) │
└──────────────┘ └──────────────┘
│ │
└────────┬────────┬────────┘
│ │
▼ ▼
┌──────────────┐
│ Backup Node │
│ (ZFS RAIDZ1) │
└──────────────┘