mongodb replicate-set with 3 servers but only 2 locations -


i have 3 x mongodb nodes configured 1 shard (1 x primary , 2 x secondary) have 2 data centers. if host 1 x node in datacentera , 2 x nodes in datacenterb , datacenterb down. can have anyway node in datacentera perform both read write instead of in read-only mode , once other nodes online clusters can retained?

understand best practice have third location host each of node in 1 location if have 2 x locations available have way make option work?

thanks lot.

yes can removing node in data center replica set , starting standalone node. can add node once other servers in replica set up.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -