# Postgesql version failover

**URL:** <https://community.openpbs.org/t/postgesql-version-failover/3974>\
**Category:** Users/Site Administrators\
**Created:** [August 28, 2024, 1:13pm UTC](https://community.openpbs.org/t/postgesql-version-failover/3974 "2024-08-28T13:13:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![boboshaq](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@boboshaq](https://community.openpbs.org/u/boboshaq)\
**Post date:** [August 28, 2024, 1:13pm UTC](https://community.openpbs.org/t/postgesql-version-failover/3974/1 "2024-08-28T13:13:18Z")

</div>

Hi!  
I was upgraded secondary host (to new release of operating system) which was in failover configuration. Now I can not start datastore on secondary. I have: " pbs\_status\_db exit code 1" error .  
Do they need the same postgresql versions on both hosts?  
How to diagnose where the problem lies?

The Primary node is with postgresql 10.23  
The secondary node has postgresql 13.16 installed.

---

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [August 29, 2024, 12:15pm UTC](https://community.openpbs.org/t/postgesql-version-failover/3974/2 "2024-08-29T12:15:49Z")

</div>

If you could share more about your failover setup and how it is configured and setup?. The community members can share their experiences and feedback.

It is always recommended to have both the failover pairs to have the exact same configuration and version of application softwares and operating system.
