Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
1.5
Description
- Stop all the servers
- 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
- Update the local.system.replset doc on each server with the new replica set name. You have to change every server here.
- Shut them down again.
- Change the /etc/mongod.conf replSet option to the new name on all the servers.
- Start them all up with the original options.
Attachments
Issue Links
- duplicates
-
DOCS-2056 Document how to rename a replica set
-
- Closed
-