[openstack-dev] [nova][scheduler][metrics] Additional metrics

Abbass MAROUNI abbass.marouni at virtualscale.fr
Thu Nov 21 14:43:44 UTC 2013


Hello,

I'm in the process of writing a new scheduling algorithm for openstack
nova.
I have a set of compute nodes that I'm going to filter and weigh according
to some metrics collected from these compute nodes.
I saw nova.compute.resource_tracker and metrics (ram, disk and cpu) that it
collects from compute nodes and updates the rows corresponding to compute
nodes in the database.

I'm planning to write some modules that will collect the new metrics but
I'm wondering if I need to modify the database schema by adding more
columns in the 'compute_nodes' table for my new metrics. Will this require
some modification to the *compute model* ? Then how can I use these metrics
during the scheduling process, do I fetch each compute node row from the
database ? Is there any easier way around this problem ?

Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131121/7b1c8a8e/attachment.html>


More information about the OpenStack-dev mailing list