# Documentation to Setup Hot DR Cluster for Postgresql

**URL:** <https://forums.percona.com/t/documentation-to-setup-hot-dr-cluster-for-postgresql/31808>\
**Category:** PostgreSQL\
**Created:** [July 25, 2024, 12:09pm UTC](https://forums.percona.com/t/documentation-to-setup-hot-dr-cluster-for-postgresql/31808 "2024-07-25T12:09:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brand05](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@Brand05](https://forums.percona.com/u/Brand05)\
**Post date:** [July 25, 2024, 12:09pm UTC](https://forums.percona.com/t/documentation-to-setup-hot-dr-cluster-for-postgresql/31808/1 "2024-07-25T12:09:45Z")

</div>

I was looking at the Diagram on the Percona Website it shows a Primary and DR site that appears to be a Hot DR cluster. Is there any documentation on how to do a DR site using Postgresql and Alma Linux?

 ![image](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/3X/7/3/732a9b6e088a6664eebc7f9fa6727d59032bbea4.png)

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [July 25, 2024, 1:38pm UTC](https://forums.percona.com/t/documentation-to-setup-hot-dr-cluster-for-postgresql/31808/2 "2024-07-25T13:38:57Z")

</div>

Hi @Brand05,  
AlmaLinux, RockyLinux, CentOS, Ubuntu, doesn’t matter. The documentation is not different depending on your OS. Only perhaps the package manager would be called differently. However, I don’t believe AlmaLinux is one of Percona’s supported operating systems. It will probably work, but we don’t test against that OS so no guarantees.

---

<div class="post-metadata">

**Author:** ![Brand05](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@Brand05](https://forums.percona.com/u/Brand05)\
**Post date:** [July 25, 2024, 1:58pm UTC](https://forums.percona.com/t/documentation-to-setup-hot-dr-cluster-for-postgresql/31808/3 "2024-07-25T13:58:23Z")

</div>

Thanks for your feedback. Is there documentation for any of the Red Hat derivatives that shows how to setup a Hot Standby DR site? I looked around could not find any.

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [July 25, 2024, 2:39pm UTC](https://forums.percona.com/t/documentation-to-setup-hot-dr-cluster-for-postgresql/31808/4 "2024-07-25T14:39:02Z")

</div>

I assume you looked at our documentation?

> **[Percona Distribution for PostgreSQL - Deploying on RHEL or derivatives](https://docs.percona.com/postgresql/16/solutions/ha-setup-yum.html)**
>
> This guide provides instructions on how to set up a highly available PostgreSQL cluster with Patroni on Red Hat Enterprise Linux or CentOS.

---

<div class="post-metadata">

**Author:** ![Brand05](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@Brand05](https://forums.percona.com/u/Brand05)\
**Post date:** [July 26, 2024, 5:50am UTC](https://forums.percona.com/t/documentation-to-setup-hot-dr-cluster-for-postgresql/31808/5 "2024-07-26T05:50:09Z")

</div>

Hi mattewb,

Thank you for your reply!

I’ve already checked out the available documentation and set up a high availability (HA) environment in a lab environment.

I’m trying to create a similar setup with a second data center in mind and synchronize data between the two. I want to make sure the second data center can take over if the first one goes down. I haven’t found specific guidance on how to achieve this.

Is there a recommended approach or additional documentation you can point me to?
