订阅

UiPath Automation Suite

UiPath Automation Suite 指南

Setting up the external NFS server

This page offer instructions on how to set up the external NFS server.

You can set up the NFS server on any machine and any OS of your choice or alternatively use any PaaS service offered by cloud providers.
This document provides the instructions specific to configuring the NFS server on the RHEL operating system.

Installing and configuring the NFS server


📘

备注:

The following steps to configure the NFS server represent just one of the possible ways. UiPath does not recommend any specific steps here. You are free to install the NFS server using any other method you prefer.

Step 1: Installing the NFS library

To install the nfs-utils library on the node you plan to use as the NFS server, run:

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

Step 2: Configuring the mount path

To configure the mount path that you want to expose from the NFS server, run:

chown -R nobody: "/asbackup"
chmod -R 777 "/asbackup"
systemctl restart nfs-utils.service

Step 3: Configuring firewalld

firewalld is a security library that manages networking and firewall rules.
To disable firewalld, run:

systemctl stop firewalld
systemctl disable firewalld

Alternatively, you can add the IP addresses of all the machines to an allowlist in firewalld. For more details, see Using Zones to Manage Incoming Traffic Depending on Source.

 

Allowing all nodes to access the NFS mount path


All backup and restore nodes must be able to access the NFS mount path.

To provide access, take the following steps:

  1. Go to the /etc/exports file on the NFS server.
  2. Add an entry for the FQDN for each node (server and agent) for both the backup cluster and the restore cluster. Make sure to use the following format: mountpath fqdn-of-node(rw,sync,no_all_squash,root_squash).

示例

The following example shows how to add an entry in the /etc/exports file. The entry specifies the FQDN of a nodes in the cluster and the corresponding permissions on that machine.

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

To export the mount path, run the following command:

exportfs -arv
exportfs -s

7 个月前更新


Setting up the external NFS server


This page offer instructions on how to set up the external NFS server.

建议的编辑仅限用于 API 参考页面

您只能建议对 Markdown 正文内容进行编辑,而不能建议对 API 规范进行编辑。