This is a guide for quickly getting up and running with ClustrixDB, which can be installed on any system running CentOS 6.X.
On the host where you will be installing ClustrixDB and from a directory which has enough space to store the download the ClustrixDB Installer, which can be requested by visiting the ClustrixDB downloads page.
Unpack the tar file (if required), change to the directory that was created, then run the installer as root
The installer will examine the host and present a recommended configuration for running ClustrixDB. The exact values here will vary based on what is on the local host and may not be appropriate for your installation. To edit any of these values, type in the number on the line you wish to change and edit it to a new value. Pressing return at the prompt will use the default value which will appear in brackets next to the question. For 'Yes/No' questions, '[Y/n]' means 'yes' is default while '[y/N]' means 'no' is the default.
Adjust the configuration to be appropriate for your environment.
Private IP is an internally addressable IP address for the host the nodes will use to communicate with each other and should not be accessible outside of your network. For multihomed hosts with one network meant for client connections, and the other as a "back end" network, the private IP should be on the latter; this is particularly important in cloud environments where a front-end IP may have special routing or filtering rules, or be metered. If your hosts have only one interface/IP, enter that IP here.
Once you are done with customization and configuration, enter " Yes " to accept the license agreement and install ClustrixDB. Once the installation is successful, the installer will output a command line message confirming that the Clustrix Database is now ready for use.
This message will be followed by a command that you can use to install ClustrixDB on other nodes, and the IP address of your current node (which is required to form a cluster with other nodes). If you are building a cluster, be sure to record this information and proceed to install on the other nodes.
You have successfully installed ClustrixDB. Please continue by installing Clustrix on other nodes, or skip this step and proceed with configuring ClustrixDB with the UI Installation Wizard.
If you would like to build a cluster, you will need to install the the same version of ClustrixDB on every host which will be a node in the cluster. There are 3 options for installing ClustrixDB on additional servers:
Run the flex_clone script from a node with ClustrixDB already installed
This copies ClustrixDB installation files and configuration used to install Clustrix to the target node and runs the installer.
Be sure to record the private IP addresses of all of the hosts you will be adding to your cluster and open your web browser to the first web address given on the first host where you installed the ClustrixDB.
Use a web browser to visit the url provided by the installer for one of the nodes, which will take you to the the ClustrixDB Installation Wizard, which will guide you through the rest of the configuration.
The Installation Wizard in the WebUI will prompt you to:
This can be obtained by issuing the following query on the node being used to configure the cluster:
If you chose to configure a single node instance of Clustrix, you are now done and can click through to Start using Clustrix.
Once you have added the hosts to add to the cluster, click on Check nodes to check the status of each host for cluster formation. Once the check is complete click on Start using Clustrix and you will be taken to the Clustrix Insight dashboard.
The last step in setting up ClustrixDB is to verify that NTP is running correctly. NTP is required for for clustered installations.
If you have a mysql client installed on the host you can test the installation after the "Clustrix Database now ready for use" message by connecting with:
When building a cluster, you may need to configure your firewall and routing rules appropriately for your network. For more information on this, please see Network Security with ClustrixDB.