Skip to content

db-art/vagrant

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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'.

About

Vagrant files for ClusterControl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%