- 手动:准备安装
- 步骤 1:为离线安装配置符合 OCI 的注册表
- 步骤 2:配置外部对象存储
- 步骤 3:配置 Microsoft SQL Server
- 步骤 4:配置负载均衡器
- 步骤 5:配置 DNS
- 步骤 6:配置磁盘
- 步骤 7:配置节点端口
- 步骤 8:应用其他设置
- 步骤 10:验证并安装所需的 RPM 包
- 步骤 11:生成 cluster_config.json
- 证书配置
- 数据库配置
- 外部对象存储配置
- 预签名 URL 配置
- 符合 OCI 的外部注册表配置
- Disaster Recovery:主动/被动配置
- 特定于 Orchestrator 的配置
- Insights 特定配置
- Process Mining 特定配置
- Document Understanding 特定配置
- Automation Suite Robot 特定配置
- 监控配置
- 可选:配置代理服务器
- 可选:在多节点 HA 就绪生产集群中启用区域故障恢复
- 可选:传递自定义 resolv.conf
- 可选:提高容错能力
- install-uipath.sh 参数
- 为集群启用 Redis High Availability Add-on
- 添加具有 GPU 支持的专用代理节点
- 连接 Task Mining 应用程序
- 为 Task Mining 添加专用代理节点
- 为 Automation Suite Robot 添加专用代理节点
- 步骤 13:为离线安装配置临时 Docker 注册表
- 步骤 14:验证安装的先决条件
将数据迁移到新集群
仅限离线
-
将源集群上运行的 Docker 注册表与您计划升级到的版本对应的捆绑包结合使用。确保在您在
/uipath
装载点上将 UiPath 捆绑包磁盘附加到其中的源集群的服务器计算机上下载as.tar.gz
。首选位置为/uipath/<new_version>/as.tar.gz
。 -
创建一个临时位置以解压缩捆绑包。
mkdir -p /uipath/tmp
mkdir -p /uipath/tmp -
将源集群 Docker 注册表与最新的离线捆绑包结合使用。
./configureUipathAS.sh registry upload --offline-bundle /uipath/<new_version>/as.tar.gz --offline-tmp-folder /uipath/tmp
./configureUipathAS.sh registry upload --offline-bundle /uipath/<new_version>/as.tar.gz --offline-tmp-folder /uipath/tmp
您可以在将集群置于维护模式之前运行数据迁移脚本,以减少停机期间的迁移时间。
克隆源集群数据库
-
You can allow the installer to create the new databases with the default names during the infrastructure and fabric installation. For details, see Configuring the Microsoft SQL Server.
-
If your database names are different, you must delete the databases created by the installer, copy the databases from the source SQL Server to the new SQL Server, and retain the database names.
-
If you choose to change the name of the database in the new SQL Server, you must carefully edit the
cluster_config.json
file for each product you install.
-
确保在源集群上获取新的安装程序,以将数据迁移到新的目标集群。请按照下载安装包并在计划触发迁移的源集群的一个服务器节点上的计算机上获取它们中的步骤操作。
-
将源集群置于维护模式:
./configureUiPathAS.sh enable-maintenance-mode
./configureUiPathAS.sh enable-maintenance-mode重要提示:停机时间现在开始。
-
使用您的首选方法将数据库复制到目标集群。 例如,您可以使用复制数据库向导。
克隆源集群数据
-
通过运行以下命令,获取目标集群的
target_kubeconfig
文件以执行数据迁移:./configureUiPathAS.sh kubeconfig get --migration
./configureUiPathAS.sh kubeconfig get --migration注意:需要target_kubeconfig
文件才能获取目标集群内对象存储的信息并执行目标版本所需的数据复制。 -
将生成的文件复制到源集群。在数据迁移期间,您需要使用此文件。
-
通过在源集群上运行数据迁移脚本,将数据从源集群复制到目标集群。
cd /opt/UiPathAutomationSuite/<new_version>/installer/bin uipathctl cluster migration run cluster_config.json --target-kubeconfig <target_kubeconfig> --versions versions.json
cd /opt/UiPathAutomationSuite/<new_version>/installer/bin uipathctl cluster migration run cluster_config.json --target-kubeconfig <target_kubeconfig> --versions versions.json备注:- 先前的迁移命令具有幂等性。如果命令由于网络连接问题而在两者之间失败,您可以重新运行它,并且系统将从中断的位置继续执行迁移过程。
- (可选)您可以通过再次运行迁移命令来执行数据迁移的差异同步。
-
如果您在源集群中使用外部对象存储,请克隆对象存储桶。