[one-users] VM hooks and determing which state VM is recovering

Carlos Martín Sánchez cmartin at opennebula.org
Tue Apr 23 02:30:40 PDT 2013


You could have a hook that notifies you when the VM enters the UNK state,
and ignore the other hook unless you were notified of the UNK state change

But maybe we should add support for it, with something like:


Please open a feature request if this approach looks good to you.


Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>

On Fri, Apr 19, 2013 at 5:28 PM, Simon Boulet <simon at nostalgeek.com> wrote:

> Hi,
> I am using  various VM_HOOK to do certain action when VM states changes. I
> am trying to have a hook to know when a VM recovers from UNKNOWN to RUNNING
> state. I have set up a "on RUNNING" hook, however I can't seem to determine
> which state the VM is recovering from, ex. is the VM recovering from
> UNKNOWN or ATTACHNIC state, etc.
> Any ideas how I can do this?
> Thanks
> Simon
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130423/6ff5d862/attachment-0002.htm>

More information about the Users mailing list