I have a master and slave on Linux (centOS 7). The rs.initiate(cfg) was done, but its shows the below output when trying to add secondary via rs.add:
genienational:PRIMARY> rs.add("localhost.localdomain:27017")
{
"ok" : 0,
"errmsg" : "The hosts test.appraisergenie.com:27017 a
nd localhost.localdomain:27017 all map to this node new co
nfiguration version 2 for replica set genienational",
"code": 103
}
genienational:PRIMARY> use local
switched to db local

How do I resolve?
Version: The master is on Enterprise. I think 3.2 and the slave is on 2.6.