[one-users] Host failure - resubmit?

Stefan Catargiu stefancatargiu at gmail.com
Tue Jul 31 06:08:57 PDT 2012


Hello,


Right now the suggested behavior for a host failure is pretty bad. In
theory resubmitting is great, but what do you do when you are not using
persistent images?
When the VM is resubmitted, opennebula will actually delete the disk files,
reclone them and then start the machine on a physical box, basically
destroying the original VM.

Is there a way around this behavior?

My solution for this is something like :
- executing the hook
- touch a file in the datastore
- delete script will check for the existence of that file and skip
- clone script will check for the existence of that file and skip
- delete that file
- run machine

This might be a solution but it is more or less a work around.

Any other ideas? Any way of making my own "resubmit" command that will
bypass delete and clone and just run deploy?

Thank you!

Regards,
Stefan Catargiu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120731/da0d30d7/attachment-0002.htm>


More information about the Users mailing list