# External Arbiter like externalNodes

**URL:** <https://forums.percona.com/t/external-arbiter-like-externalnodes/39253>\
**Category:** Percona Operator for MongoDB\
**Created:** [September 2, 2025, 8:06am UTC](https://forums.percona.com/t/external-arbiter-like-externalnodes/39253 "2025-09-02T08:06:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nick1](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nick1/32/22146_2.png) [@nick1](https://forums.percona.com/u/nick1)\
**Post date:** [September 2, 2025, 8:06am UTC](https://forums.percona.com/t/external-arbiter-like-externalnodes/39253/1 "2025-09-02T08:06:52Z")

</div>

Currently at the organisation I work for we have a 2 cluster mongodb replicaset running on Openshift. It is not using an operator, it is a helm chart which has been modified quite extensively to suit our needs. The replicaset is configured using scripts that run in Openshift using a job, so we are totally free to set it up as we please. We have an arbiter that is running in a 3rd data centre, not kubernetes, a VM with the arbiter running in a podman container. This scenario allows the arbiter to be external to the other Openshift data centres where it can ‘see’ each cluster and help decide the primary host preventing split brains during a failover for example. We have 2 hosts in each cluster plus the arbiter for a total of 5. I have been evaluating Percona Operator for MongoDB using a helm chart for the Percona Server for MongoDB part, I have found it very good and have used Openshift routes to help with the cross cluster communication. I use a managed and unmanaged cluster as advised in the documentation and set the arbiter up in the managed cluster.

My question in regards to Percona Operator for MongoDB is is it possible to add an arbiter as an external host, similar to how it is done with normal voting members that use externalNodes key?

---

<div class="post-metadata">

**Author:** ![nick1](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nick1/32/22146_2.png) [@nick1](https://forums.percona.com/u/nick1)\
**Post date:** [September 20, 2025, 7:39am UTC](https://forums.percona.com/t/external-arbiter-like-externalnodes/39253/2 "2025-09-20T07:39:36Z")

</div>

To give a clearer understanding of where I hope this will go and I am happy to raise a Jira ticket but just wanted to be sure the feature is not already available and perhaps I have missed it.

Given the mongodb manual states “Do not run an arbiter on systems that also host the primary or the secondary members of the replica set.“

> **[Replica Set Arbiter - Database Manual - MongoDB Docs](https://www.mongodb.com/docs/manual/core/replica-set-arbiter/)**
>
> Understand the role of an arbiter in a replica set, including its participation in elections and limitations in data operations.

From a high level I’m thinking this could be done in one of 2 ways e.g

The following would add the `arbiterOnly` key set to `true`, `votes` would need to be set to `1` and `priority` set to `0`

```auto
    externalNodes:
    - host: external-arbiter-host1
      port: 27017
      votes: 1
      priority: 0
      arbiterOnly: true

```

The other way would create a new sections such as -

```auto
    externalArbiter:
    - host: external-arbiter-host1
      port: 27017

```

P.S I have tried adding an arbiter manually using the `rs.addArb()` command and it does get added for a while but I don’t think Operator would keep it there after the pod is deleted or some event refreshes the replicaset back to how it is configured originally.

Thanks for any ideas on this.

---

<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 24, 2025, 11:41am UTC](https://forums.percona.com/t/external-arbiter-like-externalnodes/39253/3 "2025-09-24T11:41:24Z")

</div>

Hi, currently the arbiterOnly tag cannot be used in the externalNodes section. Feel free to open a FR in [Projects - Percona JIRA](https://perconadev.atlassian.net/jira/)

---

<div class="post-metadata">

**Author:** ![nick1](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nick1/32/22146_2.png) [@nick1](https://forums.percona.com/u/nick1)\
**Post date:** [October 10, 2025, 5:26am UTC](https://forums.percona.com/t/external-arbiter-like-externalnodes/39253/4 "2025-10-10T05:26:33Z")

</div>

Thanks, I will do that.
