MadOp
(MadOp)
November 12, 2019, 8:22pm
1
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.)
pike
(Michael Kicks)
November 12, 2019, 9:51pm
2
Which hypervisor are you using?
dnutan
(Marc)
November 14, 2019, 7:57pm
3
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