UiPath Documentation
automation-suite
2022.4
false
Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

手动、在线:还原集群

在开始之前​

  • Make sure you have followed the Prerequisites.

  • Make sure the backup is disabled on the backup cluster. Inconsistencies will occur if a new backup is created while restoring the cluster. See Manual: Disabling the backup on the cluster.

  • 确保包 wget、unzip、jq 在所有还原节点上可用。

  • 所有外部数据源都应相同 (SQL Server)。

  • 在还原集群之前重新启动 NFS 服务器。 在 NFS 服务器节点上执行以下命令: systemctl restart nfs-server 。

  • 还原集群必须具有与备份集群相同的 FQDN。

    安装类型 配置说明 要求

    在线单节点评估模式

    下载以下文件:

    • sf-installer.zip – Mandatory. See sf-installer.zip for download instructions.

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

    下载以下文件:

    • sf-installer.zip – Mandatory. See sf-installer.zip for download instructions.

准备还原操作​

重要提示:

如果集群中有多个节点,请在所有节点上执行以下步骤。

  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 .
    

Restoring Etcd on the First Server Node​

要在集群的第一个节点上还原 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​

备注:

Before restoring the GPU machine, make sure you have followed Installing a GPU driver on the machine.

要在集群的 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​

After restoring an Automation Suite cluster with AI Center™ enabled, follow the steps from the Enabling AI Center on the Restored Cluster procedure.

正在还原 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
重要提示:

The backup is not enabled on the restored cluster. If you want to enable the backup, see Enabling the backup on the cluster.

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新