Skip to navigation
Add a mongodb replication set member
11.07.14
add a new replication member: rs.add({_id: 1, host: "mongodb3.example.net:27017", priority: 0, hidden: true}) change a replication member cfg = rs.conf() cfg.members[0].host = "mongo2.example.net" rs.reconfig(cfg)
http://docs.mongodb.org/manual/tutorial/expand-replica-set/
Reply
Anonymous
Information Epoch 1732541047
Avoid captive user interfaces.
Home
Notebook
Contact us