[one-users] How to interrogate the scheduler

Marco Fanti marco.fanti at studenti.polito.it
Mon Apr 14 08:00:38 PDT 2014


Well, that project is interesting but they recreate a new scheduler from
scratch, that is exactly what I'd like to avoid.


2014-04-14 15:26 GMT+02:00 Carlo Daffara <carlo.daffara at cloudweavers.eu>:

> Then you may look into the Green Scheduler:
> http://coned.utcluj.ro/GreenCloudScheduler/Documentation.html
> and http://wiki.opennebula.org/ecosystem:green_cloud_scheduler
> 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
> component that starts or shutdowns the nodes.
> cheers
> carlo
>
> ----- Messaggio originale -----
> Da: "Marco Fanti" <marco.semprenomadi at gmail.com>
> A: "Carlo Daffara" <carlo.daffara at cloudweavers.eu>
> Cc: "Users OpenNebula" <users at lists.opennebula.org>
> Inviato: Lunedì, 14 aprile 2014 15:19:37
> Oggetto: Re: [one-users] How to interrogate the scheduler
>
> I know, but in my configuration I need that the unused hosts are shutted
> down, so they are not usable from the scheduler.
> What i need is:
> before to instantiate or reschedule a VM, i check the scheduler, if the
> best host selected from the scheduler is suitable to run the VM, then ok.
> If the host is not suitable (e.g. the used_cpu is more than 80% and i don't
> want it), then wake up one of the hosts that are in standby and repeat the
> procedure.
>
>
> 2014-04-14 15:07 GMT+02:00 Carlo Daffara <carlo.daffara at cloudweavers.eu>:
>
> > There is actually already a scheduler that does it, it uses the "packing
> > policy":
> > Packing Policy
> >
> >     Target: Minimize the number of cluster nodes in use
> >     Heuristic: Pack the VMs in the cluster nodes to reduce VM
> fragmentation
> >     Implementation: Use those nodes with more VMs running first
> >
> > RANK = RUNNING_VMS
> >
> > (
> http://archives.opennebula.org/documentation:rel4.4:schg#packing_policy)
> > cheers,
> > Carlo Daffara
> >
> > ----- Messaggio originale -----
> > Da: "Marco Fanti" <marco.fanti at studenti.polito.it>
> > A: "Users OpenNebula" <users at lists.opennebula.org>
> > Inviato: Lunedì, 14 aprile 2014 14:54:11
> > Oggetto: [one-users] How to interrogate the scheduler
> >
> > I'm writing a program that has to minimize the number of running hosts.
> >
> > I need to know, before that I command a VM reschedule or a template
> > instantiation, if it is possible to ask to the scheduler which will be
> the
> > selected host.
> >
> > Kind regards,
> > Marco Fanti
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140414/3c73b7a4/attachment-0002.htm>


More information about the Users mailing list