UiPath Documentation
automation-suite
2.2510
true
Linux 版 Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

更新集群配置

有关在 Automation Suite 中重新生成 cluster_config.json 后可用的集群配置更改的参考。

在重新生成cluster_config.json文件之后、执行升级之前,您可以进行各种更改,例如更新数据库配置、证书配置等。有关详细信息,请参阅执行高级配置

此外,在升级前,您必须应用一些特定于服务的配置。要查看您的 Automation Suite 集群需要进行哪些更改,请参阅以下场景:

  • 如果您在离线环境中安装了 Automation Suite 2023.4 或更早版本,并升级到 Automation Suite 2023.10 或更高版本,请手动将install_type: offline添加到cluster_config.json文件中。

    {
      "install_type": "offline",
      "fqdn": "<sample_fqdn>",
      ...
    }
    {
      "install_type": "offline",
      "fqdn": "<sample_fqdn>",
      ...
    }
    
  • 如果 Orchestrator 安装在现有的 Automation Suite 版本上,并且您要从 Automation Suite 2022.10 升级,在cluster_config.json文件中设置以下参数,以同意阻止传统文件夹执行。未经同意,升级将失败。

    {
      "orchestrator": {
        "enabled": true,
        "block_classic_executions": true
      }
    }
    {
      "orchestrator": {
        "enabled": true,
        "block_classic_executions": true
      }
    }
    

    有关详细信息,请参阅特定于 Orchestrator 的配置

  • 如果 Apps 安装在现有 Automation Suite 版本上,并且您要从 Automation Suite 2022.10 或更早版本升级:

    1. 使用以下默认名称为 Apps 创建数据库:AutomationSuite_Apps
    2. 如果要覆盖默认的 SQL 连接字符串,请在cluster_config.json文件中更新 Apps 数据库的 ODBC 连接字符串。
    {
      "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;"
      }
    }
    

    有关 ODBC 连接字符串的示例,请参阅数据库配置

  • 如果 AI Center 安装在现有的 Automation Suite 版本上并连接到外部 Orchestrator:

    1. 将 Orchestrator 证书复制到计划触发升级的服务器节点。有关详细信息,请参阅将 Orchestrator 证书复制到虚拟机

    2. 使用以下配置更新 cluster_config.json 文件:

      {
        "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. 确保 cluster_config.json 包含以下参数:

      {
        "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": "***"
      }
      
  • 如果 Process Mining 安装在现有的 Automation Suite 版本上,请在cluster_config.json文件中更新 PostgreSQL 的sqlalchemy连接字符串模板:

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

    从 Microsoft SQL Server 升级到 PostgreSQL 时,不需要迁移数据。

    有关详细信息,请参阅为已安装的产品提供新的连接字符串

  • 如果您启用了 FIPS,请在cluster_config.json中添加fips_enabled_nodes参数。有关详细信息,请参阅常规配置

  • 如果使用集群内注册表,则cluster_config.json中的registries.docker.urlregistries.helm.url必须为空。这两个字段必须全部为空或全部设置。

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

    或者,也可使用以下方法:

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

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新