mongorun
mrun, is a utility to quickly set up complex MongoDB test environments
on a local machine, including replica sets and sharded clusters. It was
originally part of the now deprecated mtools collection; however, is now available
as a standalone tool.
The mongorun source code is available on GitHub under an Apache 2.0 license.
Disclaimer
This software is not supported by MongoDB, Inc. under any of their commercial support subscriptions or otherwise. Any usage of mongorun is at your own risk. Bug reports, feature requests and questions can be posted in the Issues section on GitHub.