On Monday, September 23, 2013 at 11:16 AM, Tim Smith wrote:
That seems really odd that it's taking 30 seconds for you. On my Supermicro systems that command takes less than a second. Might be worth seeing if there are any IPMI firmware updates to apply from SM.
On Sep 23, 2013, at 7:36 AM, Graham Christensen < "> > wrote:Hello everyone,I maintain a deployment of SuperMicro servers, and Dell servers, as well as a compliment of cloud machines. What I want to accomplish is as follows:An ohai plugin to determine if IPMI is available. I can do this with dmidecode, which takes about 30 seconds:sudo dmidecode --type 38# dmidecode 2.11SMBIOS 2.6 present.Handle 0x2600, DMI type 38, 18 bytesIPMI Device InformationInterface Type: KCS (Keyboard Control Style)Specification Version: 2.0I2C Slave Address: 0x10NV Storage Device: Not PresentBase Address: 0x0000000000000CA8 (I/O)Register Spacing: 32-bit BoundariesAnd the failure mode, takes less than one second:sudo dmidecode --type 38# dmidecode 2.11# No SMBIOS nor DMI entry point found, sorry.Unfortunately it takes too long to run on a regular basis. (If anyone has sage wisdom on detecting IPMI in a quicker fashion, it would be appreciated.) Would it be a faux pas to touch a hint file after the first run which indicates it is present? The logic might look like this:if hint?('has_ipmi')ipmi trueelse if `dmidecode --type 38`.include? 'IPMI Device Information'ipmi truesave_hint('has_ipmia')elseipmi falseendAny feedback would be much appreciated!Thank you very much,Graham Christensen
Archive powered by MHonArc 2.6.16.