Fencing and hardware watchdogs in Proxmox VE HA

Proxmox VE HA only recovers guests safely when a failed node is reset first. This page explains watchdog-based fencing, the hardware watchdog setting, and how to verify fencing before go-live.

On this page

Why Proxmox VE HA depends on fencing and watchdogs

If you plan to run HA guests on shared storage, the central question is whether a failed node can keep writing to that storage while its guests restart on another node. In Proxmox VE, the answer is designed to be no. A node that loses contact with the cluster is expected to reset itself through watchdog-based fencing before its guests are recovered elsewhere. Without that reset, two nodes could run the same guest and write to the same disks at once, which is the kind of corruption HA is meant to prevent. Fencing is therefore not an optional extra. It is the mechanism that makes automatic recovery safe to trust.

The Proxmox VE HA documentation sets out the baseline you need before fencing matters at all. HA needs at least three cluster nodes for reliable quorum, shared storage that guests can reach from every node, redundant hardware, and watchdog-based fencing. A two-node setup cannot provide the same quorum guarantees on its own, so teams with two nodes should read the sibling pages on QDevice and quorum before going further. Confirm with your own design that each node has an independent power and network path, because a fencing reset is only useful if the surviving nodes can still reach the cluster.

Teams need this topic when they move from a lab to production HA, when they add new hardware to an existing cluster, or when a failover test behaves unexpectedly. Your first decision is whether the nodes have a hardware watchdog that the platform can use. The administration guide explains that hardware watchdog modules are blocked by default and must be enabled through the WATCHDOG_MODULE setting in /etc/default/pve-ha-manager, which the watchdog-mux service reads. Plan to verify that setting on every node and to confirm fencing status before go-live, as covered in the sections that follow. Proxmox VE high availability chapter

Fencing sequence from node failure to guest recovery

The sequence starts when a node stops responding to the rest of the cluster, either because it has failed outright or because quorum or cluster communication is lost. Its watchdog timer then expires and resets the node, which is the fencing step that makes the node safe to leave behind. Only after that reset does the HA manager on the surviving nodes restart the affected guests, since they rely on shared storage. Check that the watchdog is armed on every HA node and that the trust boundary around shared storage holds before go-live.

Fencing ensures the failed node is reset before its guests restart elsewhere.

Why fencing protects shared storage from split writes

Fencing exists to stop a node that has lost contact with the cluster from writing to storage that another node is now using. In a Proxmox VE HA cluster, a node that is isolated from its peers may still be running its guests. Its corosync link may be down, its network may be partitioned, or it may be stalled, yet its virtual machines can keep issuing writes to shared storage such as Ceph, NFS or iSCSI. Meanwhile, the remaining nodes have a quorum, conclude the node is dead, and start the same guest elsewhere. Two hosts then write to the same disk image at the same time, and the result is corruption that can be hard to detect and harder to unwind.

Fencing removes that risk by making sure the failed node is actually reset before its guests are recovered on another node. Proxmox VE relies on watchdog-based fencing for this: the node's watchdog timer is armed, and the node only stays alive while its local HA services keep resetting it. If the node loses its ability to do that, the watchdog expires and the hardware resets the host, so its writes stop before the surviving nodes take over. The HA stack treats this as a precondition for recovery, which is why fencing is not optional for guests on shared storage. The fencing timing, not the storage product, is what makes a failover safe.

Before go-live, the reader should confirm that every HA node really fences and that the fencing path is tested, not assumed. Run a controlled test on a non-production cluster, isolate one node from the network, and verify that it resets and that its guests restart on another node only after the reset. Record which watchdog module each node loaded, and confirm the settings in the Proxmox VE HA documentation for your release. Any node that fails this test should not host HA guests on shared storage until the cause is fixed.

Choosing between softdog and a hardware watchdog

Proxmox VE HA fences a failed node with a watchdog timer, so the node resets itself before its guests are restarted on another node. Out of the box, the HA stack relies on the kernel software watchdog (softdog), which needs no special server hardware. That makes it the simplest starting point for a lab, a proof of concept or a cluster where the team has not yet confirmed board support. The trade-off is that the software watchdog depends on the host kernel still running well enough to act. Your design review should record that the default path is in use and why.

  • No hardware prerequisite: softdog works on any server the kernel supports, so no BIOS or board settings are needed to get started.
  • Kernel dependency: the timer lives in the same kernel that may be hung or degraded during the failure you are trying to contain.
  • Nothing to configure: the WATCHDOG_MODULE key in /etc/default/pve-ha-manager is left unset, so the default module stays in effect.
  • Simple fleet consistency: every node behaves the same way, which makes validation and runbooks easier to standardize.
  • Review trail: document the choice in the design record so auditors and operators know which fencing mechanism protects shared storage.

