IPMI
http://wiki.alteeve.com/index.php/IPMI # service ipmi stop SuperMicro Configuration Tool Began to work # ./ipmicfg-linux.x86_64.static -m IP=192.168.1.21 MAC=00:30:48:56:A8:14 # ./ipmicfg-linux.x86_64.static -k Net Mask=255.255.255.0 # ./ipmicfg-linux.x86_64.static -dhcp DHCP is currently disabled. # ./ipmicfg-linux.x86_64.static -g IP=192.168.1.1 # ./ipmicfg-linux.x86_64.static -ver Firmware Revision: 02.05 # ./ipmicfg-linux.x86_64.static -vlan VLAN feature is not supported by this firmware. # service ipmi start Lets use ipmi module and ipmitool instead... more options. # ipmitool -d /dev/ipmi0 shell # ipmitool -I open lan # ipmitool -d /dev/ipmi0 lan set 1 access on https://twiki.cern.ch/twiki/bin/view/FIOgroup/IpmiRefSolSetup
On localhost after installing;
# yum install OpenIPMI ipmitool
# ipmitool -l open shell
# ipmitool -l open mc reset cold
# ipmitool -I open lan print
Set higher baudrate in BIOS, then BMC. * IPMIv2 only uses CTS/RTS (RTS/CTS);
# ipmitool -l open sol info 1 # ipmitool -l open sol set help # ipmitool -l open sol set volatile-bit-rate 115.2 1 # ipmitool -l open sol set non-volatile-bit-rate 115.2 1
# ipmitool -l open session info all
Start IPMI shell;
# ipmitool -I lanplus -H 192.168.1.21 -U ADMIN shell
Use ipmitool to for serial over lan to host;
# ipmitool -I lanplus -H 192.168.1.21 -U ADMIN sol activate
Reset remote host
# ipmitool -I lanplus -H 192.168.1.21 -U ADMIN chassis power reset
Configure GRUB to work with Serial Device;
# grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/sda # Redirect grub output to serial console, which is on COM Port 2 serial --unit=1 --speed=19200 --word=8 --parity=no --stop=1 terminal --timeout=10 serial console default=0 timeout=10 # making IPMI friendly #splashimage=(hd0,0)/grub/splash.xpm.gz #hiddenmenu title CentOS (2.6.18-92.1.22.el5) root (hd0,0) kernel /vmlinuz-2.6.18-92.1.22.el5 ro root=/dev/VolGroup00/LogVol00 console=tty0 console=ttyS1,19200n8 initrd /initrd-2.6.18-92.1.22.el5.img title "My bios update" kernel /memdisk initrd /fwdisk.img floppy
- Fedora 13 - Set console=ttyS1,19200n8 last for udev to automatically configure serial console on boot.