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

Linux 版 Automation Suite 安装指南

上次更新日期 2026年5月20日

设置外部 NFS 服务器

您可以在所选的任何计算机和操作系统上设置 NFS 服务器,也可以使用云提供商提供的任何 PaaS 服务。请注意,我们不支持基于 Windows 的 NFS 和基于 Azure Blob 的 NFS。

本文档提供特定于在 RHEL 操作系统上配置 NFS 服务器的说明。

安装和配置 NFS 服务器

备注:

以下配置 NFS 服务器的步骤只是其中一种可能的方法。UiPath™ 在此不推荐任何特定步骤。您可以使用自己喜欢的任何其他方法安装 NFS 服务器。

步骤 1:安装 NFS 库

要在计划用作 NFS 服务器的节点上安装nfs-utils库,请运行:

dnf install nfs-utils -y
systemctl start nfs-server.service
systemctl enable nfs-server.service
dnf install nfs-utils -y
systemctl start nfs-server.service
systemctl enable nfs-server.service

步骤 2:配置装载路径

要配置要从 NFS 服务器公开的装载路径,请运行以下命令。 在此示例中,NFS 装载路径为/asbackup 。 如果您使用其他路径,请相应地替换/asbackup

mountPath="/asbackup"
mkdir -p $mountPath $mountPath/asetcdbackup
chown -R nobody: "$mountPath"
chmod -R 777 "$mountPath"
systemctl restart nfs-utils.service
mountPath="/asbackup"
mkdir -p $mountPath $mountPath/asetcdbackup
chown -R nobody: "$mountPath"
chmod -R 777 "$mountPath"
systemctl restart nfs-utils.service

步骤 3:配置 firewalld

Firewalld 是一个管理网络和防火墙规则的安全库。

要禁用 firewalld,请运行:

systemctl stop firewalld
systemctl disable firewalld
systemctl stop firewalld
systemctl disable firewalld

或者,您可以将所有计算机的 IP 地址添加到 Firewalld 的允许列表中。有关更多详细信息,请参阅使用区域根据来源管理传入流量

允许所有节点访问 NFS 装载路径

所有备份和还原节点都必须能够访问 NFS 装载路径。

要提供访问权限,请执行以下步骤:

  1. 转到 NFS 服务器上的/etc/exports文件。
  2. 为备份集群和还原集群的每个节点(服务器和代理)添加 FQDN 条目。 确保使用以下格式: mountpath fqdn-of-node(rw,sync,no_all_squash,root_squash)

示例

以下示例说明如何在/etc/exports文件中添加条目。 该条目指定集群中节点的 FQDN 以及该计算机上的相应权限。

echo "/asbackup node1.automationsuite.mycompany.com(rw,sync,no_all_squash,root_squash)" >> /etc/exports
echo "/asbackup node1.automationsuite.mycompany.com(rw,sync,no_all_squash,root_squash)" >> /etc/exports

要导出装载路径,请运行以下命令:

exportfs -arv
exportfs -s
exportfs -arv
exportfs -s

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新