LXer: MongoDB Replica Set with Master-Slave Replication and Automated Failover
by LXer from LinuxQuestions.org on (#5H914)
Published at LXer:
A replica set is a group of MongoDB database nodes used for defining database clusters with master-slave replication and automated failover. A replica set contains a single primary node, multiple secondary nodes, and an arbiter node. In this post, we will explain how to set up a MongoDB replica set with three nodes. We will also show you how to create an environment, configure authentication between multiple database nodes and finally configure the replication between all nodes.
Read More...


A replica set is a group of MongoDB database nodes used for defining database clusters with master-slave replication and automated failover. A replica set contains a single primary node, multiple secondary nodes, and an arbiter node. In this post, we will explain how to set up a MongoDB replica set with three nodes. We will also show you how to create an environment, configure authentication between multiple database nodes and finally configure the replication between all nodes.
Read More...