Inventory
The first step will create the inventory and assign the different Regatta modules to different servers. After this step, we will be able to relocate the modules as we prefer.
Start from the initial steps of the script deploy as described in the Scripted Solution section.
When reaching the setup_cluster.sh
command, replace it with the following:
At this point, an inventory file will be created. The file can be found in:
The file will look something like the example below:
You can now change the distribution of the different modules (obviously, you don’t have to). In the example below we will locate a non-RDB module with each of the RDBs:
To install the Regatta client and the available drivers, it is possible to add ‘clients’ to the nodes’ modules map:
Notice that the ‘clients’ key in the modules map must be defined with a number. This number does not have a special purpose for the deployment process, it is there only to keep the map object structure.
Continue to the next step.