[SERVER-16698] sharding configdb Created: 31/Dec/14  Updated: 24/Jan/15  Resolved: 23/Jan/15

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 2.2.3
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: qing cao Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

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?



 Comments   
Comment by Ramon Fernandez Marina [ 08/Jan/15 ]

caoqing, I'm not quite sure I understand your question. Do you have an existing sharded cluster and are you trying to add a new config server? Or just run another mongos to your cluster running of the same config servers?

Generated at Thu Feb 08 03:41:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.