Use of ipmitool in Linux

Source: Internet
Author: User

Use of ipmitool in Linux

This article introduces the use of ipmitool tool. This command is mainly used to operate server hardware, so it is rarely used for General Business O & M, but its functions are very powerful, such: you can restart the server, reset the BMC port, configure the BMC port IP address, enter the grub environment, and set the boot sequence.

In most CentOS and RedHat Linux versions, it is installed by default, so it is more practical.

Another advantage is that it can be used to create an O & M Automation System for remote server management.

-Go to the grub environment:

Ipmitool-H $ BMC_IP-I lanplus-U $ USERNAME-P $ PASSWORD sol activate

-View Power status:

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

-Force modify the startup Item to automatically enter the BIOS settings page after the machine restarts:

Ipmitool-H $ BMC_IP-I lanplus-U $ USERNAME-P $ PASSWORD chassis bootparam set bootflag force_bios

-Turn off the server power and then turn on:

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

-View 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

This article will be introduced first and will be updated later. If you have any good suggestions or ideas, please leave a message for me. Thank you!

This article permanently updates the link address:

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.