Reading the documentation of MongoDB about how to configure a master-slave configuration of a cluster (our cluster will have more than 12 nodes, so unfortunately we can't have a replica-set configuration), how can I promote a slave to master without having to stop any process?
Is there any command we can use, like the slaveof command of Redis which allows us to promote a slave to master without the need to restart the process?
This is what we found on MongoDB documentation (http://docs.mongodb.org/manual/core/master-slave/):
To permanently failover from a unavailable or damaged master (A in the following example) to a slave (B):
Shut down A. Stop mongod on B. Back up and move all data files that begin with local on B from the dbpath. Warning Removing local.* is irrevocable and cannot be undone. Perform this step with extreme caution. Restart mongod on B with the --master option. Note This is a one time operation, and is not reversible. A cannot become a slave of B until it completes a full resync.
Is this really the only way?