- 概述
- 要求
- 部署模板
- 手动:准备安装
- 手动:准备安装
- 步骤 2:为离线安装配置符合 OCI 的注册表
- 步骤 3:配置外部对象存储
- 步骤 4:配置 High Availability Add-on
- 步骤 5:配置 SQL 数据库
- 步骤 6:配置负载均衡器
- 步骤 7:配置 DNS
- 步骤 8:配置磁盘
- 步骤 9:配置内核和操作系统级别设置
- 步骤 10:配置节点端口
- 步骤 11:应用其他设置
- 步骤 12:验证并安装所需的 RPM 包
- 步骤 13:生成 cluster_config.json
- 证书配置
- 数据库配置
- 外部对象存储配置
- 预签名 URL 配置
- Kerberos 身份验证配置
- 符合 OCI 的外部注册表配置
- Disaster Recovery:主动/被动和主动/主动配置
- High Availability Add-on 配置
- 特定于 Orchestrator 的配置
- Insights 特定配置
- Process Mining 特定配置
- Document Understanding 特定配置
- Automation Suite Robot 特定配置
- 监控配置
- 可选:配置代理服务器
- 可选:在多节点 HA 就绪生产集群中启用区域故障恢复
- 可选:传递自定义 resolv.conf
- 可选:提高容错能力
- install-uipath.sh 参数
- 添加具有 GPU 支持的专用代理节点
- 为 Task Mining 添加专用代理节点
- 连接 Task Mining 应用程序
- 为 Automation Suite Robot 添加专用代理节点
- 步骤 15:为离线安装配置临时 Docker 注册表
- 步骤 16:验证安装的先决条件
- 手动:执行安装
- 安装后
- 集群管理
- 监控和警示
- 迁移和升级
- 特定于产品的配置
- 最佳实践和维护
- 故障排除
- 如何在安装过程中对服务进行故障排除
- 如何卸载集群
- 如何清理离线工件以改善磁盘空间
- 如何清除 Redis 数据
- 如何启用 Istio 日志记录
- 如何手动清理日志
- 如何清理存储在 sf-logs 存储桶中的旧日志
- 如何禁用 AI Center 的流日志
- 如何对失败的 Automation Suite 安装进行调试
- 如何在升级后从旧安装程序中删除映像
- 如何禁用 TX 校验和卸载
- 如何从 Automation Suite 2022.10.10 和 2022.4.11 升级到 2023.10.2
- 如何手动将 ArgoCD 日志级别设置为 Info
- 如何扩展 AI Center 存储
- 如何为外部注册表生成已编码的 pull_secret_value
- 如何解决 TLS 1.2 中的弱密码问题
- 如何使用证书
- 如何将应用程序日志转发到 Splunk
- 如何从注册表 Pod 中清理未使用的 Docker 映像
- 如何使用集群内对象存储 (Ceph) 收集 DU 使用情况数据
- 如何在离线环境中安装 RKE2 SELinux
- 如何清理 NFS 服务器上的旧差异备份
- 升级 Automation Suite 后重新安装或升级 Insights 时丢失数据
- 单节点升级在结构阶段失败
- 从 2021.10 自动升级后,集群运行状况不佳
- 由于 Ceph 运行状况不佳,升级失败
- 由于空间问题,RKE2 未启动
- 卷无法装载,且仍处于附加/分离循环状态
- 由于 Orchestrator 数据库中的传统对象,升级失败
- 并行升级后,发现 Ceph 集群处于降级状态
- Insights 组件运行状况不佳导致迁移失败
- Apps 服务升级失败
- 就地升级超时
- Docker 注册表迁移卡在 PVC 删除阶段
- 升级到 2023.10 或更高版本后 AI Center 配置失败
- 在离线环境中升级失败
- 升级期间 SQL 验证失败
- 快照-控制器-crds Pod 在升级后处于 CrashLoopBackOff 状态
- Longhorn REST API 端点升级/重新安装错误
- 由于 Insights PVC 大小被覆盖,升级失败
- 预服务脚本执行期间服务升级失败
- 使用 Process Mining 运行高可用性
- 使用 Kerberos 登录时 Process Mining 挖掘失败
- 在 Disaster Recovery 后,DAPR 无法正常用于 Process Mining
- 在集群模式下使用 Redis 配置 Dapr
- 无法使用 pyodbc 格式连接字符串连接到 AutomationSuite_ProcessMining_Warehouse 数据库
- Airflow 安装失败,并显示 sqlalchemy.exc.ArgumentError:无法从字符串“”中解析 rfc1738 URL
- 如何添加 IP 表格规则以使用 SQL Server 端口 1433
- 运行 CData Sync 的服务器不信任 Automation Suite 证书
- 运行诊断工具
- 使用 Automation Suite 支持捆绑包
- 探索日志
- 探索汇总遥测

