Difference between revisions of "OpenHPC: Setup SOL though IPMI in OpenHPC"

From Define Wiki
Jump to navigation Jump to search
(Created page with "* Edit the kernel args line to enable within warewulf * Note; This assumes the hardware is setup correclly and enabled (BIOS default on recent SM servers) == Enable conman f...")
 
 
Line 25: Line 25:
 
wwsh -y provision set node0[01-52] --kargs "console=ttyS1,115200"  
 
wwsh -y provision set node0[01-52] --kargs "console=ttyS1,115200"  
 
# reboot and connect to conman  
 
# reboot and connect to conman  
 +
</syntaxhighlight>
 +
 +
== Get the MAC address of the eth0 interface through ipmitool for Supermicro systems ==
 +
<syntaxhighlight>
 +
[root@headnode ~]# ssh gpunode01 ip addr show eth0 '| grep ether'
 +
    link/ether 00:25:90:c5:f5:36 brd ff:ff:ff:ff:ff:ff
 +
[root@headnode ~]# ipmitool -U ADMIN -P ADMIN -H gpunode01-ipmi raw 0x30 0x21 | tail -c 18
 +
00 25 90 c5 f5 36
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 16:20, 3 July 2020

  • Edit the kernel args line to enable within warewulf
  • Note; This assumes the hardware is setup correclly and enabled (BIOS default on recent SM servers)

Enable conman for SOL sessions

# on headnode 
yum -y install conman-ohpc

# setup /etc/conman.conf 
[root@head ~]# tail -n 2 /etc/conman.conf 
CONSOLE name="node001" dev="ipmi:10.10.10.155" ipmiopts="U:ADMIN,P:ADMIN,W:solpayloadsize"
CONSOLE name="node002" dev="ipmi:10.10.10.102" ipmiopts="U:ADMIN,P:ADMIN,W:solpayloadsize"

# restart the conman service 
systemctl restart  conman 

# connect to a system
conman node001

# then to disconnect hit &. (ampersand / dot)

Configure the kernel args for the nodes

wwsh -y provision set node0[01-52] --kargs "console=ttyS1,115200" 
# reboot and connect to conman

Get the MAC address of the eth0 interface through ipmitool for Supermicro systems

[root@headnode ~]# ssh gpunode01 ip addr show eth0 '| grep ether' 
    link/ether 00:25:90:c5:f5:36 brd ff:ff:ff:ff:ff:ff
[root@headnode ~]# ipmitool -U ADMIN -P ADMIN -H gpunode01-ipmi raw 0x30 0x21 | tail -c 18
00 25 90 c5 f5 36