UiPath Documentation
automation-suite
2.2510
true
Automation Suite on Linux installation guide

Updating the cluster configuration

Reference for cluster configuration changes available after regenerating cluster_config.json in Automation Suite.

After regenerating the cluster_config.json file but before performing the upgrade, you can make various changes, such as updates to the database configuration, certificate configuration, and more. For details, refer to Performing advanced configuration.

Additionally, there are a few service-specific configurations that you must apply before upgrading. To check which changes are required for your Automation Suite cluster, refer to the following scenarios:

  • If you installed Automation Suite 2023.4 or earlier in an offline environment and are upgrading to Automation Suite 2023.10 or later, manually add install_type: offline to the cluster_config.json file.

    {
      "install_type": "offline",
      "fqdn": "<sample_fqdn>",
      ...
    }
    {
      "install_type": "offline",
      "fqdn": "<sample_fqdn>",
      ...
    }
    
  • If Orchestrator is installed on your existing Automation Suite version and you are upgrading from Automation Suite 2022.10, set the following parameter in the cluster_config.json file to consent to blocking classic folder executions. Without consent, the upgrade will fail.

    {
      "orchestrator": {
        "enabled": true,
        "block_classic_executions": true
      }
    }
    {
      "orchestrator": {
        "enabled": true,
        "block_classic_executions": true
      }
    }
    
  • If Apps is installed on your existing Automation Suite version and you are upgrading from Automation Suite 2022.10 or earlier:

    1. Create a database for Apps with the following default name: AutomationSuite_Apps.
    2. If you want to overwrite the default SQL connection string, update the ODBC connection string for the Apps database in the cluster_config.json file.
    {
      "apps": {
        "sql_connection_str": "SERVER=sqlserver.mycompany.com,1433;DATABASE=AutomationSuite_Apps;DRIVER={ODBC Driver 17 for SQL Server};UID=testadmin;PWD=***;MultipleActiveResultSets=False;Encrypt=YES;TrustServerCertificate=NO;Connection Timeout=30;"
      }
    }
    {
      "apps": {
        "sql_connection_str": "SERVER=sqlserver.mycompany.com,1433;DATABASE=AutomationSuite_Apps;DRIVER={ODBC Driver 17 for SQL Server};UID=testadmin;PWD=***;MultipleActiveResultSets=False;Encrypt=YES;TrustServerCertificate=NO;Connection Timeout=30;"
      }
    }
    

    For an example of the ODBC connection string, refer to Database configuration.

  • If AI Center is installed on your existing Automation Suite version and connects to an external Orchestrator:

    1. Copy the Orchestrator certificates to the server node on which you plan to trigger the upgrade. For details, refer to Copy the Orchestrator certificate to the virtual machine.

    2. Update the cluster_config.json file with the following configuration:

      {
        "aicenter": {
          "enabled": true,
          "orchestrator_url": "https://orchestrator.example.com",
          "identity_server_url": "https://orchestrator.example.com/identity",
          "orchestrator_cert_file_path": "/opt/UiPathAutomationSuite/UiPath_Installer/orch.cer",
          "identity_cert_file_path": "/opt/UiPathAutomationSuite/UiPath_Installer/orch.cer",
          "metering_api_key": "test"
        }
      }
      {
        "aicenter": {
          "enabled": true,
          "orchestrator_url": "https://orchestrator.example.com",
          "identity_server_url": "https://orchestrator.example.com/identity",
          "orchestrator_cert_file_path": "/opt/UiPathAutomationSuite/UiPath_Installer/orch.cer",
          "identity_cert_file_path": "/opt/UiPathAutomationSuite/UiPath_Installer/orch.cer",
          "metering_api_key": "test"
        }
      }
      
    3. Ensure that cluster_config.json includes the following parameter:

      {
        "sql_connection_string_template": "DOTNET connection string templates",
        "sql_connection_string_template_odbc": "ODBC connection string templates",
        "pyodbc_sql_connection_str": "***"
      }
      {
        "sql_connection_string_template": "DOTNET connection string templates",
        "sql_connection_string_template_odbc": "ODBC connection string templates",
        "pyodbc_sql_connection_str": "***"
      }
      
  • If Process Mining is installed on your existing Automation Suite version, update the sqlalchemy connection string template for PostgreSQL in the cluster_config.json file:

    • postgresql_connection_string_template_sqlalchemy_pyodbc
    • postgresql+psycopg2://<user>:<password>@<postgresql host>:<postgresql port>/<airflow db name>

    When upgrading from Microsoft SQL Server to PostgreSQL, data migration is not required.

  • If you enabled FIPS, add the fips_enabled_nodes parameter in cluster_config.json. For details, refer to General configuration.

  • If you use an in-cluster registry, both registries.docker.url and registries.helm.url must be empty in cluster_config.json. Both fields must be either all empty or all set.

    {
      "registries": {
        "docker": {
          "url": ""
        },
        "helm": {
          "url": ""
        }
      }
    }
    {
      "registries": {
        "docker": {
          "url": ""
        },
        "helm": {
          "url": ""
        }
      }
    }
    

    Alternatively, the following also works:

    {
      "registries": {}
    }
    {
      "registries": {}
    }
    

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated