automation-suite
2023.10
false
UiPath logo, featuring letters U and I in white
Automation Suite on Linux Installation Guide
Last updated Nov 21, 2024

Setting 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. Note that we do not support Windows-based NFS and Azure blob-based NFS.

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.servicednf 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 the following command. Make sure the /asbackup directory exists before running the command.
chown -R nobody: "/asbackup"
chmod -R 777 "/asbackup"
systemctl restart nfs-utils.servicechown -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 firewalldsystemctl 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).

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/exportsecho "/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 -sexportfs -arv
exportfs -s

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.