Skip to content
davidbrownza edited this page Dec 15, 2014 · 3 revisions

The JMS requires that an NFS is mounted on all nodes of the cluster that it manages (including the master node). This is so that each node in the cluster has access to the files required to run jobs. If you are installing the JMS on a single machine (where that machine acts as the master and the only slave of the cluster), this is obviously not necessary.

Setting up NFS may be different depending on the linux distribution you are using. On Ubuntu 14.04, the following process can be followed:

1. Set up the NFS server

You can select any node to act as the NFS server. On your selected node, do the following:

sudo apt-get install nfs-kernel-server
sudo mkdir -p /NFS/JMS
sudo chmod 777 /NFS/JMS -R

Add the following line to /etc/exports with the IP addresses of the nodes you want to mount the NFS on:

/NFS/JMS node1.ip.address(rw,fsid=0,insecure,no_subtree_check,async) node2.ip.address(rw,fsid=0,insecure,no_subtree_check,async)

Restart the NFS server:

sudo service nfs-kernel-server restart

2. Set up the NFS clients

On all the other nodes, do the following:

sudo apt-get install nfs-common
sudo mkdir -p /NFS/JMS
sudo chmod 777 /NFS/JMS -R

Edit the /etc/fstab file on each client node to add the filesystem from the NFS server:

server.ip.address:/NFS/JMS	/NFS/JMS	nfs auto,noatime,nolock,bg,nfsvers=3,intr,tcp,actimeo=1800 0 0

Mount the NFS:

mount -a
Clone this wiki locally