Set up test mongod instances with given configurations and replay a target workload on them. The workload applied is in the form of pcap and is captured from a production workload with mongocapture.
git clone https://github.com/adamchel/mongo-replay-tools
cd mongo-replay-tools
# Capture the existing state of the DB
./mongocapture 10.4.117.138 30000 10.4.117.138 30001 --mdir ~/mongodbdl/bin --ssh-port 2222 --net-device eth0
# Modify as desired
cp server_config_example.yml server_config.yml
# Replay the existing state and captured workload on each server in server_config
./mongoreplay --mongod-host=localhost --mongod-port=27017 --server-config=server_config.yml --state-dump=state_dump --workload-file=workload.pcap