Inventory
The Regatta Deployment Tool works by expanding theconfig.json file into a complete cluster.config . The first step in the deployment creates an inventory file, and assigns the different Regatta modules to the nodes described in the config.json.
The RDT can be executed with the
--help flag to view the available sub-commands that can be executed.config.json file as described in the configuration page. Then, continue with the cluster setup steps, and when you reach the point of executingsetup_cluster.sh, run it with the following sub-commands:
ansible directory where the script resides:
clients to the nodes modules map:
Configuration
The second step creates all the Regatta configuration files. During this step, it is possible to edit thecluster.config file for any Regatta module and change the module-specific parameters, such as dedicated RAM capacity.
Continue by running:
distributecommand - Copies the RPM packages from the host where the script is executed to each of the cluster nodes/servers.rpmcommand - Installs the RPM packages on each node/server.configcommand - Generates acluster.configfile, copies it to each node/server, and appends the module-specific section for each module on the cluster.
Editing Common Cluster Parameters
At this stage, it is also possible to edit thecommon section of the cluster.config file. To do so, edit the cluster.config file in the Ansible directory located in the same folder as the deployment script:
update_config command:
cluster.config file to each node/server in the cluster and append the module-specific section for each module.
Editing Module-Specific Parameters
Once the script execution with either theconfig or update_config commands is done, you can connect to any of the cluster nodes/servers via SSH to edit the cluster config file for any module. For further details, follow the steps in the configuration section and apply the desired changes.
Note that the script has opened the ports that appear in the configuration files for all Regatta modules prior to this stage. If you decide to change ports, you will also need to update the firewall before executing the next step.
Start
Lastly, starting the cluster using the script can be done by running:stop_cluster and start_cluster commands:
clean_install command to run a full deployment including removing any previous installations of Regatta on the cluster:
clean_install command is useful when switching between Regatta distributions, and can also resolve installation errors during the execution of the RDT.