Installing munge
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to mount the /home directory of the master node to testnode1 and testnode2:
mount master:/home /home
- Install the munge RPM package on testnode1 and testnode2.
cd /home/mungerpm
yum localinstall -y munge*
- On the master, testnode1, and testnode2 nodes, change the permissions for the munge directory.
chmod -Rf 700 /etc/munge
chmod -Rf 711 /var/lib/munge
chmod -Rf 700 /var/log/munge
chmod -Rf 0755 /var/run/munge
- Start the ntpd service on the master node.
yum install -y ntp
systemctl start ntpd
- On testnode1 and tesnode2, synchronize the system time with the master node.
ntpdate master
- Copy /etc/munge/munge.key from the master node to testnode1 and testnode2.
scp /etc/munge/munge.key testnode1:/etc/munge/
scp /etc/munge/munge.key testnode2:/etc/munge/
- On testnode1 and tesnode2, change the permissions for the /etc/munge/munge.key file.
chown munge.munge /etc/munge/munge.key
- Start munge on the master node, testnode1, and testnode2.
systemctl start munge
systemctl enable munge
Parent topic: Installing and Configuring Slurm