Before go-live, confirm in your own environment that the HA stack reports the software watchdog as active on every node.

Watchdog configuration options and when each fits

This table compares the three watchdog situations a node can be in: the default software path, a hardware watchdog enabled through configuration, and a node with no usable hardware watchdog. Read each row against your hardware inventory, and confirm the board and firmware details before go-live, because the fencing guarantee depends on them.

OptionWhen it fitsWhat to confirmOperational trade-off
Default software watchdog (softdog)Lab, test or non-production clusters where HA behavior is being exercised but no hardware watchdog is availableHardware watchdog modules are blocked by default, so confirm the node is running the default configuration and understand that this is the state you are in unless you change itWorks without special hardware, but it depends on the kernel still running to reset the node, so it is weaker protection for production shared storage
Hardware watchdog module enabled via WATCHDOG_MODULEProduction HA clusters where the server board includes a watchdog timer that the Linux driver supportsBoard and BIOS or firmware watchdog settings, driver availability for the kernel in use, and that the module name you set matches the hardwareGives an independent reset path for a hung node, but a misconfigured or unsupported module can leave fencing disabled, so verify after every kernel or firmware change
Nodes without a usable hardware watchdogMixed fleets where some older or consumer hardware lacks a supported watchdog and must still join the clusterWhich nodes lack a supported timer, whether they can be replaced or excluded from HA resources, and whether guests on them need shared storage at allCluster may run, but the fencing assumption is weaker for those nodes, so restrict HA placement or accept the documented risk in writing

Enabling a hardware watchdog and checking fencing

This sequence moves a Proxmox VE HA cluster from the default softdog fallback to a hardware watchdog on every node, then proves that a failed node is fenced before its guests restart elsewhere. The output is a documented, tested fencing state you can hand to your change board.

  1. Confirm watchdog hardware and vendor support

    The cluster administrator, working with the server vendor, confirms that each HA node has a hardware watchdog timer exposed to Linux and that the vendor documents its use with your firmware and Proxmox VE release. Ask the vendor which kernel module drives the timer on each server model and whether the firmware settings for the timer are exposed in the BIOS or BMC. Done when every node model is on a written list with its watchdog driver name, and any model without a usable timer is flagged for replacement or an alternative fencing design before go-live.

  2. Set the watchdog module on every HA node

    On each HA node, the administrator sets WATCHDOG_MODULE in /etc/default/pve-ha-manager to the driver name confirmed in the previous step. Hardware watchdog modules are blocked by default, so this setting is what tells the watchdog-mux service which module to use. Edit the nodes one at a time and keep the same file under configuration management so no node drifts. Done when a file review on each node shows the same, intended module name and no node still relies on the default softdog fallback.

  3. Restart or reboot nodes per the admin guide

    The administrator applies the change using the method the Proxmox VE high availability chapter describes for your version, which may be a service restart or a node reboot. Move guests off the node first if the chosen method disrupts running HA resources, and confirm the cluster has quorum before touching the next node. Work one node at a time so the cluster keeps quorum throughout. Done when every node has completed the change and returned to a healthy, quorate state in the cluster view.

  4. Confirm the watchdog-mux service and module load

    On each node, the administrator checks that the watchdog-mux service is running and that the expected hardware watchdog module is loaded, then confirms that the kernel reports an active watchdog device. Logs from the HA services should show the hardware module being used rather than softdog. Check the exact service names, module names and log messages against your Proxmox VE version, since they can change between releases. Done when each node reports the expected module and no node logs a fallback to softdog.

  5. Verify HA state across the cluster

    From the cluster, the administrator checks the HA manager status and confirms that every HA node is active, that the cluster has quorum, and that HA resources are in their expected states. Compare this output with the pre-change record so any resource that did not return to its prior state is found now, not during an incident. Confirm exact status commands against your Proxmox VE version. Done when all HA nodes report active, no resource is stuck in an error or fence-pending state, and the results are saved with the change record.

  6. Plan a controlled fencing test

    The operations lead writes a fencing test plan for a non-production window or a dedicated test cluster before the cluster carries production guests. The plan names the node to be isolated or powered off, the HA resources expected to move, the expected watchdog reset behavior, the rollback steps, and who observes each result. It also explains why fencing matters for shared storage: a node that is still writing to shared disks must be reset before its guests are started elsewhere. Done when the plan is approved by the owners of the storage and the application teams.

  7. Run the test and record fencing evidence

    During the approved window, the operator runs the planned failure, observes the watchdog reset of the failed node, and confirms that HA recovers the affected guests on surviving nodes only after fencing completes. The record captures timestamps, logs, resource states and any deviation from the plan. Repeat the test after any change to hardware, firmware, kernel or Proxmox VE version. Done when the evidence shows fencing before recovery, the findings are reviewed, and any gap is assigned an owner and retest date before go-live.

