Deploying MongoDB as a replica set
Deployment model
The following diagram illustrates the deployment model for MongoDB.
If your deployment includes multiple data centers for redundancy, your single replica set spans multiple data centers. For example, you might have a replica set with 5 nodes spanning 3 data centers: two members to Data Center 1, two members to Data Center 2, and one member to Data Center 3. If any data center goes down, the replica set remains writable, as the remaining members can hold an election.
Types of servers
Primary server | Secondary server |
---|---|
|
|
Deployment process
The following table summarizes the process of deploying MongoDB securely in a production environment:
Where to go from here
- If you are installing as non-root in a Linux environment - Requirements-for-a-non-root-user-to-run-the-installer
- Installing-the-User-Experience-patch
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*