# Configuration question of PBM for shared cluster

**URL:** <https://forums.percona.com/t/configuration-question-of-pbm-for-shared-cluster/17451>\
**Category:** Percona Backup for MongoDB\
**Created:** [September 14, 2022, 7:50am UTC](https://forums.percona.com/t/configuration-question-of-pbm-for-shared-cluster/17451 "2022-09-14T07:50:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dillonlu](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@Dillonlu](https://forums.percona.com/u/Dillonlu)\
**Post date:** [September 14, 2022, 7:50am UTC](https://forums.percona.com/t/configuration-question-of-pbm-for-shared-cluster/17451/1 "2022-09-14T07:50:35Z")

</div>

Hi all,

I install PBM v1.8. The following are my server config.  
server 1: mongod 27018, config server 27019, mongos 27020  
server 2: mongod 27018, config server 27019, mongos 27020  
server 3: mongod 27018, config server 27019, mongos 27020

All three servers are in the same shared cluster, shard 1; This is a PSS replicat set.  
The purpose is: if necessary, we can add additional servers and create new shared cluster.

After I install PBM 1.8 with rpm package. There is only one pbm-agent.service on each server.  
When I started pbm-agent, the instance could only connect to mongod or confi server on each server. So, the pbm status command show incorrect status. What I do is to create a pbmconfig-agent.service to access config server process. It looks work.

My question is: Is there a way to connect both mongod and config server by one pbm-agent service?

Thanks,  
Dillon

---

<div class="post-metadata">

**Author:** ![Ivan\_Groenewold](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ivan_groenewold/32/6299_2.png) [@Ivan\_Groenewold](https://forums.percona.com/u/Ivan_Groenewold)\
**Post date:** [September 14, 2022, 2:07pm UTC](https://forums.percona.com/t/configuration-question-of-pbm-for-shared-cluster/17451/2 "2022-09-14T14:07:08Z")

</div>

Hello, currently PBM does not support backing up multiple mongod instances running on the same server. Feel free to open a feature request in [jira.percona.com](http://jira.percona.com) though.

---

<div class="post-metadata">

**Author:** ![Dillonlu](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@Dillonlu](https://forums.percona.com/u/Dillonlu)\
**Post date:** [September 15, 2022, 12:32am UTC](https://forums.percona.com/t/configuration-question-of-pbm-for-shared-cluster/17451/3 "2022-09-15T00:32:45Z")

</div>

Hi Igroene,

Thank you for reply. So, in current version, I can only create a sperated service manually to connect to config server in my case. Am I correct?

Thanks,  
Dillon

---

<div class="post-metadata">

**Author:** ![Dillonlu](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@Dillonlu](https://forums.percona.com/u/Dillonlu)\
**Post date:** [September 15, 2022, 12:53am UTC](https://forums.percona.com/t/configuration-question-of-pbm-for-shared-cluster/17451/4 "2022-09-15T00:53:13Z")

</div>

1. [PBM-958](https://jira.percona.com/browse/PBM-958)  
I create an issue. Please check.  
Thanks