Linux 版 Automation Suite 安装指南
管理产品
您可以在安装后的任何时候启用和禁用 Automation Suite 中的产品。
为此,您必须访问并更新存储在 /opt/UiPathAutomationSuite 文件夹中的 cluster_config.json 文件,然后重新运行服务安装程序步骤。
您只需从服务器节点执行这些步骤。
步骤 1:更改配置文件中的产品选择
-
更改配置文件中的产品选择。
为此,请导航至
UiPathAutomationSuite文件夹并编辑cluster_config.json。cd /opt/UiPathAutomationSuite nano cluster_config.json #optionally use any favourite editor of your choice.cd /opt/UiPathAutomationSuite nano cluster_config.json #optionally use any favourite editor of your choice. -
在服务列表中,将要启用或禁用的特定服务的
enable标志设置为true或false。请参阅以下单个产品的示例。备注:只需更新
enable标志,即可管理 Action Center 和 Apps。其他产品可能需要额外的步骤来配置安装。有关详细信息,请参阅以下说明。
启用或禁用 Action Center
请参阅以下 cluster_config.json 文件中有关启用或禁用 Action Center 的配置详细信息:
"actioncenter": {
"enabled": "true" //Set to "false" to disable the Action Center
}
"actioncenter": {
"enabled": "true" //Set to "false" to disable the Action Center
}
启用或禁用 Apps
Apps 需要更新 enable 标志和 SQL 数据库。
如果您先前在 cluster_config.json 中为 sql_connection_string_template_odbc 设置了值,则默认数据库名称为 AutomationSuite_Apps。
要更改默认数据库名称,您需要更新 Apps 字段内的 sql_connection_str。这将覆盖 sql_connection_string_template_odbc 中设置的默认数据库和连接字符串模板。
请参阅以下 cluster_config.json 文件中有关启用或禁用 Apps 的配置详细信息:
"apps": {
"enabled": "true" //Set to "false" to disable the Apps
"sql_connection_str": "" ////Optional and only require to override the default database name
}
"apps": {
"enabled": "true" //Set to "false" to disable the Apps
"sql_connection_str": "" ////Optional and only require to override the default database name
}
启用或禁用 AI Center
AI Center 需要更新 enable 标志和 SQL 数据库。
如果您先前在 cluster_config.json 中为 sql_connection_string_template_jdbc 设置了值,则默认的 AI Center 数据库名称为 AutomationSuite_AICenter。
要更改默认数据库名称,您需要更新 AI Center 字段内的 sql_connection_str。这将覆盖sql_connection_string_template_jdbc中设置的默认数据库和连接字符串模板。
-
如果 AI Center 不需要外部 Orchestrator,请参阅以下配置详细信息以在
cluster_config.json中启用或禁用 AI Center:"aicenter": { "enabled": "true", //Set to "false" to disable the AICenter "sql_connection_str": "" //Optional and only required to override the default database name }"aicenter": { "enabled": "true", //Set to "false" to disable the AICenter "sql_connection_str": "" //Optional and only required to override the default database name } -
如果 AI Center 需要外部 Orchestrator,请参阅以下配置详细信息,以在
cluster_config.json中启用或禁用 AI Center:"aicenter": { "enabled": "true", //Set to "false" to disable the AI Center "sql_connection_str": "" //Optional and only required to override the default database name "orchestrator_url": "https://orchestrator.example.com", //Specify the Orchestrator URL for AI Center "identity_server_url": "https://orchestrator.example.com/identity", //Specify the Identiy URL for AI Center "orchestrator_cert_file_path": "/opt/UiPathAutomationSuite/UiPath_Installer/orch.cer", //Specify the path to the Orchestrator certificate "identity_cert_file_path": "/opt/UiPathAutomationSuite/UiPath_Installer/orch.cer", //Specify the path to Identity certificate file "metering_api_key": "test" //Specify the metering API key }"aicenter": { "enabled": "true", //Set to "false" to disable the AI Center "sql_connection_str": "" //Optional and only required to override the default database name "orchestrator_url": "https://orchestrator.example.com", //Specify the Orchestrator URL for AI Center "identity_server_url": "https://orchestrator.example.com/identity", //Specify the Identiy URL for AI Center "orchestrator_cert_file_path": "/opt/UiPathAutomationSuite/UiPath_Installer/orch.cer", //Specify the path to the Orchestrator certificate "identity_cert_file_path": "/opt/UiPathAutomationSuite/UiPath_Installer/orch.cer", //Specify the path to Identity certificate file "metering_api_key": "test" //Specify the metering API key }备注:metering_api_keyis the Document Understanding or AI Units API key from the AI Center cloud account.
要完成安装,请运行以下安装后命令:
./configureUiPathAS.sh aicenter configure --installation-token <identity token>
./configureUiPathAS.sh aicenter configure --installation-token <identity token>
启用或禁用 Automation Hub
要启用 Automation Hub,请在 cluster_config.json 文件的 automation_hub 部分中,将 enabled 标志设置为 true:
"automation_hub": {
"enabled": "true" //Set to "false" to disable Automation Hub
"sql_connection_str": "" //Optional and only require to override the default database name
}
"automation_hub": {
"enabled": "true" //Set to "false" to disable Automation Hub
"sql_connection_str": "" //Optional and only require to override the default database name
}
要禁用 Automation Hub,请在 cluster_config.json 文件的 automation_hub 部分中将 enabled 标志设置为 false。
启用或禁用 Automation Ops
Automation Ops 需要更新 enable 标志和 SQL 数据库。
如果您先前在 cluster_config.json 中为 sql_connection_string_template 设置了值,则 Automation Ops 的默认数据库名称为 AutomationSuite_Platform。
要更改默认数据库名称,您需要更新 Automation Ops 字段内的 sql_connection_str。这将覆盖 sql_connection_string_template 中设置的默认数据库和连接字符串模板。
Automation Ops 与核心平台(包括 Orchestrator)共享一个数据库。如果您在此处更改数据库,则也将更新核心平台的数据库。
请参阅以下 cluster_config.json 中启用或禁用 Automation Ops 的配置详细信息:
"automation_ops": {
"enabled": "true", //Set to "false" to disable the Automation Ops
"sql_connection_str": "" //Optional and only require to override the default database name
}
"automation_ops": {
"enabled": "true", //Set to "false" to disable the Automation Ops
"sql_connection_str": "" //Optional and only require to override the default database name
}
启用或禁用 Automation Suite 机器人
注启用 Automation Suite Robot 之前,请确保您满足要求。
要启用 Automation Suite 机器人,请执行以下步骤:
-
在
cluster_config.json文件中启用asrobots标志。 如果要启用包缓存,请确保也正确配置packagecaching和packagecachefolder标志。{ "asrobots": { "enabled": Boolean, "packagecaching": Boolean, "packagecachefolder": String } }{ "asrobots": { "enabled": Boolean, "packagecaching": Boolean, "packagecachefolder": String } }参数 默认值 描述 packagecachingtrue设置为 true时,机器人使用本地缓存进行包解析。packagecachefolder/uipath_asrobots_package_cache存储包的无服务器代理节点上的磁盘位置。 备注:包缓存可优化流程运行,并使其运行得更快。 NuGet 包从文件系统获取,而不是从 Internet/网络下载。 这需要至少 10GB 的额外空间,并且应分配给专用节点的主机文件系统上的文件夹。
-
如果您使用多节点 HA 就绪生产设置,则必须为 Automation Suite Robot 配置专用代理节点。在单节点评估模式下,附加节点为可选项。有关说明,请参阅为 Automation Suite Robot 添加专用代理节点。
要禁用 Automation Suite 机器人,请禁用cluster_config.json文件中的asrobots标志。
启用或禁用 Data Service
Data Service 需要更新enable标志和 SQL 数据库。
如果您先前在 cluster_config.json 中为 sql_connection_string_template 设置了值,则默认数据库名称为 AutomationSuite_DataService。
要更改默认数据库名称,您需要更新 Data Service 字段中的sql_connection_str 。 这将覆盖sql_connection_string_template中设置的默认数据库和连接字符串模板。
有关在cluster_config.json中启用或禁用 Data Service 的配置,请参阅以下配置详细信息:
"dataservice": {
"enabled": "true", //Set to "false" to disable the Data Service,
"sql_connection_str": "" //Optional and only require to override the default database name
}
"dataservice": {
"enabled": "true", //Set to "false" to disable the Data Service,
"sql_connection_str": "" //Optional and only require to override the default database name
}
启用或禁用 Document Understanding
Document Understanding 需要更新 enable 标志和 SQL 数据库。
如果您先前在 cluster_config.json 中为 sql_connection_string_template_odbc 设置了值,则默认数据库名称为 AutomationSuite_DU_Datamanager。
要更改默认数据库名称,您需要更新 Document Understanding 字段内的 sql_connection_str。这将覆盖 sql_connection_string_template_odbc 中设置的默认数据库和连接字符串模板。
如果您执行离线安装,则还需要下载 Document Understanding 的离线捆绑包。在启用 Document Understanding 之前,请参阅安装和使用 Document Understanding。
请参阅以下 cluster_config.json 中有关启用或禁用 Document Understanding 配置详细信息:
"documentunderstanding": {
"enabled": true,
"sql_connection_str": "***" // dotnet connection string,
"datamanager": {
"sql_connection_str": "***" // odbc connection string
"pyodbc_sql_connection_str": "***" // python sql connection string
}
}
"documentunderstanding": {
"enabled": true,
"sql_connection_str": "***" // dotnet connection string,
"datamanager": {
"sql_connection_str": "***" // odbc connection string
"pyodbc_sql_connection_str": "***" // python sql connection string
}
}
启用或禁用 Insights
Insights 需要更新 enable 标志和 SQL 数据库。
如果您先前在 cluster_config.json 中为 sql_connection_string_template 设置了值,则默认数据库名称为 AutomationSuite_Insights。
要更改默认数据库名称,您需要更新 Insights 字段内的 sql_connection_str。这将覆盖 sql_connection_string_template 中设置的默认数据库和连接字符串模板。
要启用 Insights 实时监控功能,请将 enable_realtime_monitoring 标志设置为 true。
Insights 具有可选的 SMTP 配置,用于接收电子邮件通知。有关更多详细信息,请参阅高级安装体验。
请参阅以下 cluster_config.json 中有关启用或禁用 Insights 的配置详细信息:
"insights": {
"enabled": "true", //Set to "false" to disable the Insights,
"enable_realtime_monitoring": "false", //Set to "true" to enable Insights Real-time monitoring,
"sql_connection_str": "" //Optional and only require to override the default database name
}
"insights": {
"enabled": "true", //Set to "false" to disable the Insights,
"enable_realtime_monitoring": "false", //Set to "true" to enable Insights Real-time monitoring,
"sql_connection_str": "" //Optional and only require to override the default database name
}
启用或禁用 Orchestrator
要启用 Orchestrator,请在cluster_config.json文件中将orchestrator标志设置为true 。
"orchestrator": {
"enabled": "true" //Set to "false" to disable Orchestrator
"sql_connection_str": "" //Optional and only require to override the default database name
}
"orchestrator": {
"enabled": "true" //Set to "false" to disable Orchestrator
"sql_connection_str": "" //Optional and only require to override the default database name
}
要禁用 Orchestrator,请在cluster_config.json文件中将orchestrator标志设置为false 。
启用或禁用 Process Mining
要启用 Process Mining,请对 cluster_config.json 文件做出以下更改:
- 启用
processmining标志。 - 配置以下连接字符串模板:
sql_connection_string_templatesql_connection_string_template_jdbcsql_connection_string_template_odbcsql_connection_string_template_sqlalchemy_pyodbc
- 在多节点 HA 就绪生产安装中,为第二个 SQL Server 添加单独的连接字符串。请注意,在单节点评估安装中,建议使用第二个 SQL Server。有关如何配置第二个 SQL Server 的说明,请参阅Process Mining 的 SQL 要求
"processmining": { "enabled": true, "sql_connection_str": "", // dotnet connection string "sqlalchemy_pyodbc_sql_connection_str": "", "warehouse": { "sql_connection_str": "", "sqlalchemy_pyodbc_sql_connection_str": "" } }"processmining": { "enabled": true, "sql_connection_str": "", // dotnet connection string "sqlalchemy_pyodbc_sql_connection_str": "", "warehouse": { "sql_connection_str": "", "sqlalchemy_pyodbc_sql_connection_str": "" } }
要禁用 Process Mining,请禁用 processmining 标志。
启用或禁用 Task Mining
Task Mining 需要更新 enable 标志和 SQL 数据库。
如果您先前在 cluster_config.json 中为 sql_connection_string_template 设置了值,则默认数据库名称为 AutomationSuite_Task_Mining。
要将名称更改为非默认名称,您可以更新 Task Mining 字段内的 sql_connection_str,以覆盖 sql_connection_string_template 中设置的默认数据库和连接字符串模板
Task Mining 需要一些额外的步骤,包括为 AI 特定的工作负载配置专用的代理节点。
在启用 Task Mining 之前,请参阅 Task Mining 安装部分,为 Task Mining 添加专用代理节点。
请参阅以下 cluster_config.json 中有关启用或禁用 Task Mining 的配置详细信息:
"task_mining": {
"enabled": "true", //Set to "false" to disable the Task Mining,
"sql_connection_str": "" //Optional and only require to override the default database name
}
"task_mining": {
"enabled": "true", //Set to "false" to disable the Task Mining,
"sql_connection_str": "" //Optional and only require to override the default database name
}
取消工作负载污染
如果需要,可以将 Task Mining 节点重新用作代理节点。为此,请运行以下命令:
- 使用
kubectl describe node task-mining_nodename命令检查实际的污点。 - 运行命令
kubectl taint nodes task-mining_nodename task.mining/cpu=present:NoSchedule-。 - 使用
kubectl describe node task-mining_nodename命令检查污点已消失。
启用或禁用 Test Manager
Test Manager 需要更新 enable 标志和 SQL 数据库。
如果您先前在 cluster_config.json 中为 sql_connection_string_template 设置了值,则默认数据库名称为 AutomationSuite_Test_Manager。
要更改默认数据库名称,您需要更新 Test Manager 字段内的 sql_connection_str。这将覆盖 sql_connection_string_template 中设置的默认数据库和连接字符串模板。
请参阅以下 cluster_config.json 中有关启用或禁用 Test Manager 的配置详细信息:
"test_manager": {
"enabled": "true", //Set to "false" to disable the Test Manager,
"sql_connection_str": "" //Optional and only require to override the default database name
}
"test_manager": {
"enabled": "true", //Set to "false" to disable the Test Manager,
"sql_connection_str": "" //Optional and only require to override the default database name
}
步骤 2:运行安装程序以更新新产品配置
更新 cluster_config.json 后,请在安装程序上运行以下命令以更新服务配置:
./install-uipath.sh -i cluster_config.json -o output.json -f -s --accept-license-agreement
./install-uipath.sh -i cluster_config.json -o output.json -f -s --accept-license-agreement