[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:
Related
related to SERVER-22287 Merging replica sets with replication... Closed
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/
1) On each system start the mongod process by issuing a command similar to following:...

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
http://docs.mongodb.org/manual/tutorial/deploy-replica-set/, on step 3,

3) Open a mongo shell and connect to the first mongod instance. In a new shell session, enter the following:

    1. Shouldn't we clarify that by "first mongod instance", we mean the node that you want to be primary?


 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: DOCS-1089: clarification to replica set initiation process
Branch: master
https://github.com/mongodb/docs/commit/e8eefb55f0df20371970a36a6592fd2cfb4dedb3

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,
sam

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