NFS installation

Document version: 236. Automatically generated.

📘

Network File System (NFS) is a distributed file system protocol originally developed by Sun Microsystems (Sun) in 1984,

allowing a user on a client computer to access files over a computer network much like local storage is accessed. NFS, like many other protocols, builds on the Open Network Computing Remote Procedure Call (ONC RPC) system. NFS is an open IETF standard defined in a Request for Comments (RFC), allowing anyone to implement the protocol.

NFS service is used for storing files with results from NLU trainings.

Steps

1. Install NFS service

There are multiple implementations available that you can use. Few examples

2. Configure NFS Share

To configure the service for chatbots please follow the steps:

  • prepare NFS share with subdirectories and permissions as below:
/mnt/shared # ls -al
total 28
drwxr-xr-x 7 root root 4096 Jan 19 11:13 .
drwxr-xr-x 3 root root 4096 Jan  7 08:15 ..
drwxr-xr-x 2 1000 1000 4096 Jan 19 11:21 inferrer
drwxr-xr-x 2 1001 1001 4096 Jan 19 11:16 intentizer_multi
drwxr-xr-x 2 1000 1000 4096 Jan 19 11:15 keywords
drwxr-xr-x 2 root root 4096 Jan 19 11:22 pattern
drwxr-xr-x 2 1000 1000 4096 Jan 19 11:23 pcre

which means executing chown:

chown -R 1000:1000 inferrer keywords pcre
chown -R 1001:1001 intentizer_multi
chown -R root:root pattern