IPMI: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<pre>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</pre> | |||
Start IPMI shell; | Start IPMI shell; | ||
<pre># ipmitool -I lanplus -H 192.168.1.21 -U ADMIN shell</pre> | <pre># ipmitool -I lanplus -H 192.168.1.21 -U ADMIN shell</pre> |
Revision as of 17:25, 11 January 2011
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
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.