Version 1 vs 2
Version 1 vs 2
Content Changes
Content Changes
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.
```lang=bash
$ apt install ntp
```
Head over to `/etc/ntp.conf` and replace the following lines
```lang=bash
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
```lang=bash
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.
```lang=bash
$ service ntp restart
```
Real quick, open the NTP UDP port `123` for incoming connections if there's an UFW firewall enabled.
```lang=bash
$ 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.
```lang=bash
$ 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
Be sure that the following are installed on the nodes:
```lang=bash
$ 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.
```lang=bash
$ apt install ntp
```
Head over to `/etc/ntp.conf` and replace the following lines
```lang=bash
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
```lang=bash
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.
```lang=bash
$ service ntp restart
```
Real quick, open the NTP UDP port `123` for incoming connections if there's an UFW firewall enabled.
```lang=bash
$ 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.
```lang=bash
$ apt install ntpdate ntp
```
Next, it's important to manually sync time with all of the servers.
```lang=bash
$ ntpdate spearmint
```
---
##Munge Keys
Create the munge keys on the head node and scp that file over to the client nodes.
```lang=bash
#on spearmint.cse.unr.edu
$ munged
$ systemctl status munge #make sure that it is running
$ scp /etc/munge/munge.key cse-admin@spearmint-1.cse.unr.edu:/etc/munge/munge.key
```
references
https://linuxconfig.org/ntp-server-configuration-on-ubuntu-18-04-bionic-beaver-linux
Be sure that the following are installed on the nodes:
Ubuntu 18.04```lang=bash
$ 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.
```lang=bash
$ apt install ntp
```
Head over to `/etc/ntp.conf` and replace the following lines
```lang=bash
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
```lang=bash
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.
```lang=bash
$ service ntp restart
```
Real quick, open the NTP UDP port `123` for incoming connections if there's an UFW firewall enabled.
```lang=bash
$ 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.
```lang=bash
$ apt install ntpdate ntp
```
Next, it's important to manually sync time with all of the servers.
```lang=bash
$ ntpdate spearmint
```
---
##Munge Keys
Create the munge keys on the head node and scp that file over to the client nodes.
```lang=bash
#on spearmint.cse.unr.edu
$ munged
$ systemctl status munge #make sure that it is running
$ scp /etc/munge/munge.key cse-admin@spearmint-1.cse.unr.edu:/etc/munge/munge.key
```
references
https://linuxconfig.org/ntp-server-configuration-on-ubuntu-18-04-bionic-beaver-linux