[DOCS-865] "deploy sharded cluster" tutorial incorrectly suggests mongos performs replset auto-discovery when using standalone syntax Created: 08/Dec/12  Updated: 17/Dec/12  Resolved: 17/Dec/12

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: J Rassi Assignee: Ed Costello
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

latest master as of writing (2.3.2-pre-, hash 5e5afe90d148fb93d4c0b05470681d57de5bc3e9)


Participants:
Days since reply: 11 years, 9 weeks, 5 days ago

 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>,...."
}



 Comments   
Comment by auto [ 14/Dec/12 ]

Author:

{u'date': u'2012-12-14T22:13:31Z', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: merge: DOCS-865
Branch: master
https://github.com/mongodb/docs/commit/3033a9ac40167d85c39500f896659bc69610d8d6

Comment by auto [ 14/Dec/12 ]

Author:

{u'date': u'2012-12-14T21:07:52Z', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: merge: DOCS-865
Branch: master
https://github.com/mongodb/docs/commit/ff72e49acf559a17389ea95b0b2848c27abffc5e

Comment by auto [ 14/Dec/12 ]

Author:

{u'date': u'2012-12-11T21:35:23Z', u'email': u'epc@10gen.com', u'name': u'Ed Costello'}

Message: DOCS-865 cleanup formatting errors
Branch: master
https://github.com/mongodb/docs/commit/abf93587030c18172fa33c547a7fe34b20ba9a06

Comment by auto [ 14/Dec/12 ]

Author:

{u'date': u'2012-12-11T21:08:25Z', u'email': u'epc@10gen.com', u'name': u'Ed Costello'}

Message: DOCS-865 correct addShard syntax
Also took the opportunity to do some copy editing and add
some additional links.
Branch: master
https://github.com/mongodb/docs/commit/cf23dbedc59b94d2c0c6b86fb4b7da9a04b6a8e0

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