[PVE-User] Hardware watchdog for standalone server...
Alwin Antreich
alwin at antreich.com
Mon Aug 19 16:47:30 CEST 2024
Hallo Marco,
August 19, 2024 at 3:39 PM, "Marco Gaiarin" <gaio at lilliput.linux.it> wrote:
>
> The use of a watchdog device (preferibly hardware, if not available,
> softdog) it is clear from:
>
> https://pve.proxmox.com/wiki/High_Availability
>
> and in particular:
>
> https://pve.proxmox.com/wiki/High_Availability#ha_manager_fencing
>
> where you can set (hardware) device module in /etc/default/pve-ha-manager .
>
> But for a standalone server (or a cluster with no HA enabled) this still
> apply?! EG, /usr/sbin/watchdog-mux is a valid and general watchdog service,
> or better use insted some other services (like 'watchdog' daemon, or
> watchdog support bultin in systemd)?
>
Dow you want to make your VM/CT HA? That only works reliably with 3x nodes for quorum (or 2x nodes & qdevice) [0].
But if you want to reset a node if it doesn't spin up a watchdog (doesn't respond), then you could use systemd watchdog[1]. Though I'd like to add that resetting nodes continuously (issue is reoccurring), increases the chances for data corruption.
Cheers,
Alwin
[0] https://pve.proxmox.com/wiki/High_Availability#_requirements
[1] https://0pointer.de/blog/projects/watchdog.html
More information about the pve-user
mailing list