For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

Self-Managed Member Configuration Tutorials

The following tutorials provide information on configuring replica set members to support specific operations, such as to provide dedicated backups, to support reporting, or to act as a cold standby.

Warning

Avoid reconfiguring replica sets that contain members of different MongoDB versions as validation rules may differ across MongoDB versions.

Adjust Priority for a Self-Managed Replica Set Member

Change the precedence given to a replica set members in an election for primary.

Prevent a Self-Managed Secondary from Becoming Primary

Make a secondary member ineligible for election as primary.

Configure a Hidden Self-Managed Replica Set Member

Configure a secondary member to be invisible to applications in order to support significantly different usage, such as a dedicated backups.

Configure a Delayed Self-Managed Replica Set Member

Configure a secondary member to keep a delayed copy of the data set in order to provide a rolling backup.

Configure a Non-Voting Self-Managed Replica Set Member

Create a secondary member that keeps a copy of the data set but does not vote in an election.

Convert a Self-Managed Secondary to an Arbiter

Convert a secondary to an arbiter.