Friday, December 12, 2014
IPMI command (ipmitool tool)
What is IPMI
IPMI is an abbreviation for Intelligent Platform Management Interface.
The Intelligent Platform Management Interface (IPMI) is a set of computer interface specifications for an autonomous computer subsystem that provides management and monitoring capabilities independently of the host system's CPU, firmware (BIOS or UEFI) and operating system. IPMI defines a set of interfaces used by system administrators for out-of-band management of computer systems and monitoring of their operation. For example, IPMI provides a way to manage a computer that may be powered off or otherwise unresponsive by using a network connection to the hardware rather than to an operating system or login shell.
[reference: http://en.wikipedia.org/wiki/Intelligent_Platform_Management_Interface]
Basely IPMI this tool is to control your bmc ip address, which can read your sensor(such as the component's temperature, battery, and so on), an power consumption types of setting.
A server mean it will stay on for many days or year without shut down. We need this ipmi tool is to see if this server hang, we will be able to debug what happen.
ipmitool can let you server to power or or off. But manly ipmitool is used to fit our bmc addres.
What are come of the useful command to used:
See our power status:
ipmitool -I lanplus -H "BMC IP ADDRESS" -U USERID -P PASSWORD chassis power status
Power on you server
ipmitool -I lanplus -H "BMC IP ADDRESS" -U USERID -P PASSWORD chassis power [on/off]
SOL(serial over lan)
SOL is like console redirection, you don't need a debug card or a console port, you can used your lan to see you internal status.
If you don't have a vga card you aren't able to see you host status right?
No, there are three way you can see if you don't have vga card:
by console redirection
by console debug card
by SOL
ipmitool -I lanplus -H "BMC IP ADDRESS" -U USERID -P PASSWORD sol activate
DEBUG USED with BMC COMAMND
Some debug ipmitool to used:
If your SUT/DUT(client pc) hang, please execute this command to see what happen, or see previous stop over where .
Need to open two terminal: one connect sol, another execute command raw 0x3c 0x5c
for example:
ipmitool -I lanplus -H "BMC IP ADDRESS" -U USERID -P PASSWORD sol activate
and
ipmitool -I lanplus -H "BMC IP ADDRESS" -U USERID -P PASSWORD raw 0x3c 0x5c
See bmc dhcp ip had been release or gone
prerequisite: OS ip must be ping-able, else this is unable to verify
remote to OS by telnet or ssh, and execute this command: ipmitool lan print
reset bmc, see reset bmc command as below.
Reset bmc by this command
ipmitool raw 0x3c 0x5a
TO BE UPDATED......
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment