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
Note:
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:
- Go to the
/etc/exports
file on the NFS server. - 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)
.
Example:
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
Updated 8 months ago