automation-suite
2023.4
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Linux 版 Automation Suite 安装指南

上次更新日期 2025年9月5日

还原备份

备注:

Once a cluster is restored, the snapshot backup is not enabled. To enable it after restore, see Enabling the backup snapshot.

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

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

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

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

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

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

参数

fqdn

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

fixed_rke_address

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

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

rke_token

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

profile

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

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

This parameter is mandatory only if the proxy is enabled. For details, see Optional: Configuring the proxy server.

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

在线安装

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

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

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

离线安装

备注:
使集群基础架构捆绑包as-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/as-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/as-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/as-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/as-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/as-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/as-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/as-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/as-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/as-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/as-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/as-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/as-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
./bin/uipathctl manifest get-revision >> ./cluster_config.json./bin/uipathctl manifest get-revision >> ./cluster_config.json

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

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

检索新的监控密码

After restoring an Automation Suite cluster, you need to retrieve the new monitoring password. For this, follow the steps from Accessing the monitoring tools.

在还原的集群上启用 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.

正在生成新的 Kerberos 票证

如果设置了 Kerberos 身份验证,则必须确保 Kerberos 票证未过期。

要生成新的 Kerberos 票证,请运行以下命令:

kubectl get cronjobs -A | grep kerberos //to identify the job with name kerberos-tgt-update
kubectl create job --from=cronjob/<cron-job-name> <new_job_name> -n <namespace>kubectl get cronjobs -A | grep kerberos //to identify the job with name kerberos-tgt-update
kubectl create job --from=cronjob/<cron-job-name> <new_job_name> -n <namespace>
确保分别将<cron-job-name><new_job_name><namespace>替换为 CRON 作业的实际名称、新作业的预期名称和实际命名空间。

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2025 UiPath。保留所有权利。