The use of Ipmitool tools in Linux

Source: Internet
Author: User

This article describes the use of the Ipmitool tool, this command is mainly used to operate the server hardware, so the general business operations will rarely use it, but it is very powerful, such as: the ability to restart the server, reset the BMC port, configure the BMC Port IP, into the GRUB environment, set the boot sequence, and so on.

It is installed by default in most versions of CentOS and Redhat, so it is more useful.

Another advantage is that it can be used to create a remote Management Server operation and maintenance automation system.


-Enter the GRUB environment:

ipmitool-h $BMC _ip   -i lanplus-u $USERNAME-P $PASSWORD Sol activate

- 查看电源状态:

ipmitool -H $BMC_IP -I lan -U $USERNAME -P $PASSWORD power status

- 强制修改启动项,让机器重启后自动进入BIOS设置界面:

ipmitool -H $BMC_IP -I lanplus -U $USERNAME -P $PASSWORD Chassis Bootparam Set Bootflag Force_bios

- 关掉服务器电源,再打开:

ipmitool -H $BMC_IP -I lan -U $USERNAME -P $PASSWORD power cycle

-viewing BMC information:

ipmitool -H $BMC_IP -I lan -U $USERNAME -P $PASSWORD  mc info

-Display LAN information:

ipmitool -H $BMC_IP -I lan -U $USERNAME -P $PASSWORD  lan print


First introduced here, will continue to update, if you have any good suggestions or good ideas, please leave me a message. Thank you!

This article from the "Linux and Network" blog, reproduced please contact the author!

The use of Ipmitool tools in Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.