HA disable - permanent
How to disable HA permanently
The rationale for this snippet has been explained in a separate post.
This only helps you, obviously, in case you are NOT using HA. It is also a sure way of avoiding any bugs present in HA logic which you may otherwise encounter even when not using it. It further saves you some of the wasteful block layer writes associated with HA state sharing across nodes.
All CLI examples tested with PVE 8.2.
Until next reboot
You have to stop the HA CRM & LRM services first, then the multiplexer, then unload the kernel module:
systemctl stop pve-ha-crm pve-ha-lrm
systemctl stop watchdog-mux
rmmod softdog
Persistently
To make this reliably persistent following reboots and updates:
systemctl mask pve-ha-crm pve-ha-lrm watchdog-mux
cat > /etc/modprobe.d/softdog-deny.conf << EOF
blacklist softdog
install softdog /bin/false
EOF
Notes
If you are only looking to do this temporarily for maintenance, you can make use of the other snippet.