Manage multiple instances of MongoDB on multiple hosts with one command line tool
Warning: No production ready, need more tests. Please share your feedbacks :)
- Deal with many hosts (nodes) via SSH
- Create instances of
MongoDB
on nodes - Remote start/stop instances
- Check status of your instances
- Replica Set
You must have MongoDB binaries on all nodes, see: http://www.mongodb.org/downloads for download.
pip install mongoSuite
pip install git+https://github.com/william-p/mongoSuite.git
Usage:
mongoSuite init [--verbose]
mongoSuite node list [--verbose]
mongoSuite node status [<node>] [--verbose]
mongoSuite instance list [--verbose]
mongoSuite instance status [<instance>] [--verbose]
mongoSuite instance [start|stop|restart|reset] <instance> [--verbose]
mongoSuite replSet list [--verbose]
mongoSuite replSet status [<replSet>] [--verbose]
mongoSuite replSet [start|stop|restart] <replSet> [--verbose]
mongoSuite replSet init <replSet> [--verbose]
mongoSuite -h | --help
For init configuration file, you can run:
mongoSuite init
Now, you can configure mongoSuite
on ~/mongoSuite/etc/mongoSuite.conf
todo
todo
todo
todo
Thanks to:
License is AGPL3, it fully compatible with Canopsis
. See LICENSE.