Skip to content

wpjunior/mongodb-serf-ctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

mongodb-serf-ctl

A controller for mongodb cluster with serf.

Requirements

  • Docker

Instalation

with root user:

cd /usr/bin/
wget https://raw.githubusercontent.com/wpjunior/mongodb-serf-ctl/master/mongodb-serf-ctl
chmod +x mongodb-serf-ctl

Getting started

  1. Build the image (from: https://github.com/wpjunior/mongodb-serf)
mongodb-serf-ctl build
  1. Start first cluster
mongodb-serf-ctl start
  1. show cluster members
mongodb-serf-ctl status
  1. add more one router (mongos)
mongodb-serf-ctl start_router02
  1. add more one replicaset (mongod)
mongodb-serf-ctl start_rs3
  1. connect to mongodb shell
mongodb-serf-ctl shell

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published