@ -2,12 +2,12 @@
A replica set in MongoDB is a group of mongod processes that maintain the same data set. Replica sets provide redundancy and high availability, and are the basis for all production deployments.
< img align = "right" width = "300" height = "300" src = "https://git.swarmlab.io:3000/swarmlab/storage-mongo-replica/raw/branch/master/images/replica-set-read-write-operations-primary.bakedsvg.png" >
##Replication in MongoDB
A replica set is a group of mongod instances that maintain the same data set. A replica set contains several data bearing nodes and optionally one arbiter node.
< img align = "right" width = "300" height = "300" src = "https://git.swarmlab.io:3000/swarmlab/storage-mongo-replica/raw/branch/master/images/replica-set-read-write-operations-primary.bakedsvg.png" >
More here:
https://docs.mongodb.com/manual/replication/
@ -20,7 +20,6 @@ This is a quickstart guide of howto use this *LabInstance storage-mongo-replica*
### Default Configuration
< img align = "right" width = "500" height = "300" src = "https://git.swarmlab.io:3000/swarmlab/storage-mongo-replica/raw/branch/master/images/replica-set-primary-with-two-secondaries.bakedsvg.png" >
- Mongo Port: 27017
- Mongo Root Username: swarmlab
@ -32,6 +31,7 @@ This is a quickstart guide of howto use this *LabInstance storage-mongo-replica*
- Mongo ReplicaSet: rs0
< img align = "right" width = "500" height = "300" src = "https://git.swarmlab.io:3000/swarmlab/storage-mongo-replica/raw/branch/master/images/replica-set-primary-with-two-secondaries.bakedsvg.png" >
### Test it!