# How to configure the backup service

**URL:** <https://community.openpbs.org/t/how-to-configure-the-backup-service/2566>\
**Category:** Users/Site Administrators\
**Created:** [April 8, 2021, 5:22pm UTC](https://community.openpbs.org/t/how-to-configure-the-backup-service/2566 "2021-04-08T17:22:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiger871019](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/tiger871019/32/405_2.png) [@tiger871019](https://community.openpbs.org/u/tiger871019)\
**Post date:** [April 8, 2021, 5:22pm UTC](https://community.openpbs.org/t/how-to-configure-the-backup-service/2566/1 "2021-04-08T17:22:05Z")

</div>

Hi everyone, I currently have two PBS\_SERVER one is PBS01 one is PBS02 and three PBS\_NODE cn01~cn03, I want to do the backup mechanism but I don’t know how to configure it.

---

<div class="post-metadata">

**Author:** ![smgoosen](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@smgoosen](https://community.openpbs.org/u/smgoosen)\
**Post date:** [April 8, 2021, 6:43pm UTC](https://community.openpbs.org/t/how-to-configure-the-backup-service/2566/2 "2021-04-08T18:43:01Z")

</div>

Do you mean Failover between the two servers?

---

<div class="post-metadata">

**Author:** ![tiger871019](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/tiger871019/32/405_2.png) [@tiger871019](https://community.openpbs.org/u/tiger871019)\
**Post date:** [April 8, 2021, 7:02pm UTC](https://community.openpbs.org/t/how-to-configure-the-backup-service/2566/3 "2021-04-08T19:02:42Z")

</div>

Yes I would like to know how to configure the failover between services.

---

<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:** [April 10, 2021, 7:13pm UTC](https://community.openpbs.org/t/how-to-configure-the-backup-service/2566/4 "2021-04-10T19:13:21Z")

</div>

Please follow this document: [https://www.altair.com/pdfs/pbsworks/PBSAdminGuide2021.1.pdf](https://www.altair.com/pdfs/pbsworks/PBSAdminGuide2021.1.pdf)  
Section: 9.2 Failover  
PBS Professional 2021.1 Administrator’s Guide AG-399

---

<div class="post-metadata">

**Author:** ![tiger871019](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/tiger871019/32/405_2.png) [@tiger871019](https://community.openpbs.org/u/tiger871019)\
**Post date:** [April 13, 2021, 6:05am UTC](https://community.openpbs.org/t/how-to-configure-the-backup-service/2566/5 "2021-04-13T06:05:38Z")

</div>

Thanks, I’ve figured out how to configure it.

---

<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:** [April 13, 2021, 7:37am UTC](https://community.openpbs.org/t/how-to-configure-the-backup-service/2566/6 "2021-04-13T07:37:22Z")

</div>

There are two ways

- Use PBS Pro inbuilt failover ( you would need two server(Primary & Secondary) and one storage server (with NFS , NFS lock enabled) on which PBS\_HOME is mounted with file locking enabled. It active active configuration, if Primary fails, secondary finds it out and then starts its services using the shared $PBS\_HOME directory (at any one point in time one of the servers is active and writing to PBS\_HOME) - [Failover Setup Issues - #2 by adarsh](https://community.openpbs.org/t/failover-setup-issues/1534/2)
- Integrate with external High Availability solutions
  - [PBS Failover with Pacemaker and Corosync](https://community.openpbs.org/t/pbs-failover-with-pacemaker-and-corosync/2288)

Hope this helps.

---

<div class="post-metadata">

**Author:** ![tiger871019](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/tiger871019/32/405_2.png) [@tiger871019](https://community.openpbs.org/u/tiger871019)\
**Post date:** [April 16, 2021, 8:25am UTC](https://community.openpbs.org/t/how-to-configure-the-backup-service/2566/7 "2021-04-16T08:25:48Z")

</div>

Thank you for your help, I have benefited a lot.
