- 手动:准备安装
- 步骤 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:验证安装的先决条件
还原备份
还原集群后,系统不会启用快照备份。要在还原后启用它,请参阅启用备份快照。
还原集群不会还原外部数据源,例如 SQL Server、对象存储或符合 OCI 的注册表。请务必将这些数据源还原到相关快照。
要还原集群,请执行以下步骤:
- 在所有服务器节点上安装集群基础架构。您为还原集群提供的硬件必须与备份集群硬件类似。有关详细信息,请参阅硬件和软件要求。
- 在还原的集群上配置快照。
- 选择要还原的快照。
- 还原数据和设置。
步骤 1:安装集群基础架构
准备
- 下载还原安装程序。您可以在
as-installer.zip
包中找到它。有关下载说明,请参阅下载安装包。 - 在离线环境中,您必须提供符合 OCI 的外部注册表或临时注册表。请注意,注册表配置必须与原始集群的配置保持相同。要配置注册表,请参阅以下说明:
- 配置符合 OCI 的外部注册表
- 配置临时 Docker 注册表。仅当您在灾难发生之前未使用符合 OCI 的外部注册表时,请选择此选项。
- 准备配置文件并使其在所有集群节点上可用。要准备配置文件,请执行以下步骤之一:
- 选项 A:重用您在灾难发生之前应用于集群的
cluster_config.json
文件; - 选项 B:创建包含所需参数的最小
cluster_config.json
文件,如以下 示例所示:{ "fixed_rke_address": "fqdn", "fqdn": " fqdn ", "rke_token": "guid", "profile" : "cluster_profile" "external_object_storage": { "enabled": false }, "install_type": "offline or online" }
{ "fixed_rke_address": "fqdn", "fqdn": " fqdn ", "rke_token": "guid", "profile" : "cluster_profile" "external_object_storage": { "enabled": false }, "install_type": "offline or online" }
- 选项 A:重用您在灾难发生之前应用于集群的
下表描述了必须包含在最小 cluster_config.json
文件中的所有参数。确保提供与原始集群中使用的参数值相同的参数值。您可以在还原后更改参数值。
在离线环境中,除了设置下表中列出的 cluster_config.json
参数外,还必须提供符合 OCI 的外部注册表配置。有关详细信息,请参阅符合 OCI 的外部注册表配置。
参数 |
值 |
---|---|
|
Automation Suite 集群的 FQDN。 该值必须与旧的 FQDN 相同。 提供不同的 FQDN 值可能会导致还原失败。 |
|
用于对节点注册和 kube API 请求进行负载均衡的固定地址。 如果已按照建议配置负载均衡器,则该值应与 |
|
在此处使用新生成的 GUID。这是一个预共享的、特定于集群的密码。加入集群的所有节点都需要它。 |
|
设置安装的配置文件。可用的配置文件包括:
|
|
指示您计划执行的安装类型。您的选项包括:
|
cluster_config.json
的更多详细信息,请参阅手动:高级安装体验。
执行
在主还原集群节点上安装集群基础架构
要在主还原集群节点上安装基础架构,请运行以下命令:
cd <installer directory>
./install-uipath.sh -i ../../cluster_config.json -o output.json --restore --accept-license-agreement
cd <installer directory>
./install-uipath.sh -i ../../cluster_config.json -o output.json --restore --accept-license-agreement
cluster_config.json
从主服务器节点复制到剩余服务器/代理节点。主服务器节点上的基础架构安装步骤会添加剩余节点所需的额外值。
在辅助服务器上安装集群基础架构
要在辅助服务器上安装基础架构,请执行以下操作:
cd <installer directory>
./install-uipath.sh -i ../../cluster_config.json -o output.json --restore -j server --accept-license-agreement
cd <installer directory>
./install-uipath.sh -i ../../cluster_config.json -o output.json --restore -j server --accept-license-agreement
在代理节点上安装集群基础架构
要在代理节点上安装基础架构,请执行以下操作:
cd <installer directory>
./install-uipath.sh -i ../../cluster_config.json -o output.json --restore -j agent --accept-license-agreement
cd <installer directory>
./install-uipath.sh -i ../../cluster_config.json -o output.json --restore -j agent --accept-license-agreement
在 Task Mining 节点上安装集群基础架构
要在 Task Mining 节点上安装集群基础架构,请执行以下操作:
cd <installer directory>
./install-uipath.sh -i ../../cluster_config.json -o output.json --restore -j task-mining --accept-license-agreement
cd <installer directory>
./install-uipath.sh -i ../../cluster_config.json -o output.json --restore -j task-mining --accept-license-agreement
在 Automation Suite Robot 节点上安装集群基础架构
要在 Automation Suite Robot 节点上安装集群基础架构,请执行以下操作:
cd <installer directory>
./install-uipath.sh -i ../../cluster_config.json -o output.json --restore -j asrobots --accept-license-agreement
cd <installer directory>
./install-uipath.sh -i ../../cluster_config.json -o output.json --restore -j asrobots --accept-license-agreement
在 GPU 节点上安装集群基础架构
要在 GPU 节点上安装集群基础架构,请执行以下操作:
cd <installer directory>
./install-uipath.sh -i ../../cluster_config.json -o output.json --restore -j gpu --accept-license-agreement
cd <installer directory>
./install-uipath.sh -i ../../cluster_config.json -o output.json --restore -j gpu --accept-license-agreement
步骤 2:在还原的集群上配置快照
安装基础架构后,请配置快照,同时提供最少的数据,例如目标、端点和位置。 这些值将在还原时使用。
要配置已还原集群的备份,请按照配置集群快照部分中的步骤操作。
步骤 3:选择要还原的快照
配置快照后,列出现有快照,并确定要用作还原点的快照。
步骤 4:还原数据和设置
要还原到以前的集群,请使用--from-snapshot <snapshot-name>
标志提供要转换的快照名称。
./configureUiPathAS.sh snapshot restore create --from-snapshot <snapshot name>
./configureUiPathAS.sh snapshot restore create --from-snapshot <snapshot name>
如果不指定快照名称,则集群将还原最新成功的快照。有关可用快照,请参阅快照列表。
在还原的集群上启用 AI Center
在启用 AI Center™ 的情况下还原 Automation Suite 集群后,请按照 在还原的集群上启用 AI Center 过程中的步骤操作。
还原 cluster_config.json
恢复 Automation Suite 集群后,您可能需要恢复cluster_config.json
文件以供将来使用,例如向集群添加新节点、升级等。
要还原cluster_config.json
:
./configureUiPathAS.sh config get -o ./cluster_config.json
./configureUiPathAS.sh config get -o ./cluster_config.json
将 CA 证书添加到信任存储区
还原集群后,请确保将 CA 证书添加到已还原虚拟机的信任存储中。 有关详细信息,请参阅: