UiPath Documentation
ai-center
2.2510
true
AI Center 用户指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

故障排除

AI Center 租户数据迁移问题的解决方案,包括脚本先决条件和迁移后数据处理。

创建租户

在运行迁移脚本之前,需要在 Automation Suite 环境中创建租户。

重新运行迁移

迁移脚本仅用于迁移数据集和 ML 包一次。在极少数情况下,迁移完成后在来源环境中添加了一些额外的数据集或 ML 包,那么在这种情况下,需要重新运行迁移。在重新运行迁移之前,在目标数据库中运行以下命令:

delete from [ai_pkgmanager].[ml_package_versions_temp];

delete from [ai_pkgmanager].[projects] where tenant_id in ('T1','T2',...);

delete from [ai_pkgmanager].[ml_packages] where tenant_id in ('T1','T2',...);

delete from [ai_pkgmanager].[ml_package_versions] where tenant_id in ('T1','T2',...);

delete from [ai_trainer].[datasets] where tenant_id in ('T1','T2',...);
delete from [ai_pkgmanager].[ml_package_versions_temp];

delete from [ai_pkgmanager].[projects] where tenant_id in ('T1','T2',...);

delete from [ai_pkgmanager].[ml_packages] where tenant_id in ('T1','T2',...);

delete from [ai_pkgmanager].[ml_package_versions] where tenant_id in ('T1','T2',...);

delete from [ai_trainer].[datasets] where tenant_id in ('T1','T2',...);
备注:

上面查询中的`T1``T2` 、... 是目标环境中的租户 UUID。这些是在运行迁移脚本./mastermigrationscript.sh input.json时传递的input.json文件中提到的DESTINATION_TENANT_ID 。您可以使用以下命令重新运行迁移:

cd ~/migration/ai-customer-scripts/platform/sfmigration/
./mastermigrationscript.sh input.json
cd ~/migration/ai-customer-scripts/platform/sfmigration/
./mastermigrationscript.sh input.json

克隆的包

迁移后,来源环境中的克隆 ML 包将在 Automation Suite 环境中标记为 VALIDATION_FAILED。迁移完成后,需要在目标环境中再次克隆这些包。

备注:

在这种情况下,克隆的包是指来自UiPath™开源包 的包。

  • 创建租户
  • 重新运行迁移
  • 克隆的包

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新