Automation Suite
2023.10
False
横幅背景图像
Linux 版 Automation Suite 安装指南
上次更新日期 2024年4月19日

还原备份

备注:

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

还原集群不会还原外部数据源,例如 SQL Server、对象存储或符合 OCI 的注册表。请务必将这些数据源还原到相关快照。

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

  1. 在所有服务器节点上安装集群基础架构。您为还原集群提供的硬件必须与备份集群硬件类似。有关详细信息,请参阅硬件和软件要求
  2. 在还原的集群上配置快照。
  3. 选择要还原的快照。
  4. 还原数据和设置。

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

准备

  1. 下载还原安装程序。您可以在 as-installer.zip 包中找到它。有关下载说明,请参阅下载安装包
  2. 在离线环境中,您必须提供符合 OCI 的外部注册表或临时注册表。请注意,注册表配置必须与原始集群的配置保持相同。要配置注册表,请参阅以下说明:
  3. 准备配置文件并使其在所有集群节点上可用。要准备配置文件,请执行以下步骤之一:
    • 选项 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"
      }
下表描述了必须包含在最小 cluster_config.json 文件中的所有参数。确保提供与原始集群中使用的参数值相同的参数值。您可以在还原后更改参数值。
重要提示:
在离线环境中,除了设置下表中列出的 cluster_config.json 参数外,还必须提供符合 OCI 的外部注册表配置。有关详细信息,请参阅符合 OCI 的外部注册表配置

参数

fqdn

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

fixed_rke_address

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

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

rke_token

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

profile

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

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

install_type

指示您计划执行的安装类型。您的选项包括:

  • online – 可以访问互联网的安装
  • offline – 无法访问互联网的安装

有关如何配置 cluster_config.json 的更多详细信息,请参阅手动:高级安装体验

执行

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

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

cd <installer directory>
./install-uipath.sh -i ../../cluster_config.json -o output.json --restore --accept-license-agreementcd <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-agreementcd <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-agreementcd <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-agreementcd <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-agreementcd <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-agreementcd <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>

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

还原 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 集群后,您需要检索新的监控密码。为此,请按照访问监控工具中的步骤操作。

在还原的集群上启用 AI Center

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

此页面是否有帮助?

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