William Jiang

JavaScript,PHP,Node,Perl,LAMP Web Developer – http://williamjxj.com; https://github.com/williamjxj?tab=repositories

Mongoctl: for MongoDB Replica Set.

Mongoctl: MongoDB Replica Set Clusters

According to mongoctl website:

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

Following the instruction, I installed it in CentOS 6.3 like this:

$ mkdir tools && cd tools
$ git clone https://github.com/pypa/pip.git
$ cd pip
$ sudo python setup.py install
$ type pip
$ sudo pip install mongoctl
// then:
$ mongoctl list-servers
$ mongoctl status MyServer

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: