Navigation
This version will reach end of life on Feb 2018. To upgrade, go to the Learn more about upgrading your version of MongoDB.

rs.addArb()

On this page

Description

rs.addArb(host)

Adds a new arbiter to an existing replica set.

The rs.addArb() method takes the following parameter:

Parameter Type Description
host string Specifies the hostname and optionally the port number of the arbiter member to add to replica set.
←   rs.add() rs.conf()  →