Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Mongo replica set config

$
0
0

I configured a 3 node replica set and uninstalled mongo when my virtual memory limit exceeded then as i was starting my mongo replication I couldn't get these commands to work.

rs.initiate()
rs.reconfig()//with config params

My previous replica set has primary(27017),secondary(27018,27019) After reinstalling I could get secondary to work but my primary is saying

no replica set conf has been found.

I don't understand what actually happened. Either I miss some files or mongo wants me to learn more about it. Please need advice asap.


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>