<div dir="ltr"><div>Hi All,<br clear="all"><div></div><div>I am new to Slurm and trying to setup Slurm20.11.2 on Centos 7</div><div>My environment is Master node (smaster) + compute Node (snode)</div><div>and i am using <a href="https://www.slothparadise.com/how-to-install-slurm-on-centos-7-cluster/" target="_blank">https://www.slothparadise.com/how-to-install-slurm-on-centos-7-cluster/</a> link to setup Slurm on Master and compute nodes.</div><div><br></div><div>I have tried installing Munge on both the nodes and it's running fine. However when i try to run the Munge command from Master to Node its asking password. </div><div><br></div><div>export MUNGEUSER=1001<br>groupadd -g $MUNGEUSER munge<br>useradd  -m -c "MUNGE Uid 'N' Gid Emporium" -d /var/lib/munge -u $MUNGEUSER -g munge  -s /sbin/nologin munge<br>export SlurmUSER=1002<br>groupadd -g $SlurmUSER slurm<br>useradd  -m -c "Slurm workload manager" -d /var/lib/slurm -u $SlurmUSER -g slurm  -s /bin/bash slurm<br></div><div><br></div><div>yum install -y epel-release<br>yum install munge munge-libs munge-devel -y<br><br>yum install rng-tools -y<br>rngd -r /dev/urandom<br>/usr/sbin/create-munge-key -r<br>dd if=/dev/urandom bs=1 count=1024 > /etc/munge/munge.key<br>chown munge: /etc/munge/munge.key<br>chmod 400 /etc/munge/munge.key<br><br>scp /etc/munge/munge.key root@snode:/etc/munge<br><br>chown munge: /etc/munge/munge.key<br>chmod 400 /etc/munge/munge.key<br>chown -R munge: /etc/munge/ /var/log/munge/<br>chmod 0700 /etc/munge/ /var/log/munge/<br><br>systemctl enable munge<br>systemctl start munge<br>systemctl status munge<br><br>[root@smaster ~]# systemctl status munge<br>? munge.service - MUNGE authentication service<br>   Loaded: loaded (/usr/lib/systemd/system/munge.service; enabled; vendor preset: disabled)<br>   Active: active (running) since Mon 2021-02-01 12:52:54 IST; 1h 4min ago<br>     Docs: man:munged(8)<br>  Process: 2547 ExecStart=/usr/sbin/munged (code=exited, status=0/SUCCESS)<br> Main PID: 2550 (munged)<br>    Tasks: 4<br>   CGroup: /system.slice/munge.service<br>           +-2550 /usr/sbin/munged<br><br>Feb 01 12:52:54 <a href="http://smaster.calligotech.com">smaster.calligotech.com</a> systemd[1]: Starting MUNGE authentication service...<br>Feb 01 12:52:54 <a href="http://smaster.calligotech.com">smaster.calligotech.com</a> systemd[1]: Started MUNGE authentication service.<br>[root@smaster ~]# munge -n<br>MUNGE:AwQDAAAg5PQzQhz/D4h7OGUU4Cx4QAgZ4z/0MMt0SP+uhuP927Xcl2t8EC4izsUj6xpMRslnIb2g4RCz2vayu0wW1o8mNNuy7cVv/PmsuO9XsAJ7aLl1n/M=:<br>[root@smaster ~]#<br></div><div><br></div><div>Below is the screenshot for reference.</div><div>Smaster:</div><div><img src="cid:ii_kkmboix90" alt="image.png" width="523" height="324"><br></div><div><br></div><div>Snode:</div><div><img src="cid:ii_kkmbr2i01" alt="image.png" width="523" height="358"><br></div><div><br></div><div>Am I configuring properly or 

Do I need to set up passwordless authentication on Master to Node and vice-versa? </div><div><br></div><div>

Please clarify to me, whether Mugne will do passwordless login else do we need to setup passwordless.</div><div><br></div><div>Please guide me with a proper setup link/Doc which includes Munge Configuration, Slurm account database Daemon configuration and Slurm installation and configuration with testing simple jobs on Master and Compute Nodes.</div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b><font color="#000000" face="times new roman, serif">Regards</font></b></div><div dir="ltr"><b style="font-size:12.8px"><font color="#000000" face="times new roman, serif">Zain</font></b><div></div></div></div></div></div></div></div></div><br></div>