ai-center
2023.4
false
- 发行说明
- 在开始之前
- 入门指南
- 安装 AI Center
- 迁移和升级
- 项目
- 数据集
- 数据标签
- ML 包
- 开箱即用包
- 管道
- ML 技能
- ML 日志
- AI Center 中的 Document Understanding™
- AI Center API
- 如何
- 许可
- 基本故障排除指南
AI Center 用户指南
Last updated 2024年10月22日
故障排除
迁移脚本仅用于迁移数据集和 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