Page MenuHomePhabricator

Slurm Configuration
Updated 1,892 Days AgoPublic

Version 1 of 2: You are viewing an older version of this document, as it appeared on Mar 13 2019, 3:38 PM.

Ubuntu 18.04
apt install slurm-wlm munge libslrum-dev mpich ntp mpich libpmi0 libpmix-dev

Configure NTP Server on Head Node

On the head node, spearmint.cse.unr.edu, install ntp.

$ apt install ntp

Head over to /etc/ntp.conf and replace the following lines

pool 0.ubuntu.pool.ntp.org iburst
pool 1.ubuntu.pool.ntp.org iburst
pool 2.ubuntu.pool.ntp.org iburst
pool 3.ubuntu.pool.ntp.org iburst

with

pool 0.us.pool.ntp.org iburst
pool 1.us.pool.ntp.org iburst
pool 2.us.pool.ntp.org iburst
pool 3.us.pool.ntp.org iburst

Restart the NTP server after saving the changes.

$ service ntp restart

Real quick, open the NTP UDP port 123 for incoming connections if there's an UFW firewall enabled.

$ ufw allow from any to any port 123 proto udp

Configure NTP Server on Client Nodes

On the client nodes, spearmint-0.cse.unr.edu, make sure ntpdate is installed.

$ apt install ntpdate

Next, it's important to manually sync time with all of the servers.

references
https://linuxconfig.org/ntp-server-configuration-on-ubuntu-18-04-bionic-beaver-linux

Last Author
lanle
Last Edited
Mar 13 2019, 3:38 PM

Event Timeline

lanle edited the content of this document. (Show Details)