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

还原备份

备注:

还原集群后,系统不会启用快照备份。要在还原后启用它,请参阅启用备份快照

还原集群不会还原外部数据源,例如 SQL Server。 确保将 SQL Server 还原到相关快照。

要还原集群,请执行以下步骤:

  1. 在所有服务器节点上安装集群基础架构。
  2. 在还原的集群上配置快照。
  3. 选择要还原的快照。
  4. 还原数据和设置。

步骤 1:安装集群基础架构

先决条件:下载并安装所需的安装程序和捆绑包:

要安装集群基础架构,请准备dr_input.json还原文件,并使其在所有集群节点上可用。
{
  "fixed_rke_address": "fqdn",
  "fqdn": " fqdn ",
  "rke_token": "guid",
  "profile" : "cluster_proflie"
}{
  "fixed_rke_address": "fqdn",
  "fqdn": " fqdn ",
  "rke_token": "guid",
  "profile" : "cluster_proflie"
}
注意:还原文件仅包含还原集群所需的参数,并且是 cluster_config.json 的子集。

参数

fqdn

Automation Suite 集群的 FQDN。 该值必须与旧的 FQDN 相同。 提供不同的 FQDN 值可能会导致还原失败。

fixed_rke_address

用于对节点注册和 kube API 请求进行负载均衡的固定地址

如果已按照建议配置负载均衡器,则该值应与 fqdn 的值相同。否则,请使用第一个服务器节点的 fqdn 值。有关更多详细信息,请参阅配置负载均衡器

rke_token

在此处使用新生成的 GUID。这是一个预共享的、特定于集群的密码。加入集群的所有节点都需要它。

profile

设置安装的配置文件。可用的配置文件包括:

  • default – 单节点评估配置文件
  • ha – 多节点 HA 就绪生产配置文件

有关安装的更多详细信息,请阅读“手册:高级安装体验”页面。

在线安装

在主还原集群节点上安装集群基础架构

要在主还原集群节点上安装基础架构,请运行以下命令:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore --accept-license-agreementcd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore --accept-license-agreement
重要提示:dr_input.json 从主服务器节点复制到剩余服务器/代理节点。主服务器节点上的基础架构安装步骤会添加剩余节点所需的额外值。

在辅助服务器上安装集群基础架构

要在辅助服务器上安装基础架构,请执行以下操作:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j server --accept-license-agreementcd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j server --accept-license-agreement

在代理节点上安装集群基础架构

要在代理节点上安装基础架构,请执行以下操作:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j agent --accept-license-agreementcd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j agent --accept-license-agreement

在 Task Mining 节点上安装集群基础架构

要在 Task Mining 节点上安装集群基础架构,请执行以下操作:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j task-mining --accept-license-agreementcd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j task-mining --accept-license-agreement

在 Automation Suite Robot 节点上安装集群基础架构

要在 Automation Suite Robot 节点上安装集群基础架构,请执行以下操作:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j asrobots --accept-license-agreementcd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j asrobots --accept-license-agreement

在 GPU 节点上安装集群基础架构

要在 GPU 节点上安装集群基础架构,请执行以下操作:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j gpu --accept-license-agreementcd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j gpu --accept-license-agreement

离线安装

备注:
使集群基础架构捆绑包sf-infra.tar.gz在所有集群节点上可用:
  1. 复制主还原服务器节点上/uipath/ 目录下的捆绑包。
  2. 复制辅助服务器和代理节点上/opt/UiPathAutomationSuite/目录下的捆绑包。

在主还原集群节点上安装集群基础架构

要在主还原集群节点上安装基础架构,请执行以下操作:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore --accept-license-agreement --offline-bundle /uipath/sf-infra.tar.gz --offline-tmp-folder /uipath/tmpcd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore --accept-license-agreement --offline-bundle /uipath/sf-infra.tar.gz --offline-tmp-folder /uipath/tmp
重要提示:dr_input.json 从主服务器节点复制到剩余服务器/代理节点。主服务器节点上的基础架构安装步骤会添加剩余节点所需的额外值。

在辅助服务器上安装集群基础架构

要在辅助服务器上安装基础架构,请执行以下操作:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j server --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/sf-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmpcd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j server --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/sf-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp

在代理节点上安装集群基础架构

要在代理节点上安装基础架构,请执行以下操作:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j agent --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/sf-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmpcd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j agent --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/sf-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp

在 Task Mining 节点上安装集群基础架构

要在 Task Mining 节点上安装基础架构,请执行以下操作:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j task-mining --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/sf-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmpcd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j task-mining --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/sf-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp

在 Automation Suite Robot 节点上安装集群基础架构

要在 Automation Suite Robot 节点上安装基础架构,请执行以下操作:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j asrobots --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/sf-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmpcd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j asrobots --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/sf-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp

在 GPU 节点上安装集群基础架构

要在 GPU 节点上安装基础架构,请执行以下操作:

cd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j gpu --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/sf-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmpcd <installer directory>
./install-uipath.sh -i dr_input.json -o dr_output.json --restore -j gpu --accept-license-agreement --offline-bundle /opt/UiPathAutomationSuite/sf-infra.tar.gz --offline-tmp-folder /opt/UiPathAutomationSuite/tmp

步骤 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>

如果不指定快照名称,则集群将还原最新成功的快照。有关可用快照,请参阅快照列表

还原 cluster_config.json

恢复 Automation Suite 集群后,您可能需要恢复cluster_config.json文件以供将来使用,例如向集群添加新节点、升级等。
要还原cluster_config.json
uipathctl manifest get-revision >> ./cluster_config.jsonuipathctl manifest get-revision >> ./cluster_config.json

将 CA 证书添加到信任存储区

还原集群后,请确保将 CA 证书添加到已还原虚拟机的信任存储中。 有关详细信息,请参阅:

检索新的监控密码

还原 Automation Suite 集群后,您需要检索新的监控密码。为此,请按照访问 Rancher 监控仪表板中的步骤操作。

在还原的集群上启用 AI Center

在启用 AI Center™ 的情况下还原 Automation Suite 集群后,请按照 在还原的集群上启用 AI Center 过程中的步骤操作。

此页面是否有帮助?

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