Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
-
latest master as of writing (2.3.2-pre-, hash 5e5afe90d148fb93d4c0b05470681d57de5bc3e9)
Description
From http://docs.mongodb.org/manual/tutorial/deploy-shard-cluster/#add-shards-to-the-cluster
sh.addShard( "sfo30.example.net" )
|
sh.addShard( "sfo40.example.net" )
|
If sfo30.example.net and sfo40.example.net are members of a replica set, MongoDB will discover all other members of the replica set.
|
But, when I follow along:
mongos> sh.addShard("target1host")
|
{
|
"ok" : 0,
|
"errmsg" : "host is part of set: rs use replica set url format <setname>/<server1>,<server2>,...."
|
}
|