Watchdog on NS as VM Guest

Hi,

There is this NS 6.x server that I am running as a VM guest, and it has locked up on a couple o occasions.

I wonder if it would be easy to install and configure a watchdog to automatically reboot the instance?

Anyone has experience with that?

Thank you.

(The host server will (hopefully) be retired at some point of 2020 so I’d rather do any changes in the guest than in the host.)

Which hypervisor are you using?

If it hangs with a kernel panic, you can make it auto-reboot by editing /etc/sysctl.conf and putting kernel.panic = 30 (or the amount of seconds to wait).

Here you can find some info about a watchdog program: https://linux.die.net/man/8/watchdog