IPMI
| Line 1: | Line 1: | ||
| − | |||
| + | ==IPMI 2.0== | ||
| − | + | The athlon nodes have IPMI 2.0 cards. These cards can be used to power toggle a machine (even when it is off), read out sensors, and even allows for a serial console via tcp/ip. | |
| + | [http://ipmitool.sf.net Ipmitool] can be used to configure and use the IPMI cards. We need version 1.8.8 or later. | ||
| − | + | The IPMI card can be used from the host machine itself, or from the network. To use the card from the host machine, the IPMI drivers from a recent 2.6 kernel are required. We use 2.6.17.3 with good results. | |
| + | Initial configuration needs to be done from the host machine, because the network settings need to be sensible before network access is possible. | ||
| − | + | Our machines are made by Supermicro, which means that the IPMI ethernet controller is actually a separate ethernet controller that shares one of the onboard network sockets. As a consequence, the IPMI interface needs to have a separate IP and MAC address from the onboard ethernet controller the OS sees. | |
| + | The wire is shared with the first NIC on the mb, which has the lowest MAC address. The NIC is also marked as eth1 in the back of the machine. It's the left one if you stand behind the machine. | ||
| − | + | ====Procedure to get IPMI working on an SSI node (old kernel)==== | |
| + | Because the SSI nodes have such an old kernel, we will need to use a boot cd (e.g. a recent Ubuntu cd) to set the IP and password to allow ipmi control via the network. | ||
| − | + | 1. flash ipmi card with downloadable image from Supermicro (DOS boot, takes 10 minutes!) <BR> | |
| + | 2. run ipnmac.exe from DOS floppy (or the linux version!) to set IP. DO NOT ALTER THE MAC ADDRESS, it needs to be unique! <BR> | ||
| + | 3. boot into dapper live cd (desktop) and load the ipmi kernel modules: | ||
| + | modprobe ipmi_devintf | ||
| + | modprobe ipmi_msghandler | ||
| + | modprobe ipmi_poweroff | ||
| + | modprobe ipmi_si | ||
| + | modprobe ipmi_watchdog | ||
| + | modprobe ipmi_kcs_drv | ||
| − | + | 4. You may have to create the ipmi device under /dev: | |
| + | |||
| + | mknod -m 0600 /dev/ipmi0 c 254 0 | ||
| + | 5. Now acquire a copy of ipmitool (1.8.8 or later) - you may have to download/compile it on the live cd ramdisk - and configure user/password with ipmitool: | ||
| − | + | ipmitool user set password 2 <yourpassword> | |
| − | < | + | |
| − | + | ||
| − | + | ||
| − | + | 6. Try remotely, from the admin network: | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| + | IPMI_PASSWORD=<yourpassword> ./ipmitool -H <ipmi_box_ip> -I lan -U ADMIN -E lan print | ||
| − | + | 7. SOL: bios is set to COM2, 19200n8 | |
| + | |||
| + | IPMI_PASSWORD=<yourpassword> ./ipmitool -H <ipmi_box_ip> -I lanplus -U ADMIN -E sol activate | ||
| + | |||
| + | Error: Unable to establish IPMI v2 / RMCP+ session | ||
| + | Error: No response activating SOL payload | ||
| + | |||
| + | This is an ipmitool v1.8.8/v1.8.9rc1 problem. With the ipmicli tool from supermicro, remote serial just works. There is a caveat: after the bios is done, and hands over to grub, you won't see the 'press any key...' prompt because of redrawing issues. Just press a key for the grub menu! | ||
Revision as of 05:08, 29 October 2006
IPMI 2.0
The athlon nodes have IPMI 2.0 cards. These cards can be used to power toggle a machine (even when it is off), read out sensors, and even allows for a serial console via tcp/ip.
Ipmitool can be used to configure and use the IPMI cards. We need version 1.8.8 or later.
The IPMI card can be used from the host machine itself, or from the network. To use the card from the host machine, the IPMI drivers from a recent 2.6 kernel are required. We use 2.6.17.3 with good results.
Initial configuration needs to be done from the host machine, because the network settings need to be sensible before network access is possible.
Our machines are made by Supermicro, which means that the IPMI ethernet controller is actually a separate ethernet controller that shares one of the onboard network sockets. As a consequence, the IPMI interface needs to have a separate IP and MAC address from the onboard ethernet controller the OS sees.
The wire is shared with the first NIC on the mb, which has the lowest MAC address. The NIC is also marked as eth1 in the back of the machine. It's the left one if you stand behind the machine.
Procedure to get IPMI working on an SSI node (old kernel)
Because the SSI nodes have such an old kernel, we will need to use a boot cd (e.g. a recent Ubuntu cd) to set the IP and password to allow ipmi control via the network.
1. flash ipmi card with downloadable image from Supermicro (DOS boot, takes 10 minutes!)
2. run ipnmac.exe from DOS floppy (or the linux version!) to set IP. DO NOT ALTER THE MAC ADDRESS, it needs to be unique!
3. boot into dapper live cd (desktop) and load the ipmi kernel modules:
modprobe ipmi_devintf modprobe ipmi_msghandler modprobe ipmi_poweroff modprobe ipmi_si modprobe ipmi_watchdog modprobe ipmi_kcs_drv
4. You may have to create the ipmi device under /dev:
mknod -m 0600 /dev/ipmi0 c 254 0
5. Now acquire a copy of ipmitool (1.8.8 or later) - you may have to download/compile it on the live cd ramdisk - and configure user/password with ipmitool:
ipmitool user set password 2 <yourpassword>
6. Try remotely, from the admin network:
IPMI_PASSWORD=<yourpassword> ./ipmitool -H <ipmi_box_ip> -I lan -U ADMIN -E lan print
7. SOL: bios is set to COM2, 19200n8
IPMI_PASSWORD=<yourpassword> ./ipmitool -H <ipmi_box_ip> -I lanplus -U ADMIN -E sol activate
Error: Unable to establish IPMI v2 / RMCP+ session Error: No response activating SOL payload
This is an ipmitool v1.8.8/v1.8.9rc1 problem. With the ipmicli tool from supermicro, remote serial just works. There is a caveat: after the bios is done, and hands over to grub, you won't see the 'press any key...' prompt because of redrawing issues. Just press a key for the grub menu!