16

I have a few servers with IBM BMC (Baseboard Management Controller). I'd like to power cycle the BMC without restarting the server. Is this possible? How?

Note: On one of them, the web interface is down; so I'd need to either do this by physically restarting the BMC (not sure how to do this - even the power button on the server isn't supposed to recycle the BMC, I believe) or via the UDP or SNMP interface (again, not sure how to do that either)

6 Answers 6

28

The simplest way is if you can log onto the server, run as root:

# ipmitool bmc reset cold
8
  • What if it does not help? On my server, it seems to be stuck. For the command "bmc-device --cold-reset" which is essentially the same, I get the error: "ipmi_cmd_cold_reset: bad completion code". It does not reset itself, I cannot access it in any way. Do I have other choice beside powering down completely? Apr 26, 2013 at 13:18
  • Unless you have a hardware reset button for the BMC (depends on model), you're stuck with a complete powerdown. Check the Problem Determination and Support Guide appropriate to your server model for all the details.
    – MikeyB
    Apr 26, 2013 at 13:48
  • Maybe I was offtopic here, I have an Intel S2600GZ4 with AXXRMM4. It does not have a reset button afaik. It is really a shame these kind of problems exist that they need a powerdown sometimes... Apr 26, 2013 at 14:04
  • The same command I gave will work on the RMM4.
    – MikeyB
    Apr 27, 2013 at 14:50
  • 1
    You can also use -H <ipmi ip> -U <ipmi user> -P <impi password> to reset one remotely.
    – kjw0188
    Mar 28, 2017 at 23:14
3

If you can't connect to the BMC via web, ssh, IPMI, telnet, or other connection mechanism that you have configured, then the only way to reset the BMC for sure is to power the computer down and then pull the power inputs. Many BMCs (or iLO or eLOM or whatever) don't reset themselves when the computer reboots or powers off.

2

For anyone with a similar issue, here is the ipmiutil command for issuing a cold reset on the BMC without rebooting the server:

ipmiutil reset -k

I personally use ipmiutil over ipmitool when possible as it can run without IPMI drivers installed. I have had several instances where the Linux IPMI modules locked up due an issue with the BMC. This prevented ipmitool from running but I was still able to use ipmiutil in "driverless mode", which it reverts to automatically. The only downside is that, unlike ipmitool, ipmiutil is most likely not already installed. It should be available to install using the yum/apt-get repos included with most distros though.

0

I don't know the IBM ones but on HP servers you can often ssh into their iLO if the web front end is broken and vice-versa. If you do neither then I think it'll be a full system power-off/on.

1
  • Chopper - the BMC isn't always on the SupII (equivalent of the iLO). Sometimes it's integrated into the system. Either way, I think it would take an actual pull of the plug to get it to restart, if you can't get into the SupII.
    – mfinni
    Nov 24, 2010 at 17:52
0

Assuming you assigned an IP to the BMC, you can telnet in and run this tool from IBM. It has power and reset options. The hitch is, I don't know if those commands include the actual BMC - tragic. But it may give you a starting point.

http://idolinux.blogspot.com/2008/11/ibm-baseboard-management-controller.html

http://www-947.ibm.com/support/entry/portal/docdisplay?brand=5000008&lndocid=MIGR-64636

-2

Not sure only BMC reboot.

But if u want to reboot the Remote Managemenet then manually and physically do an AC power off.. Disconnect the both redundant AC power supplies. The whole system will be powered off.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .