[Poweredgec-tools] Ipmi command on C6220

Michael_Stumpf at Dell.com Michael_Stumpf at Dell.com
Fri Sep 6 08:14:24 CDT 2013

Dell - Internal Use - Confidential
Two things about this -

1)      for convenience I use ipmiflash on all my test systems.  but at scale I use socflash only, because it does raw reads/writes to the flash rom.  It never fails.  However, socflash defaults the MAC address of the BMC, which you have to put back.  So the procedure is to capture those macs, socflash the bmc, put them back.  "bmc" tool has a convenience function you can use to facilitate this; you have to run this locally on the box.  From memory:

bmc get_both_macs | tee /tmp/mymacs

# Be sure to confirm that every /tmp/mymacs file looks right / has macs in it.  I've recently seen occasionally that this would fail.  (Fix forthcoming)

# Apply a new image; skip image backup step; use the "all*.bin" file when you flash with socflash

socflash_x64 -s allXXXXX.bin

bmc set_both_macs /tmp/mymacs

Note - this wipes all bmc settings including which NIC it uses; so you go back to shared/DHCP.

2)      Because of how it works, socflash can also be used to hard reset and/or revive a hung (or even completely dead) BMC.  This resets the BMC as a side effect of reading the image and throwing it away.  There are very, very few situations where this will not work:

# Hard reset a BMC

socflash of=/dev/null
The user friendly version of that is to get "peclogs" from http://poweredgec.dell.com and run the command line option to reset the bmc (I forget what it's named).

Be careful with socflash.  It's powerful, but it has quirks and basically no safeties.

Michael Stumpf
System Management & Tools
Dell | PowerEdge C

-----Original Message-----
From: poweredgec-tools-bounces On Behalf Of Adam Hough
Sent: Friday, September 06, 2013 7:50 AM
To: poweredgec-tools
Subject: [Poweredgec-tools] Ipmi command on C6220

I am in the process of upgrading the firmware on some of our C6220 systems using the ipmiflash utility.
I have several systems that have hung during the "Validating Image" in that it will never exit that stage of the flash.  I can kill the update script but leaves the ipmi interface in "update mode".  The only way I know how to get it out of this sate it to reseat the sled in the chassis to reboot the ipmi controller as in this state the ipmi controller ignores any reset commands (which is the correct action to prevent bad stuff during the actually flash).

Is there a raw ipmi command I can send to get it out of the "update mode"?

Adam Hough
Senior Computer Systems Engineer, NSA
Global Compute Resources
Petroleum Geo-Services                Tel:      +1 281 509 8000
PGS Houston Mega Center            Mobile: +1 281 796 6689
5150 Westway Park Boulevard      DDI:     +1 281 509 8521
Suite 120, Houston, Texas, 77041 Fax:     +1 281 509 8083
United States of America              VOIP:   7011 8521
Email: adam.hough at pgs.com       Web:    www.pgs.com

This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only. If you are not the intended recipient or transmission error has misdirected this e-mail, please notify the author by return e-mail and delete this message and any attachment immediately. If you are not the intended recipient you must not use, disclose, distribute, forward, copy, print or rely on this e-mail in any way except as permitted by the author.

Poweredgec-tools mailing list
Poweredgec-tools at dell.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/poweredgec-tools/attachments/20130906/b3312615/attachment-0001.html 

More information about the Poweredgec-tools mailing list