Yes, in-band does require more cooperation, because it needs go through the 
IPMI driver of OS.
For now, pyghmi use net payload to gather IPMI data.  And the rsaddr is always 
0x20, which is the address of BMC.  So, what if we want to query some satellite 
controllers when the rsaddr or channel is specified?

Thanks

--fengqian

From: Jarrod B Johnson [mailto:[email protected]]
Sent: Thursday, November 21, 2013 3:38 AM
To: Gao, Fengqian
Cc: Devananda van der Veen; Lu, Lianhao; [email protected]; 
Wang, Shane
Subject: Re: [Ironic] A question about getting IPMI data


pyghmi is growing SDR, SEL, FRU, and other stuff.

I can add in-band so long as there is always python in there, however 
out-of-band does not need to be too bad.  In the case of a baremetal guest, for 
example, gathering such data in-band would require more cooperation of the 
tenant image, whereas out-of-band should always be workable in ipmi equipped 
systems.

The biggest ding in out-of-band is that ipmitool is one-to-one and also has to 
retrieve SDR every time it wants to go read sensors.  pyghmi will support an 
evolution of xCAT's SDR caching scheme to avoid the hit (at least if the 
sensors objects are reused).  We have had success completing a complete sensor 
read of 4,000 systems with a single system in about 15 seconds out of band in 
xCAT, and pyghmi optimizes away some overhead that xCAT did not (though that 
overhead isn't as significant for something as verbose as sensor reading).

[Inactive hide details for "Gao, Fengqian" ---11/19/2013 01:07:22 AM---Hi, all, 
As the summit session https://etherpad.openstack]"Gao, Fengqian" ---11/19/2013 
01:07:22 AM---Hi, all, As the summit session 
https://etherpad.openstack.org/p/icehouse-summit-ceilometer-hardware-

From: "Gao, Fengqian" <[email protected]<mailto:[email protected]>>
To: 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Cc: Devananda van der Veen 
<[email protected]<mailto:[email protected]>>, Jarrod B 
Johnson/Raleigh/IBM@IBMUS, "Lu, Lianhao" 
<[email protected]<mailto:[email protected]>>, "Wang, Shane" 
<[email protected]<mailto:[email protected]>>
Date: 11/19/2013 01:07 AM
Subject: [Ironic] A question about getting IPMI data

________________________________



Hi, all,
As the summit session 
https://etherpad.openstack.org/p/icehouse-summit-ceilometer-hardware-sensors 
said, ironic will expose IPMI data to ceilometer, but I have a couple questions 
here.
1.       What kind of IPMI data will be collected? I assume that power, 
temperature or other sensor data is needed, right?

2.       How do we get all these data?

IIUC, ironic did not involve too much about IPMI for now, only used ipmitool 
and pyghmi module.
Using IPMItool to execute command and parsing the output is easy to understand. 
But seems not a good way for me. The pyghmi only supports 
out-of-band(net-payload) now. So, I am wondering if we can extend the function 
of pyghmi to provide more interfaces?
Be specifically, I think pyghmi can provide in-band IPMI interface including 
IPMB or system interface etc. and allowed to get IPMI data in the OS.

Is all this make sense to you?

Thanks for your response

Best Regards,

-fengqian

<<inline: image001.gif>>

_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to