Automation Suite
2022.4
False
横幅背景图像
Automation Suite 安装指南
上次更新日期 2024年4月24日

步骤 4:在 Automation Suite 中合并组织

适用于 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 organization IDs of the standalone product separated by comma, e.g. orgID1,orgID2>' -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 organization IDs of the standalone product separated by comma, e.g. orgID1,orgID2>' -d '<list of organization IDs of Automation Suite separated by comma, e.g. orgID1,orgID2>'
备注:
  • Make sure to add TrustServerCertificate=True for both the source and destination SQL connections in the input.
  • 如果您要合并多个组织对,请确保独立产品的组织 ID 序列与 Automation Suite 的组织 ID 序列匹配。

要在 Automation Suite 中合并组织,请运行以下命令:

./UiPath.OrganizationMigrationApp merge -i "<identity database connection of Automation Suite>" -o "<restored orchestrator DB in Automation Suite connection string>" -s "<list of organization IDs of the standalone product separated by comma, e.g. orgID1,orgID2>" -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 organization IDs of the standalone product separated by comma, e.g. orgID1,orgID2>" -d "<list of organization IDs of Automation Suite separated by comma, e.g. orgID1,orgID2>"
备注:
确保为输入中的源 SQL 连接字符串和目标 SQL 连接字符串添加 TrustServerCertificate=True

迁移工具输入

运行 UiPath.OrganizationMigrationApp 工具时,您必须提供以下详细信息:

  • The list of organization IDs for the standalone product

  • The list of organization IDs for Automation Suite

备注:

合并预期

用户

条件

来源用户是否有电子邮件地址?

目标用户是否有电子邮件地址?

源用户的电子邮件地址是否与目标用户的电子邮件地址相同?

源用户名与目标用户名是否相同?

结果

1

available

available

不可用

不可用

源用户已移至目标组织;目标组织用户有权访问独立的 Orchestrator。

2

available

available

不可用

available

源用户已移至目标组织;目标组织用户有权访问独立的 Orchestrator。

合并后,两个用户使用相同的用户名,并且他们必须使用电子邮件地址登录。

3

available

available

available

available 或者 不可用

源用户与目标用户合并;目标用户有权访问独立的 Orchestrator。

4

不可用

不可用

不适用

不可用

源用户已移至目标组织;目标组织用户有权访问独立的 Orchestrator。

5

不可用

不可用

不适用

available

源用户与目标用户合并;目标用户有权访问独立的 Orchestrator。

6

available

不可用

不适用

不可用

源用户已移至目标组织;目标组织用户有权访问独立的 Orchestrator。

7

available

不可用

不适用

available

您必须手动配置目标用户的电子邮件地址,或删除目标用户。

如果配置电子邮件地址,则源用户将与目标用户合并,并且目标用户有权访问独立的 Orchestrator。

如果删除目标用户,则源用户将移至目标组织,并且目标组织用户有权访问独立的 Orchestrator。

8

不可用

available

不适用

不可用

源用户已移至目标组织,而目标组织用户有权访问独立的 Orchestrator。

9

不可用

available

不适用

available

您必须将目标用户的电子邮件地址配置为空,或删除目标用户。

如果您将电子邮件地址配置为空,则源用户将与目标用户合并,并且目标用户有权访问独立的 Orchestrator。

如果删除目标用户,则源用户将移至目标组织,并且目标组织用户有权访问独立的 Orchestrator。

机器人用户

如果源机器人和目标机器人用户名相同,则源机器人用户将附加用户 ID,并移至目标组织。

源机器人用户名

目标机器人用户名

已移动源机器人用户名

同一机器人

同一机器人

sameRobot_47a26d4a-2180-4fdd-8e1e-2379300a1162

如果源机器人组名称和目标机器人组名称相同,则系统会向源机器人用户附加一个字符串,并将其移至目标组织。

源组名称

目标组名称

已移动源组用户名

同一组

同一组

sameGroup_db39a5c6-f73c-4011-b40e-4ea620fe3d01

设置

如果源设置和目标设置具有相同名称,则使用目标的设置值。

如果组织合并失败

如果组织合并失败,请检查日志。 根据身份迁移或 Orchestrator 迁移是否失败,请执行以下步骤:

身份迁移失败

如果身份迁移失败,您只需修复错误并再次执行组织合并命令。 这将回滚所有更改,因为我们已为 Identity 的操作设置事务。

Orchestrator 迁移失败

如果 Orchestrator 迁移失败,则 Orchestrator 数据库将回滚,但身份数据库不会回滚。 因此,您必须还原身份数据库的备份并替换连接字符串才能使用新数据库。 修复错误后,再次运行组织合并命令。

如果 Orchestrator 迁移失败,请执行以下步骤:

  1. 还原身份数据库的备份。

    1. 右键单击数据库目录,然后选择“ 导入数据层应用程序”
      docs image
    2. 选择备份数据库文件。
      docs image
    3. 输入备份数据库名称。
      docs image
    4. 等待流程完成。
      docs image
  2. 替换身份连接字符串。

    `"platform": {
        "sql_connection_str": "<dotnet connection string>",   (added line)
        "enabled": true, 
    },``"platform": {
        "sql_connection_str": "<dotnet connection string>",   (added line)
        "enabled": true, 
    },`
  3. 修复错误,然后使用新的平台连接字符串再次运行合并命令。

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.