Balancing CPU Load in Openstack [closed]

asked 2014-02-11 05:21:19 -0600

Aayush Agarwal gravatar image

Hello, I am a newbie to OpenStack. We are trying to work on implementing some CPU Load Balancing Algorithms in OpenStack. I am aware that Neutron in OpenStack Havana supports LBaaS (Load Balancing as a Service). But this kind of a load balancing relates to the load balancing of network aspects. We are interested in balancing the computational load on the servers in the cloud using Load Balancing. Essentially we would like to implement algorithms like Ant Colony Optimization, Active Clustering etc., in Openstack. But these algorithms should balance only the computational load so that at any given instant of time no server is overloaded or underloaded with jobs. I would like to know how we should go about implementing these algorithms and in which modules/components these algorithms must be implemented. Is there a possibility to implement these algorithms in Nova -Compute component?

Any help would be appreciated. Thank You.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-06-05 08:30:44.096197

1 answer

Sort by ยป oldest newest most voted

answered 2014-02-11 10:38:27 -0600

updated 2014-02-11 10:38:43 -0600

I would think the work needs to be done in the scheduler, today there are (I think) 5 different schedulers in OpenStack, many companies have customized their own for difference purposes. Paypal is one that has done work there for redundancy purposes. OpenStack balances VM as it launches them into the hypervisor pool, its very different from VMWare where you have to pick where to put things then use DRS after the fact to re-balance your cluster. If fact it you look at the way ESXi is integrated into OpenStack, its thru DRS .. so OpenStack uses DRS to place VM into ESXi hypervisor hosts. If you wanting to re-balance on the fly in the cluster then you would need to do it much differently, Heat can help and there are many other tools out there that sit above OpenStack that do this sort of thing.

edit flag offensive delete link more


Thank You very much for your response Bill. We will now research in the direction you have mentioned. Are there any particular resources I could refer to so that I get an elaborate idea about the same. Will it be a good idea to start with the Nova Schedular?

Aayush Agarwal gravatar imageAayush Agarwal ( 2014-02-12 00:49:56 -0600 )edit

Also, is there any way to incorporate DRS with nova so that we can do load balancing on the go without using ESX

Aayush Agarwal gravatar imageAayush Agarwal ( 2014-02-12 02:31:05 -0600 )edit

for ESXi integration this information is in the openstack docs, I never tried it yet but its on my list of things to do with my home cluster.

Bill@Metacloud gravatar imageBill@Metacloud ( 2014-02-12 10:33:49 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-02-11 05:21:19 -0600

Seen: 810 times

Last updated: Feb 11 '14