How to generate latest version of cluster_config.json in Automation Suite

How to generate the latest version of cluster_config.json in the Automation Suite?

The below command can help generate the latest version of cluster_config.json file:

./configureUiPathAS.sh config get /opt/UiPathAutomationSuite/latest/installer/cluster_config.json

This will generate the latest cluster_config.json file in the following directory(one may opt any other custom location):

/opt/UiPathAutomationSuite/latest/installer/

Use certain flags to solve some purpose:

Flags:

 -i|--input          [Optional] Path to the old cluster_config.json file.

                 If not provided then, you may have to manually add few parameters

 -o|--outpath         [Optional] Path when the file should be stored.

                 If not provided then file will be store in the current directory

 -h|--help          Display help




Example:

./configureUiPathAS.sh config get -i /path/to/old/cluster_config.json -o /opt/UiPathAutomationSuite/latest/installer/cluster_config.json

What the command does:

  1. Retrieves configuration information from the old cluster configuration file (/path/to/old/cluster_config.json).

  2. Extracts and writes this configuration data into the new configuration file located at /opt/UiPathAutomationSuite/latest/installer/cluster_config.json.