Watchdog for reboot VM when it's broken(no respond).
-
Hello everybody!!!
I want automatically reboot VMs when they are broken (no respond).
I don't know if xcg-ng has process or script for that cases.I saw something in the web with ssh but maybe xcp-ng has something else.
You can help me?
-
Xen will detect if a VM is crashing already, and will reboot it. What do you mean exactly for a VM that doesn't respond?
-
hello @olivierlambert
( What do you mean exactly for a VM that doesn't respond?)
For example, when the SO of guest is freeze. (for different reasons ej: driver error, low quality software, etc).(Xen will detect if a VM is crashing already, and will reboot it.)
where can I read information for this?
-
It's related to some on crash parameter in the VM object, but I don't remember exactly where it's documented
-
@olivierlambert Also, I thing others ways.
Make a script in XCP host what run ping to VMS'S ip and force reboot of VM when ping is not respond.
What do you think about this?
-
Bad idea. Losing network temporarily doesn't mean your app crashed.
I think first you really need to think about what you need.