Linux IPMI Installation Configuration

Source: Internet
Author: User
Tags dell r710

What is IPMI? The explanation of Baidu Encyclopedia is as follows:

IPMI (Intelligent Platform Management Interface) is an open standard hardware management interface specification, which defines the specific methods for communication of embedded management subsystem. IPMI information is communicated through the substrate Management controller (BMC), which is located on the IPMI-sized hardware components. Manage with low-level hardware intelligence management without using the operating system.

The above is difficult to understand? you can understand that through this interface you can: see some of the server hardware information, implement a remote switch, remote restart the server. Application scenarios such as:

1. Server down, this time through SSH can not be remotely connected, the server is hosted in IDC, and you call the network administrator without the results, you can use IPMI for remote restart.

2. Cluster services, such as internal fence devices in RHCs.

At present, the server is basically integrated with this interface, may be different server configuration, so if there is no accident, can be configured on the server when the IPMI, for later operation to bring convenience.
The current IPMI of the Dell R710 R910 series server, integrated in the first NIC Eth0, you need to connect the network cable to the first NIC Eth0 to the switch. The Eth0 network card does not start or not affect its use. Therefore, the IP address of the server is recommended to select a different network card.

(Daddy, I have extensively consulted the information to know that Dell is the case)

IPMI Configuration path:

First, the BIOS configuration through the boot, the network more and more, that is, the boot ctrl+e into the configuration interface.
Second, mainly used by the instructions to configure, applicable to the server has been shelves, IDC room distance is far away, really lazy to run over a trip. The premise is that the first card must be connected to the line, otherwise there is no way to test.

How to configure on CentOS:

1. Install the relevant components, mainly OPENIPMI, and start the service:

Yum install OpenIPMI openipmi-devel openipmi-tools openipmi-libs

/ETC/INIT.D/IPMI start

Chkconfig IPMI on

2. Basic network configuration for IPMI:

Many tutorials on the web have the-I open parameter, in fact this parameter is the default. Don't copy everything.
The following directives are configured with IP address, mask, gateway, allow access switch. The IP address is preferably in the same network segment as the server IP.

Ipmitool LAN set 1 ipaddr 192.168.1.70

Ipmitool LAN set 1 netmask 255.255.255.0

Ipmitool LAN Set 1 DEFGW ipaddr 192.168.1.1

Ipmitool LAN set 1 access on

Ipmitool LAN print 1 # Check network configuration results

3. Turn on Default user, set default password:

Ipmitool LAN Set 1 user

Ipmitool LAN set 1 password 123123

Ipmitool user List 1 # Displays the current lists of users

4. By viewing the list of users. You can see that there are currently two users, one is the default anonymous user, and the other is root. And the uid of root = 2.
So to set the root user password, follow the prompts to enter the password two times:

Ipmitool User Set Password 2

5. After configuring IPMI on more than one server, the test can ping the IP address set.
Here are two methods of testing:

Ping 192.168.1.70
Ipmitool-h 192.168.1.70-u root Power status

The normal return result will be: power is on.

Note: Ipmitool can only be performed on other servers, and no results are returned for native execution.

6.   :

Ipmitool-h 192.168.1.70-u Root Power on

Ipmitool-h 192.168.1.70-u Root Power off

Ipmitool-h 192.168.1.70-u Root Power Reset

Fence configuration method in RHCs:

When choosing IPMI for fence configuration in a RHCs cluster, it is not enough to simply verify that the Ipmitool test is normal. It is also necessary to verify that the agent in the RHCS is working properly, because I am using the Ipmitool LAN Print 1 discovery verification to support only MD5, so use the following instructions for agent validation heuristics.

Fence_ipmilan-v-a 192.168.1.70-l root-p 123123-o status-a MD5

The above parameters represent the IP address, user name, password, authentication method, respectively.

After validation is passed, the configuration of the RHCs is also added to the configuration file of the authentication method:

auth= "MD5" ipaddr= "192.168.1.70" login= "root" name= "CMS01" passwd= "123123"/>

This will ensure that the cluster fence properly.

Online a bunch of cases are not clear auth problem, there is paste auth= "None", there is paste auth= "password", only through the above method verification can you determine exactly what is the reason?

Finally, say a word. IPMI is an internal fence device in RHCs, and it is not working properly if you unplug the server power cord.

However, the server is generally not a single power supply, you can not consider this situation.


Linux IPMI Installation Configuration

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.