<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1806660879;
        mso-list-template-ids:964320284;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-CN" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Yes, in-band does require more cooperation, because it needs go through the IPMI driver of OS.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">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?  <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">--fengqian<o:p></o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></a></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> Jarrod B Johnson [mailto:jbjohnso@us.ibm.com]
<br>
<b>Sent:</b> Thursday, November 21, 2013 3:38 AM<br>
<b>To:</b> Gao, Fengqian<br>
<b>Cc:</b> Devananda van der Veen; Lu, Lianhao; openstack-dev@lists.openstack.org; Wang, Shane<br>
<b>Subject:</b> Re: [Ironic] A question about getting IPMI data<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif"">pyghmi is growing SDR, SEL, FRU, and other stuff.</span><span lang="EN-US"><br>
<br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif"">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.</span><span lang="EN-US"><br>
<br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif"">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).</span><span lang="EN-US"><br>
<br>
<img width="16" height="16" id="_x0000_i1025" src="cid:image001.gif@01CEE9C5.59B64670" alt="Inactive hide details for "Gao, Fengqian" ---11/19/2013 01:07:22 AM---Hi, all, As the summit session https://etherpad.openstack"></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#424282">"Gao,
 Fengqian" ---11/19/2013 01:07:22 AM---Hi, all, As the summit session <a href="https://etherpad.openstack.org/p/icehouse-summit-ceilometer-hardware-">
https://etherpad.openstack.org/p/icehouse-summit-ceilometer-hardware-</a></span><span lang="EN-US"><br>
<br>
</span><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">From:
</span><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial","sans-serif"">"Gao, Fengqian" <<a href="mailto:fengqian.gao@intel.com">fengqian.gao@intel.com</a>></span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">To:
</span><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial","sans-serif"">"<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>></span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">Cc:
</span><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial","sans-serif"">Devananda van der Veen <<a href="mailto:devananda.vdv@gmail.com">devananda.vdv@gmail.com</a>>, Jarrod B Johnson/Raleigh/IBM@IBMUS, "Lu, Lianhao" <<a href="mailto:lianhao.lu@intel.com">lianhao.lu@intel.com</a>>,
 "Wang, Shane" <<a href="mailto:shane.wang@intel.com">shane.wang@intel.com</a>></span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">Date:
</span><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial","sans-serif"">11/19/2013 01:07 AM</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#5F5F5F">Subject:
</span><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial","sans-serif"">[Ironic] A question about getting IPMI data</span><span lang="EN-US"><o:p></o:p></span></p>
<div class="MsoNormal"><span lang="EN-US">
<hr size="2" width="100%" noshade="" style="color:#8091A5" align="left">
</span></div>
<p class="MsoNormal"><span lang="EN-US"><br>
<br>
<br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Hi, all,</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif"">As the summit session
</span><span lang="EN-US"><a href="https://etherpad.openstack.org/p/icehouse-summit-ceilometer-hardware-sensors"><span style="font-size:10.0pt;font-family:"Calibri","sans-serif";color:#0563C1">https://etherpad.openstack.org/p/icehouse-summit-ceilometer-hardware-sensors</span></a></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif""> said,
 ironic will expose IPMI data to ceilometer, but I have a couple questions here.</span><span lang="EN-US">
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif"">1.       What kind of IPMI data will be collected? I assume that power, temperature or other sensor data is needed, right?</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif""> </span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif"">2.       How do we get all these data?
</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif""> </span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif"">IIUC, ironic did not involve too much about IPMI for now, only used ipmitool and pyghmi module.
</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif"">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?</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif"">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.</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif""> </span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Is all this make sense to you?</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif""> </span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Thanks for your response</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif""> </span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif"">Best Regards,</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif""> </span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri","sans-serif"">-fengqian</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</body>
</html>