Table of Contents

Login nodes

Installing a login node is exactly the same thing than installing a compute node. The only differences in this configuration are:

Just follow installation instructions of computes nodes for all tools (repository, dns, munge, etc), except slurm and ip address which are described below.

Slurm

We will install slurm like on compute nodes, but without starting any service, and so we don’t need to do some steps. Install rpm, and create the slurm user:

groupadd -g 777 slurm
useradd  -m -c "Slurm workload manager" -d /etc/slurm -u 777 -g slurm -s /bin/bash slurm 
yum install slurm slurm-munge

Then copy from batman the slurm.conf file to the login node:

scp /etc/slurm/slurm.conf login1:/etc/slurm/slurm.conf

External NIC

Edit the file /etc/sysconfig/network-scripts/ifcfg-enp0s8 and use the following (assuming you want the ip on this external network to be 192.168.10.1/16):

NAME="enp0s8"
TYPE="Ethernet"
NM_CONTROLLED=no
ONBOOT="yes"
BOOTPROTO="static"
IPADDR="192.168.10.1"
NETMASK=255.255.0.0

And you are done for login node. We will install softwares like compilers, libraries, etc later.