I cannot connect to a secondary replica member. Or the right replica set configured in the .conf file. Each time I connect to 27012, I’m dumped into a mongo shell that looks like:
m103-example:OTHER >
It should look like this:
m103-repl:SECONDARY>
$ mongod -f node2.conf
$ mongo --port 27012 -u “m103-admin” -p “m103-pass” --authenticationDatabase “admin”
Where is the “m103-example” replica set coming from? From the “/etc/hosts” file?
