MongoDB Documentation, Release 3.0.4 9.3 Replica Set Tutorials The administration of replica sets includes the initial deployment of the set, adding and removing members to a set, and configuring the operational parameters and properties of the set. Administrators generally need not intervene in failover or replication processes as MongoDB automates these functions. In the exceptional situations that require manual interventions, the tutorials in these sections describe processes such as resyncing a member. The tutorials in this section form the basis for all replica set administration. Replica Set Deployment Tutorials (page 602) Instructions for deploying replica sets, as well as adding and removing members from an existing replica set. Deploy a Replica Set (page 603) Configure a three-member replica set for production systems. Convert a Standalone to a Replica Set (page 614) Convert an existing standalone mongod instance into a three-member replica set. Add Members to a Replica Set (page 616) Add a new member to an existing replica set. Remove Members from Replica Set (page 618) Remove a member from a replica set. Continue reading from Replica Set Deployment Tutorials (page 602) for additional tutorials of related to setting up replica set deployments. Member Configuration Tutorials (page 620) Tutorials that describe the process for configuring replica set members. Adjust Priority for Replica Set Member (page 620) Change the precedence given to a replica set members in an election for primary. Prevent Secondary from Becoming Primary (page 621) Make a secondary member ineligible for election as primary. Configure a Hidden Replica Set Member (page 623) Configure a secondary member to be invisible to appli- cations in order to support significantly different usage, such as a dedicated backups. Continue reading from Member Configuration Tutorials (page 620) for more tutorials that describe replica set configuration. Continue reading from Replica Set Maintenance Tutorials (page 628) for descriptions of additional replica set maintenance procedures. The following tutorials provide information in deploying replica sets. 9.3.1 Replica Set Deployment Tutorials Troubleshoot Replica Sets (page 646) Describes common issues and operational challenges for replica sets. For ad- ditional diagnostic information, see FAQ: MongoDB Diagnostics (page 779). Change Hostnames in a Replica Set (page 642) Update the replica set configuration to reflect changes in members’ hostnames. Force a Member to Become Primary (page 631) Force a replica set member to become primary. Resync a Member of a Replica Set (page 633) Sync the data on a member. Either perform initial sync on a new member or resync the data on an existing member that has fallen too far behind to catch up by way of normal replication. Change the Size of the Oplog (page 628) Increase the size of the oplog which logs operations. In most cases, the default oplog size is sufficient. Replica Set Maintenance Tutorials (page 628) Procedures and tasks for common operations on active replica set deployments. 602 Chapter 9. Replication