Configuring Cinder scheduler filters and weighers

Cinder supports configuring multiple storage backends with identical volume_backend_name. In this configuration, Cinder-scheduler automatically schedules the placement of new volumes based on scheduler, which filter out storage backends that don't fit the filter policy, when multiple backends fit the filter policy, the backend storage is chosen, based on scheduler weighers.

CapacityFilter and CapacityWeigher are the default filter and weigher, respectively. When they are enabled, cinder-scheduler assigns the highest weight to the backend with the most available capacity.

VolumeNumberWeigher spreads volumes evenly across all storage backends that passed the filters, so for example, if two storage ...

Get Production Ready OpenStack - Recipes for Successful Environments now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.