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

Add docs for changing replica set name

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: manual, Server
    • Labels:
      None

      Description

      1. Stop all the servers
      2. Start up each server without the -replSet option, pointing at the correct data directory. If the replica set is a shard or config server, you must start the server without shardsvr and configsvr respectively. If we backport this to 3.2, we user must instead include setParameter=recoverShardingState=false and exclude -configSvrmode
      3. Update the local.system.replset doc on each server with the new replica set name. You have to change every server here.
      4. Shut them down again.
      5. Change the /etc/mongod.conf replSet option to the new name on all the servers.
      6. Start them all up with the original options.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sue.kerschbaumer Susan Kerschbaumer (Inactive)
              Reporter:
              peter.garafano Peter Garafano
              Participants:
              Last commenter:
              Kay Kim Kay Kim (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Days since reply:
                4 years, 50 weeks, 2 days ago
                Date of 1st Reply: