Hi,<div><br></div><div>Using the sched.conf file, you can only define global policies for all VMs and Hosts.</div><div>If you need to use different policies for a group of Hosts, I would add a new attribute to the Hosts you want to apply the policy, let's say POLICY=PACKING. Then add to all the VMs you want to deploy in this group/policy the following [1]:</div>

<div><br></div><div>REQUIREMENTS="POLICY=PACKING"<br>RANK = RUNNING_VMS</div><div><br></div><div>Regards</div><div><br></div><div>[1] <a href="http://opennebula.org/documentation:documentation:template#placement_section">http://opennebula.org/documentation:documentation:template#placement_section</a><br clear="all">

--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>

<br>
<br><br><div class="gmail_quote">2012/3/15 Juan Luis Prieto Martínez <span dir="ltr"><<a href="mailto:sirjuanlu@gmail.com">sirjuanlu@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Jaime<br><br>Thanks for the hint, this is what I was thinking and what I need to put in place. However a second question comes into my mind, is it possible to set up the scheduler policies programatically? Meaning that I'd like to generate an energy aware policy with wich I'd like to set up the scheudler with a Packing policy in X nodes.<br>


<br>Cheers<br clear="all">JuanLu<br>
<br><br><div class="gmail_quote">El 15 de marzo de 2012 12:05, Jaime Melis <span dir="ltr"><<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>></span> escribió:<div><div class="h5"><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Juan Luis,<div><br></div><div>I forgot to clarify that in our scheduler the user can specify what deployment policy to use, which I believe is what you're looking for.</div><div><a href="http://opennebula.org/documentation:rel3.2:schg#pre-defined_placement_policies" target="_blank">http://opennebula.org/documentation:rel3.2:schg#pre-defined_placement_policies</a></div>




<div><br></div><div>The difference with the other ecosystem projects is that the projects I mentioned before perform migrations after deployment to optimize the use of resources.</div><div><br></div><div>Regards,<br>Jaime</div>




<div><div><div><br><div class="gmail_quote">On Thu, Mar 15, 2012 at 11:42 AM, Jaime Melis <span dir="ltr"><<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<div><br></div><div>take a look at these projects from the ecosystem:</div><div>Green Cloud Scheduler - <a href="http://opennebula.org/software:ecosystem:green_cloud_scheduler" target="_blank">http://opennebula.org/software:ecosystem:green_cloud_scheduler</a></div>





<div>CLUES - <a href="http://opennebula.org/software:ecosystem:clues" target="_blank">http://opennebula.org/software:ecosystem:clues</a><br></div><div><br></div><div>Regards,<br>Jaime<br><br><div class="gmail_quote"><div>




<div>On Thu, Mar 15, 2012 at 10:51 AM, Juan Luis Prieto Martínez <span dir="ltr"><<a href="mailto:sirjuanlu@gmail.com" target="_blank">sirjuanlu@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hi<div><br></div><div>I'd like to know whether if it is possible to tel opennebula to deploy the VMs on specific hosts in order to save energy in the data center. I know that the scheduler does something similar to that by checking from time to time where the VMs are running and moving consolidating them in the less hosts as possible, but I'd like to know if by some short of energy efficiency policy this can be controled by the user.</div>






<div><br></div><div>Thank you </div><div>Cheers<br clear="all">JuanLu<br>
</div>
<br></div></div><div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></div></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>





</font></span></div>
</blockquote></div></div></div><br>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>