WarehousePG Disaster Recovery (whpg-dr) runs on RHEL-compatible Linux and supports NFS and S3-compatible storage repositories, depending on your WarehousePG version.
Platform compatibility
whpg-dr runs on the following operating systems (x86_64 only):
| OS | Versions |
|---|---|
| RHEL | 8, 9 |
| Rocky Linux | 8, 9 |
| AlmaLinux | 8, 9 |
WarehousePG compatibility
whpg-dr supports WarehousePG 6.x and 7.x.
| WarehousePG version | Storage repository |
|---|---|
| 6.x | POSIX (NFS) only |
| 7.x | POSIX (NFS) and S3-compatible |
Storage repository compatibility
whpg-dr supports two storage backends. The storage repository is the only artifact shared between the primary and DR sites. Both clusters must have access to the same repository.
| Backend | WarehousePG version | Requirements |
|---|---|---|
| POSIX (NFS or shared filesystem) | 6.x, 7.x | Path must be mounted read-write on all primary and DR hosts at the same mount point. |
| S3-compatible (AWS S3, MinIO, SeaweedFS) | 7.x only | All primary and DR hosts must have network access to the S3 endpoint. Supports static credentials and the AWS credential chain. |
Hardware sizing
The DR cluster must run the same OS and WarehousePG patch version as the primary. It doesn't need to match the primary in host count, hardware type, or instance size. The segment count must match, but segments can be distributed differently across hosts. Consider that the DR cluster becomes the production cluster on failover, so size it accordingly. Mirrors and the standby coordinator are added after promotion.