Is there any document I can read about how VM state is being monitor by Opennebula (e.g. what command it use? )
My issue is that I have to restart libvirtd on one of my node (service libvirt-bin restart). Ever since I did that, all the VMs on that node have “POWEROFF” state in Opennebula dashboard even though those VM are still running.
I’ve looked at oned.log. It appear that those VM are not being monitor anymore ( I don’t see any monitor related message on those VM anymore. Is there a flag in database somewhere to tell it to monitor? Any information would be appreciated.
The last sucessfully monitored message is just before I restart libvirtd on the node that hosting these VMs.
Tue Mar 31 15:23:02 2015 [Z0][VMM][D]: VM 76 successfully monitored: STATE=a USEDCPU=0.5 USEDMEMORY=4194304 NETRX=24885223744 NETTX=2906850074
This is similar situation to http://dev.opennebula.org/issues/776. Should I update DB as describe in the issue#776.
BTW, I’m on Opennebula 4.10.0 which the issue should be fixed already though.
Thanks ruben. Runnig “virsh list” show all VM on running state. I tried to restart oned but it still say those VMs in POWEROFF state. Is poll_xen_kvm.rb executed by collected-client.rb on the host? What is the proper way to restart “collectd-client.rb” ? Thanks in advance.