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:
Copy
Ask AI
./setup_cluster.sh os devices
At this point, an inventory file will be created. The file can be found in:
Copy
Ask AI
/home/regatta/deploy/ansible/inventory
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:
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.