Ask Your Question
0

Is it possible to have Compute resources load balancing in Openstack ?

asked 2018-03-31 03:15:19 -0500

Shahid gravatar image

Hi All,

As I move on to Exploring Openstack, Some of the things pointed out my mind.

What if the network load on one of the Instances became much higher than other Instances running, which would result in network slowdown for other instances?

What if the Processing load (Compute resources) demand increases in any if the running instances that can effect other systems performance?

There are many more things that can happen if look at one's use case more seriously. So I was wondering that is there a service, a functionality or something like that present in Openstack that can help me to counter these probelms. Likewise if there is something where we can limit the resources utilisation of an instance upto some extent.

I have read something about Octavia but will that service be of any help to counter these problems?

Please correct me if I am going in a wrong direction and any help would be really appreciated.

thanks !!

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
3

answered 2018-03-31 07:28:23 -0500

What if the network load on one of the Instances became much higher than other Instances running, which would result in network slowdown for other instances?

Yes it would. As an admin, however, you can use Neutron’s Quality of Service features to limit bandwidth, provide minimum bandwidth and prioritize certain types of traffic.

What if the Processing load (Compute resources) demand increases in any if the running instances that can effect other systems performance?

Instances get a certain number of virtual CPUs and are limited this way. Nova’s filtering scheduler can be tuned to select compute nodes with low CPU load when a new instance is launched. Flavors can also be used to limit CPU cycles and IO.

There are many more things that can happen if look at one's use case more seriously. So I was wondering that is there a service, a functionality or something like that present in Openstack that can help me to counter these probelms. Likewise if there is something where we can limit the resources utilisation of an instance upto some extent.

You could also set up alarms based on metrics like CPU usage and implement your own actions if an instance behaves badly.

I have read something about Octavia but will that service be of any help to counter these problems?

Octavia is a load balancer implementation and doesn’t address the problem of instances using up too many resources.

edit flag offensive delete link more

Comments

Thankyou so much @Bernd Bausch , This one has solved few of my confusions.

Shahid gravatar imageShahid ( 2018-03-31 07:55:59 -0500 )edit

But what does Octavia do ? as the name implies load balancer, Dosen't that mean that if there are few Instances that are running and one of them requires high CPU utilization, So this service can balance the load between them to get optimum results.

Shahid gravatar imageShahid ( 2018-03-31 07:57:53 -0500 )edit

A load balancer doesn’t know anything about CPU usage. It’s role is to provide an IP address, then to distribute traffic that goes to this IP address to several servers. Typical use case: A single web site implemented by an LB and several servers.

Bernd Bausch gravatar imageBernd Bausch ( 2018-03-31 09:25:33 -0500 )edit

ooh got it, Thanks @Bernd Bausch

Shahid gravatar imageShahid ( 2018-04-03 04:37:57 -0500 )edit
0

answered 2018-04-12 10:11:37 -0500

johnsom gravatar image

Octavia is a network load balancing project. With Octavia you can create a load balanacer that distributes network connections across backend servers.

More information here: https://docs.openstack.org/octavia/la...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-03-31 03:15:19 -0500

Seen: 89 times

Last updated: Apr 12