<div dir="ltr"><div><div>@Zhangleiqiang, thanks for the info, yes, it does provide load balance and DPM.<br><br></div><div>What I want to do is not only those two policies but also HA or some customized policies just like openstack nova filters, also I hope that this policy can manage not only compute resource, but also storage, network etc.<br>
<br></div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-26 12:16 GMT+08:00 Zhangleiqiang <span dir="ltr"><<a href="mailto:zhangleiqiang@huawei.com" target="_blank">zhangleiqiang@huawei.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="ZH-CN">
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hi, Jay & Sylvain:<u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:21.0pt"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-indent:21.0pt"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">I found the OpenStack-Neat Project (<a href="http://openstack-neat.org/" target="_blank">http://openstack-neat.org/</a>) have already aimed to do the things similar to DRS
and DPM. <u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:21.0pt"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-indent:21.0pt"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hope it will be helpful.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">----------<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Leiqzhang<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Best Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> Sylvain Bauza [mailto:<a href="mailto:sylvain.bauza@gmail.com" target="_blank">sylvain.bauza@gmail.com</a>]
<br>
<b>Sent:</b> Wednesday, February 26, 2014 9:11 AM</span></p><div class=""><br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
</div><div><div class="h5"><b>Subject:</b> Re: [openstack-dev] [OpenStack][Runtime Policy] A proposal for OpenStack run time policy to manage compute/storage resource<u></u><u></u></div></div><p></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi Tim,<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">As per I'm reading your design document, it sounds more likely related to something like Solver Scheduler subteam is trying to focus on, ie. intelligent agnostic resources placement on an holistic way [1]<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">IIRC, Jay is more likely talking about adaptive scheduling decisions based on feedback with potential counter-measures that can be done for decreasing load and preserving QoS of nodes.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">That said, maybe I'm wrong ?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">[1]<a href="https://blueprints.launchpad.net/nova/+spec/solver-scheduler" target="_blank">https://blueprints.launchpad.net/nova/+spec/solver-scheduler</a><u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">2014-02-26 1:09 GMT+01:00 Tim Hinrichs <<a href="mailto:thinrichs@vmware.com" target="_blank">thinrichs@vmware.com</a>>:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Hi Jay,<br>
<br>
The Congress project aims to handle something similar to your use cases. I just sent a note to the ML with a Congress status update with the tag [Congress]. It includes links to our design docs. Let me know if you have trouble finding it or want to follow
up.<br>
<br>
Tim<u></u><u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"><br>
----- Original Message -----<br>
| From: "Sylvain Bauza" <<a href="mailto:sylvain.bauza@gmail.com" target="_blank">sylvain.bauza@gmail.com</a>><br>
| To: "OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
| Sent: Tuesday, February 25, 2014 3:58:07 PM<br>
| Subject: Re: [openstack-dev] [OpenStack][Runtime Policy] A proposal for OpenStack run time policy to manage<br>
| compute/storage resource<br>
|<br>
|<br>
|<br>
| Hi Jay,<br>
|<br>
|<br>
| Currently, the Nova scheduler only acts upon user request (either<br>
| live migration or boot an instance). IMHO, that's something Gantt<br>
| should scope later on (or at least there could be some space within<br>
| the Scheduler) so that Scheduler would be responsible for managing<br>
| resources on a dynamic way.<br>
|<br>
|<br>
| I'm thinking of the Pets vs. Cattles analogy, and I definitely think<br>
| that Compute resources could be treated like Pets, provided the<br>
| Scheduler does a move.<br>
|<br>
|<br>
| -Sylvain<br>
|<br>
|<br>
|<br>
| 2014-02-26 0:40 GMT+01:00 Jay Lau < <a href="mailto:jay.lau.513@gmail.com" target="_blank">jay.lau.513@gmail.com</a> > :<br>
|<br>
|<br>
|<br>
|<br>
| Greetings,<br>
|<br>
|<br>
| Here I want to bring up an old topic here and want to get some input<br>
| from you experts.<br>
|<br>
|<br>
| Currently in nova and cinder, we only have some initial placement<br>
| polices to help customer deploy VM instance or create volume storage<br>
| to a specified host, but after the VM or the volume was created,<br>
| there was no policy to monitor the hypervisors or the storage<br>
| servers to take some actions in the following case:<br>
|<br>
|<br>
| 1) Load Balance Policy: If the load of one server is too heavy, then<br>
| probably we need to migrate some VMs from high load servers to some<br>
| idle servers automatically to make sure the system resource usage<br>
| can be balanced.<br>
|<br>
| 2) HA Policy: If one server get down for some hardware failure or<br>
| whatever reasons, there is no policy to make sure the VMs can be<br>
| evacuated or live migrated (Make sure migrate the VM before server<br>
| goes down) to other available servers to make sure customer<br>
| applications will not be affect too much.<br>
|<br>
| 3) Energy Saving Policy: If a single host load is lower than<br>
| configured threshold, then low down the frequency of the CPU to save<br>
| energy; otherwise, increase the CPU frequency. If the average load<br>
| is lower than configured threshold, then shutdown some hypervisors<br>
| to save energy; otherwise, power on some hypervisors to load<br>
| balance. Before power off a hypervisor host, the energy policy need<br>
| to live migrate all VMs on the hypervisor to other available<br>
| hypervisors; After Power on a hypervisor host, the Load Balance<br>
| Policy will help live migrate some VMs to the new powered<br>
| hypervisor.<br>
|<br>
| 4) Customized Policy: Customer can also define some customized<br>
| policies based on their specified requirement.<br>
|<br>
| 5) Some run-time policies for block storage or even network.<br>
|<br>
|<br>
|<br>
| I borrow the idea from VMWare DRS (Thanks VMWare DRS), and there<br>
| indeed many customers want such features.<br>
|<br>
|<br>
|<br>
| I have filed a bp here [1] long ago, but after some discussion with<br>
| Russell, we think that this should not belong to nova but other<br>
| projects. Till now, I did not find a good place where we can put<br>
| this in, can any of you show some comments?<br>
|<br>
|<br>
|<br>
| [1]<br>
| <a href="https://blueprints.launchpad.net/nova/+spec/resource-optimization-service" target="_blank">
https://blueprints.launchpad.net/nova/+spec/resource-optimization-service</a><br>
|<br>
| --<br>
|<br>
|<br>
| Thanks,<br>
|<br>
| Jay<br>
|<br>
| _______________________________________________<br>
| OpenStack-dev mailing list<br>
| <a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
| <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
|<br>
|<br>
|<br>
| _______________________________________________<br>
| OpenStack-dev mailing list<br>
| <a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US">| <a href="https://urldefense.proofpoint.com/v1/url?u=http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=%2FZ35AkRhp2kCW4Q3MPeE%2BxY2bqaf%2FKm29ZfiqAKXxeo%3D%0A&m=XDB3hT4WE2iDrNVK0sQ8qKooX2r1T4E%2BVHek3GREhnE%3D%0A&s=e2346cd017c9d8108c12a101892492e2ac75953e4a5ea5c17394c775cf086d7f" target="_blank">
https://urldefense.proofpoint.com/v1/url?u=http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=%2FZ35AkRhp2kCW4Q3MPeE%2BxY2bqaf%2FKm29ZfiqAKXxeo%3D%0A&m=XDB3hT4WE2iDrNVK0sQ8qKooX2r1T4E%2BVHek3GREhnE%3D%0A&s=e2346cd017c9d8108c12a101892492e2ac75953e4a5ea5c17394c775cf086d7f</a><u></u><u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">|<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u></u><u></u></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
</div></div></div>
</div>
</div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div>Thanks,<br><br></div>Jay<br></div>
</div>