How to Create Master & Slave Setup on Mongodb by Two Different Servers?

The terms master and slave are not appropriate anymore.

You need to setup a replica set with 3 servers. Look at the following for well written information

1 Like