Code Monkey home page Code Monkey logo

vagrant's Introduction

ClusterControl Vagrant files

Vagrant files to install the latest released ClusterControl version on Centos/Redhat or Debian/Ubuntu based distributions. The default MySQL root user password on the ClusterControl host is 'root123'.

$ git clone [email protected]:severalnines/vagrant.git

Centos

Launches 1 instance for ClusterControl and 3 instances for DB Nodes.

# Download a base image from HashiCorp. 
# If you want to use an existing or another box then change the Vagrantfile first.
$ vagrant box add bento/centos-7.1
$ cd clustercontrol/centos
$ vagrant up

Ubuntu

Launches 1 instance for ClusterControl and 3 instances for DB Nodes.

# Download a base image from HashiCorp. 
# If you want to use an existing or another box then change the Vagrantfile first.
$ vagrant box add ubuntu/trusty64
$ cd clustercontrol/ubuntu 
$ vagrant up

Default Instances

The default memory allocated for each instance is 768MB.

  • 10.10.10.10 ClusterControl
  • 10.10.10.11 DB 1
  • 10.10.10.12 DB 2
  • 10.10.10.13 DB 3

Setup password-less SSH access for the ClusterControl Controller process

# default password for the vagrant user is 'vagrant' 
$ vagrant ssh vm1

# to all DB nodes copy over the root's public ssh key
[vagrant@n1 ~]$ for h in 10.10.10.11 10.10.10.12 10.10.10.13; do \
sudo cat /root/.ssh/id_rsa.pub | ssh $h "sudo mkdir -p /root/.ssh && \ 
sudo tee -a /root/.ssh/authorized_keys && sudo chmod 700 /root/.ssh && \ 
sudo chmod 600 /root/.ssh/authorized_keys"; \
done;

Open your web browser to http://localhost:8080/clustercontrol

  1. Register your ClusterControl admin user.
  2. Create your database cluster on the available DB nodes by clicking on 'Create Database Cluster'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.