Hi Girija Sharan, as my master degree thesis I have done a framework for virtual machine migration in OpenStack, which I think it might be useful for what you're realizing.
I have extended Ceilometer and OpenStack Neat, a framework for virtual machine consolidation. I had to collect samples of cpu and memory utilization of compute nodes. Here is the source code of the Ceilometer extension https://github.com/MisterPup/Ceilometer-Juno-Extension In the following url you can find the extension to Openstack Neat https://github.com/MisterPup/OpenStack-Neat-Ceilometer If you have any questions, please feel free to ask. Best regards, Claudio 2015-06-04 8:08 GMT+02:00 Girija Sharan <girijasharansi...@gmail.com>: > > Hi All, > > This query is about Ceilometer, and its my sincere request to you to read this till end and understand properly. > > Let me first put up my requirement : > 1). I need to develop a monitoring tool for my infrastructure, which will show me the live CPU usage, Memory usage, Disk usage, and Network traffic of instances launched on Compute nodes as well as of physical Compute nodes. > > To achieve this I explored Ceilometer service of Openstack (metering part only) and found that, it has many meters using which I can retrieve above mentioned live data but only of instances launched, not of physical Compute nodes. > > Now moving to my queries : > 1). How do I create corresponding meters to retrieve above mentioned details of physical Compute nodes (like memory.usage, cpu_util, network.incoming.bytes, etc.. which exists for instances). > 2). Please do point me towards some helpful links or let me know the exact way of doing so. > 3). Why don't we add Monitoring service to Openstack. As Admin user will be needing to see all these details related to Compute nodes and other nodes. > > Now been said that, I came up with an idea which I would like to share here : > > As part of VM migration, one has to know the load on Compute nodes, depending on which Admin will be deciding whether to migrate the VMs or not and to which Compute node. > Now just think if VM migration need to be done automatically (when some specified threshold value reaches), one need to collect these metrics from Compute nodes. > > We can make use of these existing Ceilometer's meters (metering part of Telemetry) and adding more additional meters to retrieve details from Physical nodes, to create Monitoring Service as well. > > Thanks in advance and early responses will be highly appreciated. > > > Thanks and Regards, > Girija Sharan Singh > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : openstack@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack