I have a five member replica set running at AWS. I have added a hidden replica to the set (the “snapshot replica”). The snapshot replica’s mongo databases are stored on an EBS volume. Once a day it shuts down mongo for a few seconds and initiates a snapshot.
I’d like to verify my snapshots. I want to start up a new mongo instance attached to the snapshot. (Let’s call it “the validator”)
I can do this. The problem is that it still has it still has it’s replica set configuration.
I would like to somehow purge the replica settings before starting mongod, so that there is no possiblity of something replication related going wrong. (e.g. accidentally turning every replica into a master running on 127.0.0.1:27017).
How would I do this, or do something equivalent to ensure that “the validator” never speaks to the active replica set?
Thank you for any help,