This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
ipmi_on_linux [2008/04/22 15:20] adam |
ipmi_on_linux [2012/02/13 15:13] adam |
||
---|---|---|---|
Line 14: | Line 14: | ||
Essentially, | Essentially, | ||
+ | |||
Line 21: | Line 22: | ||
* IPMI v1.0 - Autonomous access, logging and control. IPMI messaging command sets, sensor data records and event messages. Access through system interfaces like memory mapped IO, I2C bus etc. | * IPMI v1.0 - Autonomous access, logging and control. IPMI messaging command sets, sensor data records and event messages. Access through system interfaces like memory mapped IO, I2C bus etc. | ||
- | * IPMI v1.5 - Ability to send IPMI messages to BMC over LAN, LAN alerting. No SOL as part of standard but some vendor specific SOL implementations. | + | * IPMI v1.5 - Ability to send IPMI messages to BMC over LAN, LAN alerting. No SOL as part of the standard's specification |
* IPMI v2.0 - Serial Over LAN enabling console redirection, | * IPMI v2.0 - Serial Over LAN enabling console redirection, | ||
- | IPMI version 2.0 is desirable as it allows you to use SOL to get a remote console on the server as though it were local in cases where the operating system locks up and SSH or telnet access are not available due to the operating system being inoperable; v 2.0 also allows you to encrypt the contents of the IPMI packets | + | IPMI version 2.0 is desirable as it allows you to use SOL to get a remote console on the server as though it were local in cases where the operating system locks up and SSH or (heaven forbid) |
==== Glossary ==== | ==== Glossary ==== | ||
Line 84: | Line 85: | ||
modprobe ipmi_msghandler | modprobe ipmi_msghandler | ||
modprobe ipmi_devintf | modprobe ipmi_devintf | ||
+ | modprobe ipmi_si | ||
+ | |||
+ | If ipmi_si won't load, you may need to use: | ||
+ | |||
modprobe ipmi_si type=kcs ports=0xca8 regspacings=4 | modprobe ipmi_si type=kcs ports=0xca8 regspacings=4 | ||
- | If ipmi_si won't load, look at the output of dmidecode for the base address of your IPMI BMC and then use that base address for the '' | + | Or look at the output of dmidecode for the base address of your IPMI BMC and then use that base address for the '' |
Kernel 2.4 people will have to follow the Debian IPMI instructions, | Kernel 2.4 people will have to follow the Debian IPMI instructions, | ||
- | If this works without errors then Fedora/ | + | If this works without errors then Fedora/ |
If you then '' | If you then '' | ||
+ | |||
==== Setting Up Serial Consoles ==== | ==== Setting Up Serial Consoles ==== | ||
Line 100: | Line 106: | ||
You should have set up your BIOS for console redirection earlier, so now we will do the bootloader and init. | You should have set up your BIOS for console redirection earlier, so now we will do the bootloader and init. | ||
- | To allow your bootloader to redirect over the BMC's serial port, edit / | + | To allow your bootloader to redirect over the BMC's serial port, edit / |
+ | |||
+ | serial --unit=1 --speed=19200 --word=8 --parity=no --stop=1 | ||
+ | terminal --timeout=10 serial console | ||
Disable splash screens by commenting out anything starting with splash outside of the OS boot menu section and remove any splash options from your kernel lines. A text console can't display them. | Disable splash screens by commenting out anything starting with splash outside of the OS boot menu section and remove any splash options from your kernel lines. A text console can't display them. | ||
- | Add '' | + | To make kernel messages output over your BMC, add '' |
title | title | ||
Line 124: | Line 133: | ||
This gives you a serial console on the second serial port, which should be your BMC's serial port, for the BIOS as configured earlier, the bootloader and init. Again, change 19200 to whatever you chose in your BIOS. | This gives you a serial console on the second serial port, which should be your BMC's serial port, for the BIOS as configured earlier, the bootloader and init. Again, change 19200 to whatever you chose in your BIOS. | ||
+ | |||
+ | Users of Ubuntu (and presumably Debian and it's other derivative distributions) can read [[https:// | ||
==== IPMI Commands ==== | ==== IPMI Commands ==== | ||
Line 319: | Line 330: | ||
You should now be able to search for the host's IPMI device address in IPMIView and log in with the username and password of ADMIN. You should add a new user, change it's user level to administrator and delete the ADMIN user. | You should now be able to search for the host's IPMI device address in IPMIView and log in with the username and password of ADMIN. You should add a new user, change it's user level to administrator and delete the ADMIN user. | ||
+ | |||
+ | |||
Line 357: | Line 370: | ||
=== IPMI Howtos === | === IPMI Howtos === | ||
- | [[http:// | + | [[https:// |
+ | |||
+ | [[http:// | ||
[[http:// | [[http:// |