@ -7,12 +7,12 @@ A replica set in MongoDB is a group of mongod processes that maintain the same d
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.
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:
More here:
https://docs.mongodb.com/manual/replication/
https://docs.mongodb.com/manual/replication/
## Quickstart
## Quickstart
< 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" >
This is a quickstart guide of howto use this *LabInstance storage-mongo-replica*
This is a quickstart guide of howto use this *LabInstance storage-mongo-replica*
### HowTo use it
### HowTo use it
@ -20,6 +20,7 @@ This is a quickstart guide of howto use this *LabInstance storage-mongo-replica*
### Default Configuration
### 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 Port: 27017
- Mongo Root Username: swarmlab
- Mongo Root Username: swarmlab
@ -31,7 +32,6 @@ This is a quickstart guide of howto use this *LabInstance storage-mongo-replica*
- Mongo ReplicaSet: rs0
- 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!
### Test it!