-
Type:
Question
-
Resolution: Incomplete
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.2.3
-
Component/s: Sharding
-
None
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
hi:
I recently came across a question. I want to add another configdb to the sharding cluster, but when I start mongos with the new configuration. AN error occers:
start process:
/usr/local/mongodb/bin/mongos --configdb=10.14.40.82:10015,10.14.40.151:10015,10.14.40.152:10015 --logpath=/data/mongo/log/mongos/mongos.log --fork --logappend --port=10013
error messageļ¼
Wed Dec 31 09:58:17 uncaught exception: error: {
"$err" : "could not initialize sharding on connection 10.14.40.77:10016 :: caused by :: mongos specified a different config database string : stored : 10.14.40.82:10015 vs given : 10.14.40.82:10015,10.14.40.151:10015,10.14.40.152:10015",
"code" : 15907
}
I want to know how can i add a new configdb?