[DOCS-1089] Replica Set deployment instructions need to make clear that rs.initiate() is only on the primary Created: 04/Feb/13 Updated: 13/Nov/23 Resolved: 07/Feb/13 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | Server |
| Affects Version/s: | None |
| Fix Version/s: | v1.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kay Kim (Inactive) | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Days since reply: | 11 years, 1 week, 6 days ago | ||||||||
| Description |
|
Clarify that the user should run rs.initiate() only on the node that is to be the primary. Reading the steps for the deploy geographically distributed replica set, it is quite unclear whether the user needs to perform the steps for all the nodes and we had a user create 3 primaries. http://docs.mongodb.org/manual/tutorial/deploy-geographically-distributed-replica-set/ 2) Open a mongo shell connected to this host: ## Exactly what is meant by this host?### 3) Use rs.initiate() to initiate a replica set consisting of the current member and using the default configuration: — And, on this page 3) Open a mongo shell and connect to the first mongod instance. In a new shell session, enter the following:
|
| Comments |
| Comment by auto [ 07/Feb/13 ] |
|
Author: {u'date': u'2013-02-07T22:50:33Z', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}Message: |
| Comment by Sam Kleinman (Inactive) [ 07/Feb/13 ] |
|
I'm making some changes so that this is more clear. I don't want to establish a connection between running rs.inititate and a member being primary... Cheers, |