Select Page

Creating MongoDB replica set with Arbiter

1) Install MongoDB on local machine https://docs.mongodb.com/manual/installation/ 2) Create data directories for each replicate set root@prakash:~/mongo# mkdir primary root@prakash:~/mongo# mkdir secondary root@prakash:~/mongo# mkdir arbiter root@prakash:~/mongo# ls...