<div dir="ltr">Well, that project is interesting but they recreate a new scheduler from scratch, that is exactly what I'd like to avoid.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-14 15:26 GMT+02:00 Carlo Daffara <span dir="ltr"><<a href="mailto:carlo.daffara@cloudweavers.eu" target="_blank">carlo.daffara@cloudweavers.eu</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Then you may look into the Green Scheduler: <a href="http://coned.utcluj.ro/GreenCloudScheduler/Documentation.html" target="_blank">http://coned.utcluj.ro/GreenCloudScheduler/Documentation.html</a><br>
and <a href="http://wiki.opennebula.org/ecosystem:green_cloud_scheduler" target="_blank">http://wiki.opennebula.org/ecosystem:green_cloud_scheduler</a><br>
It's for 3.x, but most of the infrastructure is the same for 4.x; for example, it uses the VM hooks to activate the java<br>
component that starts or shutdowns the nodes.<br>
cheers<br>
carlo<br>
<br>
----- Messaggio originale -----<br>
Da: "Marco Fanti" <<a href="mailto:marco.semprenomadi@gmail.com">marco.semprenomadi@gmail.com</a>><br>
A: "Carlo Daffara" <<a href="mailto:carlo.daffara@cloudweavers.eu">carlo.daffara@cloudweavers.eu</a>><br>
Cc: "Users OpenNebula" <<a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a>><br>
Inviato: Lunedì, 14 aprile 2014 15:19:37<br>
Oggetto: Re: [one-users] How to interrogate the scheduler<br>
<div class="im HOEnZb"><br>
I know, but in my configuration I need that the unused hosts are shutted<br>
down, so they are not usable from the scheduler.<br>
What i need is:<br>
before to instantiate or reschedule a VM, i check the scheduler, if the<br>
best host selected from the scheduler is suitable to run the VM, then ok.<br>
If the host is not suitable (e.g. the used_cpu is more than 80% and i don't<br>
want it), then wake up one of the hosts that are in standby and repeat the<br>
procedure.<br>
<br>
<br>
2014-04-14 15:07 GMT+02:00 Carlo Daffara <<a href="mailto:carlo.daffara@cloudweavers.eu">carlo.daffara@cloudweavers.eu</a>>:<br>
<br>
</div><div class="HOEnZb"><div class="h5">> There is actually already a scheduler that does it, it uses the "packing<br>
> policy":<br>
> Packing Policy<br>
><br>
> Target: Minimize the number of cluster nodes in use<br>
> Heuristic: Pack the VMs in the cluster nodes to reduce VM fragmentation<br>
> Implementation: Use those nodes with more VMs running first<br>
><br>
> RANK = RUNNING_VMS<br>
><br>
> ( <a href="http://archives.opennebula.org/documentation:rel4.4:schg#packing_policy" target="_blank">http://archives.opennebula.org/documentation:rel4.4:schg#packing_policy</a>)<br>
> cheers,<br>
> Carlo Daffara<br>
><br>
> ----- Messaggio originale -----<br>
> Da: "Marco Fanti" <<a href="mailto:marco.fanti@studenti.polito.it">marco.fanti@studenti.polito.it</a>><br>
> A: "Users OpenNebula" <<a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a>><br>
> Inviato: Lunedì, 14 aprile 2014 14:54:11<br>
> Oggetto: [one-users] How to interrogate the scheduler<br>
><br>
> I'm writing a program that has to minimize the number of running hosts.<br>
><br>
> I need to know, before that I command a VM reschedule or a template<br>
> instantiation, if it is possible to ask to the scheduler which will be the<br>
> selected host.<br>
><br>
> Kind regards,<br>
> Marco Fanti<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>
> 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>
</div></div></blockquote></div><br></div>