cd /opt/denovo_v6/dnl_cloud_tool/conf/
vi dnl_cloud_tool.conf:
# (M) String used to identify this server
server_name dnl-host-server ← Change this name for each server dnl_software is running on (for switching part and api/ui one) so it identifies every server that is running .
# Default: connect to Unix-domain socket
pgsql_hostaddr 127.0.0.1 ← address of the postgresql server
pgsql_user postgres ← username for database
#pgsql_pass password ← Password if required (also remove # from the line)
Dnl_cloud_tool also needs to be configured to the ip address accessible to the UI/api part For this at the time of writing this instructions, values in database table needs to be changed: Table name dnl_cloud_status, each running instance of dnl_cloud_tool will be shown here in the table along with some data, for example:
In this table server ip needs to be changed to the ip address that is accessible from the server which hosts api/UI.
Sql for this is update table dnl_cloud_status set server ip = ‘your ip’ where server_name = ‘server_name’ ; (in this example dnl-host-server, but this name is defined in the dnl_cloud_tool config and it should be different for each dnl_cloud_tool instance.