Configuring Nova scheduler filters
First, let's configure Nova scheduler filters, they are configured in Nova's main configuration file /etc/nova/nova.conf
on the host running a Nova scheduler service, which is most commonly installed on the controller node.
Getting ready
Enable and set the filter scheduler driver under the DEFAULT
section:
[root@controller ~]# openstack-config --set /etc/nova/nova.conf DEFAULT scheduler_driver nova.scheduler.filter_scheduler.FilterScheduler
Then, set which filter scheduler should be available:
[root@controller ~]# openstack-config --set /etc/nova/nova.conf DEFAULT scheduler_available_filters nova.scheduler.filters.all_filters
The parameter scheduler_default_filters
will enable filters to be used:
[root@controller ...
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.