Cannot connect to Correct Replica Set

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?

40%20PM

I think I may know the problem. From the last chapter, I was playing around with the replica sets. I might had removed them by mistake. Need to re-add them with rs.add()