← Back to team overview

openstack team mailing list archive

Re: Extending Openstack's scheduling capabilities

 

Hi Luis,

To create a new Scheduler you simply have to derive from the nova.scheduler.Scheduler class and override the schedule() method. Pretty simple.

But, as you mention, the existing schedulers are rather light. 

Here is the link to my summit presentation on Zones and the new Distributed Scheduler we're currently working on (called "Weighted"):
http://dl.dropbox.com/u/166877/Zones-101.pdf
(it's short on text, so just ask if you have questions ... I'm hoping to turn it into a blog post at some point)

The Weighted scheduler is extensible for setting your host weighting and host-filtering algorithms while being zone aware/friendly.

Perhaps if you can share a little more about what you are hoping to achieve I can provide a little more detail?

Hope it helps,
Sandy

PS> An overview of Zones can be found here: http://wiki.openstack.org/MultiClusterZones



________________________________________
From: openstack-bounces+sandy.walsh=rackspace.com@xxxxxxxxxxxxxxxxxxx [openstack-bounces+sandy.walsh=rackspace.com@xxxxxxxxxxxxxxxxxxx] on behalf of Luis Miguel Silva [luismiguelferreirasilva@xxxxxxxxx]
Sent: Thursday, May 05, 2011 10:08 PM
To: openstack@xxxxxxxxxxxxxxxxxxx
Subject: [Openstack] Extending Openstack's scheduling capabilities

Dear all,

I'm evaluating Openstack and i'm interested in extending it's
scheduling capabilities.
So i'm looking for ways to replace Openstack's scheduler component
with my own (so i can route the requests to an external scheduler that
the company i work for develops).

Any ideas on how i can do it?

During my research, i found that there are 3 scheduling types in Openstack:
- chance scheduler
- zone scheduler
- and the simple scheduler

Is the scheduler component in Openstack modular / easy to replace?
What options do i have?

p.s. i've also found a post saying
(http://webcache.googleusercontent.com/search?q=cache:AI0tmD2qMxsJ:https://bugs.launchpad.net/nova/%2Bbug/766444+openstack+bypass+scheduler&cd=1&hl=en&ct=clnk&gl=us&source=www.google.com):
"I've seen plenty of questions come in asking how to launch a VM on a
particular compute node. I learned this is available with the burnin
merge, where you can bypass the scheduler, but no documentation was
included with that code. Please document it - I can review and edit as
needed."
Any idea where i can get more information on the subject?

Thanks in advance,
Luis Silva

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace.
Any dissemination, distribution or copying of the enclosed material is prohibited.
If you receive this transmission in error, please notify us immediately by e-mail
at abuse@xxxxxxxxxxxxx, and delete the original message.
Your cooperation is appreciated.



Follow ups

References