[one-users] Safe recreate on HV failure

Michael michael at onlinefusion.co.uk
Mon Feb 24 08:11:46 PST 2014


Hi All,

Setting up automated recreation in case of a HV crash/failure but I'm 
worried that running VM may get killed by Opennebula as they sometimes 
go UNKNOWN for a few seconds after a hot migration (Opennebula 4.4). 
Anyone know a way to do this safely? Or a way to set up a timeout so it 
waits a period (5 minutes maybe) before it's considered for deletion.

Was going to add the below to oned.conf

VM_HOOK = [
     name      = "on_unknown_recreate",
     on        = "UNKNOWN",
     command   = "onevm delete --recreate",
     arguments = "$ID" ]

Thanks!
-Michael


More information about the Users mailing list