-
Type:
Question
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: 1.6.3
-
Component/s: Admin
-
None
-
Environment:macbook
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
Testing replica sets before moving to production.
Started 3 instances of mongod on 3 dbs.
local-idinc is mapped to 127.0.0.1
config =
{
"_id" : "idincrepl",
"members" : [
,
,
{ "_id" : 2, "host" : "local-idinc:10003" } ]
}
> rs.initiate(config);
{
"errmsg" : "couldn't initiate : can't find self in the replset config",
"ok" : 0
}
-----------------------------
Any errors in the configuration?