Security and operational considerations for fencing

Fencing decides what happens to a node that stops responding, so the watchdog, the people who change it and the records of each reset need the same care as the cluster itself. The cards below cover the failure modes and controls that keep a fenced node from becoming an outage that nobody can explain or recover from.

Watchdog failure modes

A watchdog only protects you if it arms and gets fed on schedule. If the timer never arms, a hung node may keep writing to shared storage while its guests restart elsewhere, which is the split-brain condition fencing exists to prevent. Before go-live, confirm on every node that the chosen module is loaded and that the watchdog service is running, then test a controlled hang and confirm the node resets. Ask the vendor or board documentation how the timer behaves during firmware pauses.

HA administration guide

Change control for HA nodes

Changes to HA settings, watchdog configuration or node membership can alter when a node is fenced. Route them through the same change process as other production changes, with a named approver, a written rollback and a test in a non-production cluster where possible. Record which nodes were changed and when, so a later reset can be matched to a specific change instead of being investigated from scratch.

Out-of-band access for recovery

If a watchdog reset loop starts on a node, the usual remote shell may be unavailable because the node keeps rebooting. Out-of-band management access lets an operator reach the console, disable HA for the affected resources and stop the loop without standing in the data center. Confirm that the management network is separate from the cluster network, that credentials are stored under your control, and that the procedure has been rehearsed.

Firmware and driver updates

BIOS, BMC and kernel updates can change how a hardware watchdog is exposed or how long it tolerates a stall. Treat these updates as changes that affect fencing, not routine patching. After each update, verify the watchdog device is still present, rerun the controlled hang test and check the vendor release notes for watchdog or timer changes. Keep the previous firmware image available for rollback.

Access control over HA configuration

Anyone who can edit HA resources or the watchdog module setting can change which guests are protected and how nodes are fenced. Limit HA configuration rights to a small administrator group, use individual accounts with a second factor instead of shared logins and review who holds those roles at each access review. Confirm that Proxmox VE role assignments for HA and node administration match this list.

Logging and evidence of fencing events

Each fencing event is an incident that someone may have to explain to a manager, an auditor or a customer. Collect the cluster logs and the watchdog-related service logs centrally, keep them for your retention period and note the time, node, affected guests and recovery actions for every reset. Ask your operations team to confirm that these logs are forwarded before go-live, not only stored on the node that was reset.

Questions teams ask before enabling HA fencing

Is softdog enough for Proxmox VE HA fencing?

Softdog is a software watchdog that runs in the kernel, so it depends on the same host that may have failed. Proxmox VE can use it, but it is a weaker guarantee than a hardware watchdog that resets the node independently of the operating system. Whether softdog is acceptable is a risk decision for your team, based on how much you rely on HA for shared-storage guests. Confirm the current guidance in the Proxmox VE high availability chapter and check which watchdog your hardware exposes before deciding.

What does switching to a hardware watchdog change on each node?

Hardware watchdog modules are blocked by default in Proxmox VE, so enabling one is a deliberate configuration change. The module name is set through the WATCHDOG_MODULE key in /etc/default/pve-ha-manager, which the watchdog-mux service reads. Each node needs the correct driver for its server's board or BMC, so the change is made node by node and verified after each restart. Plan a change window for each node because the setting takes effect only after the relevant services are restarted or the node is rebooted.

How much effort do the watchdog setup and fencing test take?

Effort depends on the number of nodes, how many different server models you run, whether the hardware watchdog driver loads cleanly, and how many HA guests and shared-storage paths must be exercised during the test. A homogeneous three-node cluster with documented BMC access is far simpler than a mixed fleet with out-of-band management that needs firmware work. Ask any partner to break the estimate into per-node configuration, a fencing test plan, retesting after changes and documentation. No duration is given here because it depends on your hardware and environment.

Can our own team set up hardware watchdogs and fencing alone?

