Skip to content

Manage multiple instances of MongoDB on multiple hosts with one command line tool

License

Notifications You must be signed in to change notification settings

william-p/mongoSuite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mongoSuite

Manage multiple instances of MongoDB on multiple hosts with one command line tool

Warning: No production ready, need more tests. Please share your feedbacks :)

Features

  • Deal with many hosts (nodes) via SSH
  • Create instances of MongoDB on nodes
  • Remote start/stop instances
  • Check status of your instances
  • Replica Set

Requirements

You must have MongoDB binaries on all nodes, see: http://www.mongodb.org/downloads for download.

Installation

From PyPI

pip install mongoSuite

From sources (devel version)

pip install git+https://github.com/william-p/mongoSuite.git

Usage

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

Configuration

For init configuration file, you can run:

mongoSuite init

Now, you can configure mongoSuite on ~/mongoSuite/etc/mongoSuite.conf

Section: [mongoSuite]

todo

Section: [node-]

todo

Section: [instance-]

todo

Section: [replSet-]

todo

Screenshots

Screenshot 01

Screenshot 02

Thanks

Thanks to:

License

License is AGPL3, it fully compatible with Canopsis. See LICENSE.

About

Manage multiple instances of MongoDB on multiple hosts with one command line tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages