UiPath Documentation
automation-suite
2024.10
false
Automation Suite on Linux installation guide

Updating the cluster configuration

Reference for cluster configuration changes available after regenerating cluster_config.json before upgrading 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 and you want to use the latest version of Airflow, which requires PostgreSQL, update the sqlalchemy connection string template for PostgreSQL in the cluster_config.json file. For Automation Suite 2024.10.3 or higher, PostgreSQL is the recommended option for the Airflow database.

    • 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 Process Mining is not installed on your existing Automation Suite version and you want to use the latest version of Airflow, which requires PostgreSQL, add the sqlalchemy connection string template for PostgreSQL in the cluster_config.json file. For Automation Suite 2024.10.3 or higher, PostgreSQL is the recommended option for the Airflow database.

    • postgresql_connection_string_template_sqlalchemy_pyodbc
    • postgresql+psycopg2://<user>:<password>@<postgresql host>:<postgresql port>/DB_NAME_PLACEHOLDER

    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 have configured the additional-ca-certs file in a previous version of Automation Suite and are upgrading to any version from Automation Suite 2024.10.0 up to 2024.10.3, update cluster_config.json with the path to your additional-ca-certs file.

    {
      "server_certificate": {
        "ca_cert_file": "/opt/UiPathAutomationSuite/UiPath_Installer/rootCA.crt",
        "tls_cert_file": "/opt/UiPathAutomationSuite/UiPath_Installer/server.crt",
        "tls_key_file": "/opt/UiPathAutomationSuite/UiPath_Installer/server.key"
      },
      "additional_ca_certs": "/opt/UiPathAutomationSuite/UiPath_Installer/additional-ca.crt"
    }
    {
      "server_certificate": {
        "ca_cert_file": "/opt/UiPathAutomationSuite/UiPath_Installer/rootCA.crt",
        "tls_cert_file": "/opt/UiPathAutomationSuite/UiPath_Installer/server.crt",
        "tls_key_file": "/opt/UiPathAutomationSuite/UiPath_Installer/server.key"
      },
      "additional_ca_certs": "/opt/UiPathAutomationSuite/UiPath_Installer/additional-ca.crt"
    }
    

    If you do not have the additional-ca-certs file, retrieve it using the following command:

    ./configureUiPathAS.sh additional-ca-certs get > /opt/UiPathAutomationSuite/UiPath_Installer/additional-ca.crt
    ./configureUiPathAS.sh additional-ca-certs get > /opt/UiPathAutomationSuite/UiPath_Installer/additional-ca.crt
    
  • If you use an in-cluster registry and are upgrading to Automation Suite 2024.10.4 or later, 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(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated