Using BMC on my IBM Server

A while ago, I purchased a used IBM server that has been a very nice tool. Here’s the specs:
ibm x3455

I have it hooked up to a battery backup unit, which is connected with the USB cable. When the power goes out for a length of time, it powers the machine into a strange state that I cannot get it out of. The light on the front turns orange, and none of the buttons will reboot it. I have to pull the power cord and wait for it to power down. When I plug it back in, it works fine.

I found that the server does have a BMC built in that is supposed to allow for remote power control. There are several IPMI clients that I can install in Linux that should be able to control it. I was able to set the IP address for the console as well use the username and password in the BIOS of the machine.

First, I installed the IPMI Tools package.

<br />
sudo apt install freeipmi-tools<br />

The remote console disconnects and does not allow me access.

<br />
$ipmiconsole -h 192.168.13.14 -u root -p &lt;password&gt;<br />
[SOL established]</p>
<p>[SOL session stolen]</p>
<p>[closing the connection]<br />

I can get the status of the power on the machine with this command.

<br />
ipmipower -h 192.168.13.14 -u root -p &lt;password&gt; -s<br />

To turn it on:

<br />
ipmipower -h 192.168.13.14 -u root -p &lt;password&gt; -n<br />

For some reason, the power on command reports OK as if it works, but the machine doesn’t turn on. I can’t figure out what I am doing wrong.

So, I tried a different client. Here’s the output of several of the commands:

<br />
sudo apt install ipmitool<br />
ipmitool -I lanplus -H 192.168.13.14 -U root -P &lt;password&gt; chassis status<br />
Error: Unable to establish IPMI v2 / RMCP+ session<br />
ipmitool -I lan -H 192.168.13.14 -U root -P &lt;password&gt; user list<br />
ID  Name	     Callin  Link Auth	IPMI Msg   Channel Priv Limit<br />
1                    true    false      false      NO ACCESS<br />
2   root             true    true       true       ADMINISTRATOR<br />
3                    true    false      false      NO ACCESS<br />
4                    true    false      false      NO ACCESS<br />
 ipmitool -I lan -H 192.168.13.14 -U root -P &lt;password&gt; chassis status<br />
System Power         : off<br />
Power Overload       : false<br />
Power Interlock      : inactive<br />
Main Power Fault     : false<br />
Power Control Fault  : false<br />
Power Restore Policy : previous<br />
Last Power Event     :<br />
Chassis Intrusion    : inactive<br />
Front-Panel Lockout  : inactive<br />
Drive Fault          : false<br />
Cooling/Fan Fault    : false<br />
$ ipmitool -I lan -H 192.168.13.14 -U root -P &lt;password&gt; chassis power on<br />
Chassis Power Control: Up/On</p>
<p>

I found a debug parameter: -v. It didn’t give me anything helpful though

<br />
ipmitool -H 192.168.13.14 -v -I lanplus -U root -P &lt;password&gt; chassis power on</p>
<p>This command gave me better output:<br />
Running Get PICMG Properties my_addr 0x20, transit 0, target 0x20<br />
Error response 0xc1 from Get PICMG Properities<br />
Running Get VSO Capabilities my_addr 0x20, transit 0, target 0x20<br />
Invalid completion code received: Invalid command<br />
Discovered IPMB address 0x0<br />
Chassis Power Control: Up/On<br />

Here’s the version of what I am using:

<br />
$ ipmitool -V<br />
ipmitool version 1.8.18<br />

I tried to clear the event log, but that didn’t work:

<br />
ipmitool -H 192.168.13.14 -v -I lanplus -U root -P &lt;password&gt; sel list last 3<br />
ipmitool -H 192.168.13.14 -v -I lanplus -U root -P &lt;password&gt; sel clear<br />

Resources

Leave a Comment

Your email address will not be published. Required fields are marked *