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

Add docs for changing replica set name

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual, Server
    • 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

        Activity

          People

            sue.kerschbaumer@mongodb.com Susan Kerschbaumer (Inactive)
            peter.garafano@mongodb.com Peter Garafano (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 14 weeks, 1 day ago