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

手动、在线:还原集群

在开始之前

  • 确保您已遵循 先决条件
  • 确保在备份集群上禁用了备份。 如果在还原集群时创建了新的备份,则会发生不一致。 请参阅 手动:在集群上禁用备份
  • 确保包 wget、unzip、jq 在所有还原节点上可用。
  • 所有外部数据源都应相同 (SQL Server)。
  • 在还原集群之前重新启动 NFS 服务器。 在 NFS 服务器节点上执行以下命令: systemctl restart nfs-server
  • 还原集群必须具有与备份集群相同的 FQDN。

    安装类型

    配置说明

    要求

    在线单节点评估模式

    下载以下文件:

    • sf-installer.zip必填。有关下载说明,请参见 sf-installer.zip

    在线多节点 HA 就绪生产模式

    下载以下文件:

    • sf-installer.zip必填。有关下载说明,请参见 sf-installer.zip

准备还原操作

重要提示: 如果集群中有多个节点,请在所有节点上执行以下步骤。
  1. 登录到任何计算机。
  2. 要为安装程序创建/opt/UiPathAutomationSuite文件夹,请运行:
    # Become root
    sudo su -
    
    # Replace {version} with actual installer version
    
    mkdir -p /opt/UiPathAutomationSuite/{version}/installer
    chmod -R 777 /opt/UiPathAutomationSuite# Become root
    sudo su -
    
    # Replace {version} with actual installer version
    
    mkdir -p /opt/UiPathAutomationSuite/{version}/installer
    chmod -R 777 /opt/UiPathAutomationSuite
  3. 要将restore.json和其他安装程序文件复制到/opt/UiPathAutomationSuite/{version}文件夹,请运行:
    # Replace {version} with actual installer version
    
    cp /path/to/restore.json /opt/UiPathAutomationSuite/{version}/installer
    cp /path/to/sf-installer.zip /opt/UiPathAutomationSuite/{version}/installer# Replace {version} with actual installer version
    
    cp /path/to/restore.json /opt/UiPathAutomationSuite/{version}/installer
    cp /path/to/sf-installer.zip /opt/UiPathAutomationSuite/{version}/installer
  4. 要解压缩sf-installer.zip ,请运行:
    # Navigate to installer folder. Replace {version} with actual installer version
    cd /opt/UiPathAutomationSuite/{version}/installer
    
    unzip sf-installer.zip -d .# Navigate to installer folder. Replace {version} with actual installer version
    cd /opt/UiPathAutomationSuite/{version}/installer
    
    unzip sf-installer.zip -d .

在第一个服务器节点上还原 Etcd

要在集群的第一个节点上还原 etcd,请运行:

./install-uipath.sh -i ../restore.json -o output.json -r --accept-license-agreement --install-type online./install-uipath.sh -i ../restore.json -o output.json -r --accept-license-agreement --install-type online
注意: 此命令将还原第一个服务器节点上的节点配置。

在剩余的服务器节点上还原 Etcd

要在集群的其他节点上还原 etcd,请运行:

./install-uipath.sh -i ../restore.json -o output.json -r -j server --accept-license-agreement --install-type online./install-uipath.sh -i ../restore.json -o output.json -r -j server --accept-license-agreement --install-type online
注意:此命令将还原其余服务器节点上的节点配置。

在代理节点上还原 Etcd

要在集群的代理节点上还原 etcd,请运行:

./install-uipath.sh -i restore.json -o output.json -r -j agent --accept-license-agreement --install-type online./install-uipath.sh -i restore.json -o output.json -r -j agent --accept-license-agreement --install-type online
注意:此命令将还原其余代理节点上的节点配置。

在 Task Mining 节点上还原 Etcd

要在集群的 Task Mining 代理节点上还原 etcd,请运行:

./install-uipath.sh -i restore.json -o output.json -r -j task-mining --accept-license-agreement --install-type online./install-uipath.sh -i restore.json -o output.json -r -j task-mining --accept-license-agreement --install-type online
注意:此命令将还原 Task Mining 节点上的节点配置。

在 GPU 节点上还原 etcd

注意: 还原 GPU 计算机之前,请确保已按照 在计算机上安装 GPU 驱动程序进行操作

要在集群的 GPU 代理节点上还原 etcd,请运行:

./install-uipath.sh -i restore.json -o output.json -r -j gpu --accept-license-agreement --install-type online./install-uipath.sh -i restore.json -o output.json -r -j gpu --accept-license-agreement --install-type online
注意:此命令将还原 GPU 节点上的节点配置。

禁用维护模式

注意: 仅当还原是升级期间回滚操作的一部分时,才需要执行此步骤。

在还原卷之前,您需要禁用维护模式:

./configureUiPathAS.sh disable-maintenance-mode./configureUiPathAS.sh disable-maintenance-mode

在任何服务器节点上运行卷还原

还原 etcd 后,通过运行以下命令还原任何服务器节点上的卷:

./install-uipath.sh -i restore.json -o output.json -r --volume-restore --accept-license-agreement --install-type online./install-uipath.sh -i restore.json -o output.json -r --volume-restore --accept-license-agreement --install-type online
注意: 此命令将还原集群上的卷数据。

在还原的集群上启用 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
重要提示: 未在还原的集群上启用备份。 如果要启用备份,请参阅 在集群上启用备份

此页面是否有帮助?

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