Ask Your Question
0

How to balance the load among multiple cinder-volume services?

asked 2015-05-13 04:44:17 -0500

xiangfeiz gravatar image

I have multiple cinder-volume services running. But some of them were not receiving any requests. Any idea where the load balancing is configured? By the way, cinder-api services were properly balanced.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-05-14 09:07:53 -0500

jdexter gravatar image

If I hazard a guess as to why one cinder-volume service was getting more then others, it would be becuase it has a larger capacity, as that is the defualt filter and weigher for scheduling. This could also result from one backend being the default? If you are using multiple backends and one is set to default and volumes that are not specifically assigned a type will be created from the default time.

# Default volume type to use (string value)
default_volume_type=

Within cinder.conf this would be on the server running api and scheduler.

# Which filter class names to use for filtering hosts when not
# specified in the request. (list value)
#scheduler_default_filters=AvailabilityZoneFilter,CapacityFilter,CapabilitiesFilter

# Which weigher class names to use for weighing hosts. (list
# value)
#scheduler_default_weighers=CapacityWeigher


#
# Options defined in cinder.scheduler.manager
#

# Default scheduler driver to use (string value)
#scheduler_driver=cinder.scheduler.filter_scheduler.FilterSchedule

http://docs.openstack.org/developer/c... describes how to use the filters in more detail.

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: 2015-05-13 04:44:17 -0500

Seen: 366 times

Last updated: May 14 '15