Home > database >  How to set up account master-slave replication
How to set up account master-slave replication

Time:10-04

Master-slave replication of how to set up account
Mongod. Exe -- -- dbpath d: \ mongo \ data - master - bind_ip 127.0.0.2, 127.0.0.1 - auth

CodePudding user response:

It seems that if - auth to start the server, from server, has been have no jurisdiction,

CodePudding user response:

- master this configuration can be abandoned does not support automatic switch
To replicate set configuration method

Use the key to keep the master-slave synchronization
  • Related