Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1089

Replica Set deployment instructions need to make clear that rs.initiate() is only on the primary

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.0
    • Component/s: Server
    • Labels:
      None
    • # Replies:
      2
    • Last comment by Customer:
      true

      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?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sam.kleinman Sam Kleinman (Inactive)
              Reporter:
              kay.kim Kay Kim (Inactive)
              Participants:
              Last commenter:
              Jonathan Dahl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                7 years, 51 weeks, 4 days ago
                Date of 1st Reply: