- 概述
- 要求
- 部署模板
- 手动:准备安装
- 手动:准备安装
- 步骤 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 日志记录
- 将 Ceph 退出只读模式
- 如何清理存储在 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 时丢失数据
- 单节点升级在结构阶段失败
- 由于 Ceph 运行状况不佳,升级失败
- 卷无法装载,且仍处于附加/分离循环状态
- 由于 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 支持捆绑包
- 探索日志
步骤 4:在 Automation Suite 中合并组织
使用 Automation Suite 中的 UiPath.OrganizationMigrationApp 工具将独立产品中的组织合并到 Automation Suite。
移动身份组织数据会将组织数据从独立的 Identity 数据库复制到 Automation Suite Identity 数据库。然后,在合并时会将迁移的数据(包括用户和组)与您在 Automation Suite 中创建的组织相结合。
迁移工具输入
运行 UiPath.OrganizationMigrationApp 工具时,您必须提供以下详细信息:
- 独立产品组织 ID 列表
- Automation Suite 的组织 ID 列表
有关更多详细信息,请参阅“迁移工具参数” 。
确保使用与步骤 1:将 Identity 组织数据从独立移动到 Automation Suite 中标识的组织 ID 相同的组织 ID。
适用于 Linux
请务必遵循所选 Shell 工具的一般转义说明。 例如,在 Bash 中,您必须在特殊字符之前添加 \ 。
要在 Automation Suite 中合并组织,请运行以下命令:
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s '<list of tenant IDs of the standalone product separated by comma, e.g. tenantID1,tenantID2>' -d '<list of organization IDs of Automation Suite separated by comma, e.g. orgID1,orgID2>'
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s '<list of tenant IDs of the standalone product separated by comma, e.g. tenantID1,tenantID2>' -d '<list of organization IDs of Automation Suite separated by comma, e.g. orgID1,orgID2>'
- 确保为输入中的源 SQL 连接和目标 SQL 连接字符串添加
TrustServerCertificate=True。 - 如果您要合并多个组织对,请确保独立产品的组织 ID 序列与 Automation Suite 的组织 ID 序列匹配。
- 如果您将一个独立租户迁移到所有租户的 Automation Suite 组织,则可针对所有迁移运行一次命令。但是,如果您将多个独立租户迁移到一个 Automation Suite 组织,则您必须单独为每个租户运行该命令,因为您可能需要解决租户之间的用户冲突。以下示例显示了如何单独为每个租户运行命令:
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant1' -d 'orgId1'
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant2' -d 'orgId1'
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant3' -d 'orgId1'
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant1' -d 'orgId1'
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant2' -d 'orgId1'
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant3' -d 'orgId1'
有关在将多个独立租户迁移到单个 Automation Suite 组织时如何解决用户冲突的说明,请参阅解决用户冲突。
。
要在 Automation Suite 中合并组织,请运行以下命令:
./UiPath.OrganizationMigrationApp merge -i "<identity database connection of Automation Suite>" -o "<restored orchestrator DB in Automation Suite connection string>" -s "<list of tenant IDs of the standalone product separated by comma, e.g. tenantID1,tenantID2>" -d "<list of organization IDs of Automation Suite separated by comma, e.g. orgID1,orgID2>"
./UiPath.OrganizationMigrationApp merge -i "<identity database connection of Automation Suite>" -o "<restored orchestrator DB in Automation Suite connection string>" -s "<list of tenant IDs of the standalone product separated by comma, e.g. tenantID1,tenantID2>" -d "<list of organization IDs of Automation Suite separated by comma, e.g. orgID1,orgID2>"
- 确保为输入中的源 SQL 连接字符串和目标 SQL 连接字符串添加
TrustServerCertificate=True。 - 如果您要合并多个组织对,请确保独立产品的组织 ID 序列与 Automation Suite 的组织 ID 序列匹配。
- 如果您将一个独立租户迁移到所有租户的 Automation Suite 组织,则可针对所有迁移运行一次命令。但是,如果您将多个独立租户迁移到一个 Automation Suite 组织,则您必须单独为每个租户运行该命令,因为您可能需要解决租户之间的用户冲突。以下示例显示了如何单独为每个租户运行命令:
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant1' -d 'orgId1'
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant2' -d 'orgId1'
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant3' -d 'orgId1'
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant1' -d 'orgId1'
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant2' -d 'orgId1'
./UiPath.OrganizationMigrationApp merge -i '<identity database connection of Automation Suite>' -o '<restored orchestrator DB in Automation Suite connection string>' -s 'tenant3' -d 'orgId1'
有关如何解决将多个独立产品租户迁移到单个 Automation Suite 组织时的用户冲突的说明,请参阅解决用户冲突。
合并预期
用户
迁移到 Automation Suite 后,只有来自独立 Orchestrator 的用户才能访问 Orchestrator。
下表提供了对多种迁移方案及其对用户影响的深入了解:
| 条件 | 源用户是否提供了电子邮件地址? | 目标用户是否拥有电子邮件地址? | 源用户的电子邮件地址是否与目标用户的电子邮件地址相同? | 源用户名与目标用户名是否相同? | 结果 |
|---|---|---|---|---|---|
| 1 | ✅ | ✅ | ❌ | ❌ | 源用户已移至目标组织;目标组织用户有权访问独立的 Orchestrator。 |
| 2 | ✅ | ✅ | ❌ | ✅ | 源用户将移至目标组织;目标组织用户有权访问独立 Orchestrator。合并后,两个用户具有相同的用户名,并且他们必须使用电子邮件地址才能登录。 |
| 3 | ✅ | ✅ | ✅ | ✅ 或 ❌ | 源用户与目标用户合并;目标用户有权访问独立的 Orchestrator。 |
| 4 | ❌ | ❌ | 不适用 | ❌ | 源用户已移至目标组织;目标组织用户有权访问独立的 Orchestrator。 |
| 5 | ❌ | ❌ | 不适用 | ✅ | 源用户与目标用户合并;目标用户有权访问独立的 Orchestrator。 |
| 6 | ✅ | ❌ | 不适用 | ❌ | 源用户已移至目标组织;目标组织用户有权访问独立的 Orchestrator。 |
| 7 | ✅ | ❌ | 不适用 | ✅ | 您必须手动为目标用户配置电子邮件地址或移除目标用户。如果配置电子邮件地址,则源用户将与目标用户合并,而目标用户将有权访问独立的 Orchestrator。如果删除目标用户,则源用户将移至目标组织,并且目标组织用户可以访问独立的 Orchestrator。 |
| 8 | ❌ | ✅ | 不适用 | ❌ | 源用户已移至目标组织,而目标组织用户有权访问独立的 Orchestrator。 |
| 9 | ❌ | ✅ | 不适用 | ✅ | 您必须将目标用户的电子邮件地址配置为空,或移除目标用户。如果您将电子邮件地址配置为空,则源用户将与目标用户合并,而目标用户有权访问独立的 Orchestrator。如果删除目标用户,则源用户将移至目标组织,并且目标组织用户可以访问独立的 Orchestrator。 |
机器人用户
如果源机器人和目标机器人用户名相同,则系统会为源机器人用户附加用户 ID,并将其移至目标组织。
| 源机器人用户名 | 目标机器人用户名 | 已移动源机器人用户名 |
|---|---|---|
| 同一机器人 | 同一机器人 | sameRobot_47a26d4a-2180-4fdd-8e1e-2379300a1162 |
组
如果源机器人组名称和目标机器人组名称相同,则系统会向源机器人用户附加一个字符串,并将其移至目标组织。
| 源组名称 | 目标组名称 | 已移动源组用户名 |
|---|---|---|
| 同一组 | 同一组 | sameGroup_db39a5c6-f73c-4011-b40e-4ea620fe3d01 |
设置
如果源设置和目标设置具有相同名称,则使用目标的设置值。
合并组织后启用 Insights
如果您迁移 Insights,请在完成合并后登录到每个组织,并为以前在独立 (MSI) 环境中启用了 Insights 的每个租户启用 Insights。
需要此步骤,因为 Automation Suite 在迁移后使用的 Insights 数据库已启用 Insights。如果跳过此步骤,Automation Suite 可能会进入一种状态,其中似乎已为租户启用 Insights,但平台未注册相应的 Insights 实例。
在更新连接字符串之前,在每个租户中启用 Insights。这样做可确保 Insights 正确链接到迁移的数据库,并防止出现配置不一致。
解决用户冲突
将多个独立租户迁移到单个 Automation Suite 组织可能会导致用户冲突。以下示例显示了此类冲突的错误消息:
[03:18:08 WRN] We found users in the target organization have the same email as those from the source organization. If you continue, we will keep the users in the target organization, but none of the application data for the source organization users will be moved.
The format is orgId -> list of emails.
[03:18:08 WRN] 3d8d01e6-3300-4988-87db-071bd8c8e786 -> user22@test.com,user2@test.com,user4@test.com,user3@test.com
[03:18:08 WRN] We found users without emails in the target organization have the same username with the users without emails from the source organization.If you continue, we will keep the users in the target organization, but none of the application data for the source organization users will be moved.
The format is orgId -> list of usernames.
[03:18:08 WRN] 3d8d01e6-3300-4988-87db-071bd8c8e786 -> user1
[03:18:08 INF] Do you want to continue? Type (y/n)
[03:18:08 WRN] We found users in the target organization have the same email as those from the source organization. If you continue, we will keep the users in the target organization, but none of the application data for the source organization users will be moved.
The format is orgId -> list of emails.
[03:18:08 WRN] 3d8d01e6-3300-4988-87db-071bd8c8e786 -> user22@test.com,user2@test.com,user4@test.com,user3@test.com
[03:18:08 WRN] We found users without emails in the target organization have the same username with the users without emails from the source organization.If you continue, we will keep the users in the target organization, but none of the application data for the source organization users will be moved.
The format is orgId -> list of usernames.
[03:18:08 WRN] 3d8d01e6-3300-4988-87db-071bd8c8e786 -> user1
[03:18:08 INF] Do you want to continue? Type (y/n)
您可以通过两种方式解决用户冲突:
- 输入
n以结束合并过程,然后删除 Automation Suite 组织中存在冲突的用户,并再次运行合并命令。选择此选项后,您将丢失已删除用户的信息。 - 输入
y以继续合并过程。选择此选项,即可将所有源用户 ID 替换为目标用户 ID。如果在 Automation Suite 中运行的产品(例如 Insights)引用了用户 ID,您将丢失独立环境中任何合并用户的数据。例如,假设有两个用户:- 一位来自独立环境中的
tenant1的用户名为user1,电子邮件地址为user1@test.com的用户。 - 独立环境中的
tenant2中具有相同用户名和电子邮件地址的另一个用户。
- 一位来自独立环境中的
如果您首先将tenant1合并到 Automation Suite 中的组织,则不会发生冲突。 但是,如果您随后将tenant2合并到同一个 Automation Suite 组织中,则会发生冲突,因为两个用户具有相同的电子邮件地址user1@test.com 。 如果键入y以继续合并过程,您将丢失产品从tenant2中引用的用户数据。
如果组织合并失败
如果组织合并失败,请检查日志。 根据身份迁移或 Orchestrator 迁移是否失败,请执行以下步骤:
身份迁移失败
如果身份迁移失败,您只需修复错误并再次执行组织合并命令。 这将回滚所有更改,因为我们已为 Identity 的操作设置事务。
Orchestrator 迁移失败
如果 Orchestrator 迁移失败,则 Orchestrator 数据库将回滚,但身份数据库不会回滚。 因此,您必须还原身份数据库的备份并替换连接字符串才能使用新数据库。 修复错误后,再次运行组织合并命令。
如果 Orchestrator 迁移失败,请执行以下步骤:
- 还原身份数据库的备份。
-
打开数据库目录的上下文菜单,然后选择“ 导入” “数据层应用程序” 。
-
选择备份数据库文件。
-
输入备份数据库名称。
-
等待流程完成。
-
- 替换身份连接字符串。
`"platform": { "sql_connection_str": "<dotnet connection string>", (added line) "enabled": true, },``"platform": { "sql_connection_str": "<dotnet connection string>", (added line) "enabled": true, },` - 修复错误,然后使用新的平台连接字符串再次运行合并命令。