Many teams can, provided they have engineers who understand Proxmox VE clustering, Linux kernel modules and their server management controllers. The risk is in the test, not the configuration. A fencing test that forces a node to fail while HA guests and shared storage are active is where mistakes cause data damage, so it needs a rollback plan and a written pass or fail list. If your team has not run that test before, an outside review of the test plan can reduce risk without taking over operations.

What do we need to provide for the fencing work?

You need physical or remote access to every node, including out-of-band management where the watchdog depends on it, plus a maintenance window for each restart and for the failure tests. Provide a list of server models, BIOS and firmware versions, the storage design for HA guests, and the network paths used by Corosync. You also need someone who can approve test scenarios that power off or isolate nodes, and a clear agreement on who restores service if a test does not go as planned.

What should we ask a partner to include in a quote?

Ask for a fixed scope that names the nodes, the watchdog driver for each server model, the configuration changes, and the fencing tests to be run. The quote should state what is one-time work, such as configuration and test execution, and what recurs, such as retesting after kernel or firmware upgrades. Ask how failed tests are handled, what evidence is delivered (test logs and a change record), and whether the work includes documentation for your operations team. Quotes follow from the written scope, so the more precise the list of nodes and tests, the more precise the quote.

Why does fencing matter for shared storage guests?

Without fencing, HA may restart a guest on another node while the failed node still believes it owns the same disk, which risks corrupting shared storage. Proxmox VE expects a failed node to reset through its watchdog before its guests are recovered elsewhere. Confirm the sequence on your storage type and make sure the fencing test shows that the failed node is reset before recovery starts. This check should be part of go-live, not an assumption.

How to verify fencing before HA goes live

Fencing is only proven when you break a node on purpose. Before any guest is marked for HA, run controlled failure tests on every node: cut the cluster network to one node, then separately power it off through its management controller. In each case, confirm that the isolated node resets through its watchdog and that its guests are recovered on another node only after that reset has happened. Use test guests with a known write pattern on shared storage so you can check afterward that no data was written from two places at once. Run the tests with the real Corosync links, the real storage paths and the real watchdog module you plan to keep, not a lab substitute. Results depend on your hardware, firmware and network layout, so treat your own runs as the only valid evidence.

Read the logs after every test, not just the console. Check the HA manager and watchdog services on the failed node and on a surviving node, and confirm the sequence of events: loss of membership, fence confirmation, then guest recovery. Note the time between isolation and recovery, and record whether the watchdog fired as expected. If a guest started before the reset was confirmed, or if the failed node came back without a clean reboot, stop and fix the fencing path before go-live. Ask your hardware vendor which watchdog and management controller behavior is documented for your server models, and confirm it against your own results.

Repeat the tests after any change that touches the fencing path. Firmware updates to the server or its management controller, kernel upgrades, a change of watchdog module, and new Corosync or storage networks can all alter behavior that passed earlier. Keep a dated test record for each cluster that lists the Proxmox VE and kernel versions, the watchdog module, the test method, the observed reset and recovery times, and who reviewed the logs. This record is also the evidence your compliance and risk teams will ask for when they review the HA design.

How DeployOpen scopes and delivers HA fencing work

DeployOpen plans, implements, tests and documents watchdog-based fencing for Proxmox VE clusters inside your own infrastructure. Each engagement starts from a written scope so your team knows which nodes, watchdog hardware and verification steps are covered before work begins.

How we scope

  • Inventory each node's hardware and confirm which watchdog device it exposes before choosing a module.
  • Map which guests and shared storage depend on HA recovery, so fencing decisions follow actual failure impact.
  • Agree the written scope, deliverables and timeline for fencing configuration, testing and handover before work starts.

How we build

  • Configure the watchdog module through WATCHDOG_MODULE in /etc/default/pve-ha-manager on each node, applied consistently across the cluster.
  • Validate that the watchdog-mux service loads the intended device and that softdog is not used silently as a fallback.
  • Run controlled node failure tests to confirm that a lost node is reset before its HA guests restart on other nodes.

How we hand over

  • Deliver a fencing configuration record listing module names, device paths, node settings and the change procedure.
  • Document the failure test results, including observed reset timing, guest recovery order and any open findings.
  • Walk your operations team through checking HA and watchdog status before maintenance windows and go-live sign-off.

How we support

  • Support is available as a retainer for watchdog checks after kernel, firmware or Proxmox VE upgrades.
  • Re-run fencing tests when nodes are added, replaced or moved to different hardware.
  • Ask any partner for the support scope, response expectations and change handling in writing before signing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.