mongoctl 0.3.7

Manage MongoDB servers and replica sets using JSON configurations!
mongoctl is a lightweight command-line utility that simplifies the management of MongoDB servers and replica set clusters. It is particularly useful if you maintain many MongoDB environments with lots of configurations to manage.


Usage: mongoctl [< options >] < command > [< command-args >]

A utility that simplifies the management of MongoDB servers and replica set clusters.

 -h, --help show this help message and exit
 -v, --verbose make mongoctl more verbose
 -n, --noninteractive bypass prompting for user interaction
 --yes auto yes to all yes/no prompts
 --no auto no to all yes/no prompts
 --config-root CONFIGROOT
 path to mongoctl config root; defaults to ~/.mongoctl

 Admin Commands:
 install - install MongoDB
 uninstall - uninstall MongoDB
 list-versions - lists all available MongoDB installations on this machine

 Server Commands:
 start - start a server
 stop - stop a server
 restart - restart a server
 status - retrieve status of server
 list-servers - show list of configured servers
 show-server - show server's configuration
 connect - open a mongo shell connection to a server

 Cluster Commands:
 configure-cluster - initiate or reconfigure a cluster
 list-clusters - show list of configured clusters
 show-cluster - show cluster's configuration

See 'mongoctl < command > --help' for more help on a specific command.

The core philosophy behind mongoctl is that all server and cluster configuration be defined declaratively as data, rather than procedurally as code or scripts. So, instead of typing shell commands with lots of options that you can never remember, or writing a bunch of shell scripts hard-coded with hosts, port numbers, and file-system paths, you simply define the universe of servers and clusters with JSON objects and pass them to mongoctl commands.

last updated on:
September 6th, 2012, 21:53 GMT
license type:
MIT/X Consortium License 
developed by:
The Mongolab Team
ROOT \ Database \ Database APIs
Download Button

In a hurry? Add it to your Download Basket!

user rating



Rate it!

Add your review!