Getting Started
Installing ClusterControl and Deploying the World's Top Open Source Databases

1 Step

Install the latest ClusterControl and deploy MySQL, Postgres, MongoDB, Galera Cluster for MySQL, MySQL / Percona Replication

$ wget http://www.severalnines.com/downloads/cmon/install-cc
$ chmod +x install-cc
$ ./install-cc   # as root or sudo user

If you have multiple network interface cards, assign one IP address for HOST variable as per example below:

$ HOST=192.168.1.10 ./install-cc # as root or sudo user
Note
ClusterControl relies on a MySQL server as a data repository for the clusters it manages and an Apache server for the User Interface. The installation script will always install an Apache server on the host. An existing MySQL server can be used or a new MySQL server install is configured for minimum system requirements. If you have a larger server please make the necessary changes to the my.cnf file and restart the MySQL server after the installation.

2 Step

Open your web browser to http://[ClusterControl_host]/clustercontrol and create the default Admin user by entering a valid email address and password.

3 Step

Setup passwordless SSH to all target nodes (ClusterControl and all database nodes). Run following commands on ClusterControl:

$ ssh-keygen -t rsa # press enter on all prompts
$ ssh-copy-id -i ~/.ssh/id_rsa [ClusterControl IP address]
$ ssh-copy-id -i ~/.ssh/id_rsa [Database nodes IP address] # repeat this to all target database nodes
Note
For cloud infrastructure, you may skip this step since all nodes should have been configured with a keypair. Ensure the keypair exists in the ClusterControl node and you are good for the next step.
Attention
If you use a non-root user, then it must be in sudoers on all nodes. Read here for details.