[one-ecosystem] custom rank policy

Ruben S. Montero rsmontero at opennebula.org
Fri Mar 30 05:39:06 PDT 2012


Hi

On Thu, Mar 29, 2012 at 8:49 AM, Darshan Upadhyay <darshanit7 at gmail.com> wrote:
> hello friends,
>
>
> I am student of masters in engineering..currently i am working on custom
> scheduler as my research work...my goal is to work around Rank policy which
> provide priority to VM........
>
> 1)is it possible to place custom rank policy which will be followed by all
> hosts/VM...if yes, than from where i should start?
>
> Example....
> in opennebula 3.2 option to choose different policy by setting the attribute
> like
>
> DEFAULT_SCHED = [
>    policy = 3,    may be 0.1 or 2
>    rank   = "- (RUNNING_VMS * 50  + FREE_CPU)"
> ]
>
> if yes, than from where i should start?

Yes that's is the place for the default RANK for all VMs. The effect
is the same as adding that rank to each VM template.


> 2) is it possible to give priority to VM using RANK attribute or some policy
> in opennebula?

No it is not. There are no currently an algorithm to prioritize the
list of pending VMs

Good luck

Ruben
>
> Cheers,
> Darshan Upadhyay
>
> _______________________________________________
> Ecosystem mailing list
> Ecosystem at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/ecosystem-opennebula.org
>



-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula



More information about the Ecosystem mailing list