Nova-scheduler weight question - prefer smaller hypervisors

asked 2018-03-02 10:13:39 -0500

apdibbo gravatar image

Hi,

I would like to configure the nova scheduler to prefer placing VMs on smaller hypervisors.

How would I go about doing this?

I can see that meters and weights are probably the way but I cant see good examples of this.

Thanks

Alex

edit retag flag offensive close merge delete

Comments

Under nova/scheduler/weights, find a simple example like http://git.openstack.org/cgit/opensta... and adapt it to your need. Whatever python code is in this directory will be registered as a weigher.

Bernd Bausch gravatar imageBernd Bausch ( 2018-03-02 17:00:43 -0500 )edit