Configure the Block Storage scheduler
The Block Storage scheduler (cinderScheduler) selects which back end receives new volumes, validates free space for operations, and determines volume placement for specific operations.
About this task Copy linkLink copied!
Use only a single instance of cinderScheduler for scheduling consistency and ease of troubleshooting. While cinderScheduler can be run with multiple instances, the service default replicas: 1 is the best practice.
Procedure Copy linkLink copied!
Scheduler service parameters Copy linkLink copied!
Use scheduler service parameters to configure the cinderScheduler component, including scheduling attempts, default filters, and weighers.
| Parameter | Description |
|---|---|
|
|
Provides a setting for the logging level. When this parameter is |
|
|
Provides a setting for the maximum number of attempts to schedule a volume. The default is |
|
|
Provides a setting for filter class names to use for filtering hosts when not specified in the request. This is a comma-separated list. The default is |
|
|
Provide a setting for weigher class names to use for weighing hosts. This is a comma-separated list. The default is |
|
|
Provides a setting for a handler to use for selecting the host or pool after weighing. The value |
The following is an explanation of the filter class names from the parameter table:
- AvailabilityZoneFilter
- Filters out all back ends that do not meet the availability zone requirements of the requested volume.
- CapacityFilter
- Selects only back ends with enough space to accommodate the volume.
- CapabilitiesFilter
- Selects only back ends that can support any specified settings in the volume.
- InstanceLocality
- Configures clusters to use volumes local to the same node.