User Tools

Site Tools

Site Tools


Now that master server is installed, it is time to configure the basic io servers, using NFS.
To do this, you will need to install the io server with Centos 7.2 also, and configure repository. You can install this server manually (USB stick, DVD, etc), or start like a compute node: install it using PXE.
Have a look at managing cluster chapter on how to install a server using PXE.

NFS server


First thing to do on the nfs node is to configure network on it. We will use a static ip for io nodes.

Go to /etc/sysconfig/network-script, and edit ifcfg-enp0s3 to the following:


Now restart network to activate the interface:

systemctl restart network

Lets disable NetworkManager, and Firewall:

systemctl stop NetworkManager
systemctl stop firewalld
systemctl disable NetworkManager
systemctl disable firewalld


We need to setup repository client, to be able to install packages.

From master (batman), just upload repository file to the nfs node:

scp /etc/yum.repos.d/os_base.local.repo root@

For record, file was:


Login again on nfs node,

Also remove CentOs original repository files, but for safety, backup them, and update yum :

mkdir /etc/yum.repos.d.old/
mv /etc/yum.repos.d/CentOS-* /etc/yum.repos.d.old
yum clean all
yum update

Install basic NFS server

This server will host the /home and /hpc-software of the whole cluster. /home is the main users directory, where they will be able to upload and compile their code, and also set their configuration. It will be accessible on each login and compute nodes. /hpc-software contains all shared tools and libraries to be available on each compute and login nodes.

Install needed packages:

yum install nfs-utils

/home should already be there, make /hpc-software dir:

mkdir /hpc-softwares

Then, edit nano /etc/exports to tell nfs server which directories to export:


And start nfs server:

systemctl enable rpcbind
systemctl enable nfs-server
systemctl start rpcbind
systemctl start nfs-server

That's all for basic NFS server. You can tune it if needed, or proceed to compute nodes installation.

Tune NFS (optional)

Edit /etc/default/nfs-kernel-server and add more workers (to handle more connections) :

# Number of servers to start up

Then restart nfs.

Increase buffer sizes on client side, especially for large files manipulations networks. In fstab (on compute/login nodes), use rsize=524288,wsize=524288 for mount options.

Use nfsV3 instead of v4. In fstab, add vers=3 for mount options.

Increase MTU (see network). This parameter is very important as it has a major impact on performances (9000 is a good start for Ethernet, and 65536 for IPoverIB Infiniband).