Node maintenance in a Proxmox VE HA cluster

Taking a Proxmox VE HA node down without losing guests depends on the shutdown policy, maintenance mode and guests that cannot move. This page explains the choices and how to plan them.

On this page

Why node maintenance in a Proxmox VE HA cluster needs a plan

Taking a node offline for a patch window or a hardware swap is safe only when you have decided, in advance, what happens to the HA guests on that node. The outcome depends on three things: the HA shutdown policy set for the datacenter, whether you put the node into manual maintenance mode before shutting it down, and whether each guest can actually move to another node. If any one of these is left to default behavior, a routine reboot can leave guests stranded, delayed or restarted at the wrong moment.

HA treats a planned shutdown and a failure differently, and the difference matters. When a node fails, the cluster must establish that the node is gone, the watchdog resets it, and HA then recovers its guests elsewhere. A planned shutdown is a deliberate event that the HA stack can handle more gracefully, but only if the shutdown policy and maintenance state tell it what you intend. The shutdown policy is set under Datacenter, Options, HA Settings or in datacenter.cfg. Conditional is the default for backward compatibility, while Migrate makes the node mark itself unavailable and delays shutdown until HA services have moved. Confirm which policy your cluster uses before the window opens, not during it.

Teams need this page before any planned work on a node that runs HA guests: kernel and firmware patching, memory or disk swaps, network changes that affect Corosync, or a full cluster shutdown. Read the Proxmox VE high availability chapter alongside your own inventory of guests, their local resources and their affinity rules. The rest of this page works through the policies, the guests that cannot move, and when to disarm HA entirely, so that the maintenance plan you write matches what the cluster will actually do.

How a node leaves the HA cluster for maintenance

The path starts when an operator puts a node into maintenance or starts a shutdown. The HA shutdown policy under Datacenter, Options, HA Settings decides whether HA services must move off the node first. With the Migrate policy, the node marks itself unavailable and waits until its HA services have moved. Before work begins, check for guests that local resources such as passthrough devices or local storage keep from moving, and resolve them first. Disarming HA is a separate, cluster-wide step for work that touches every node.

Planned node exit from an HA cluster, with the policy check and guest review.

Which HA shutdown policy fits your cluster

Conditional is the default shutdown policy in Proxmox VE HA. Proxmox VE keeps it as the default for backward compatibility, so clusters that have never changed the setting are running with it. It is the value you will find in place on an existing cluster unless someone has deliberately changed it, which makes it important to check before any planned maintenance window rather than assuming the behavior you expect.

  • Default value: Conditional is the default, kept so that existing clusters keep their established behavior after upgrades.
  • Where it is set: Datacenter, Options, HA Settings in the web interface, which is stored in datacenter.cfg.
  • Behavior to verify: Confirm in the high availability chapter for your installed version exactly how Conditional handles HA-managed guests during a shutdown or reboot.
  • Local resources: Guests that depend on local resources may stay on the node, so plan for them separately from HA-managed guests that can move.
  • Test before relying on it: Run a planned reboot of a non-production node and observe where each HA guest ends up.

Before you schedule maintenance, read the value shown in the Datacenter HA settings and confirm it matches what your runbook assumes.

Maintenance options and when each fits

This table compares the maintenance approaches available in a Proxmox VE HA cluster, from manual maintenance mode to disarming HA entirely. Read each row by asking what happens to HA guests when the node goes down and what you must check before choosing it. The main takeaway is that the Migrate policy moves guests first, while the Conditional default depends on the state of each node.

OptionWhat it doesWhen it fitsMain trade-off
Manual maintenance modeMarks the node so HA stops placing or recovering guests there, letting you migrate guests off by hand before work begins.Planned work where you want to choose the order of guest moves and watch each one finish.Depends on operator steps; forgotten steps leave guests on the node when it goes down.
Conditional policyThe default shutdown policy, kept for backward compatibility. Its behavior depends on the node's state at shutdown, so confirm exact conditions in the HA chapter.Environments that already rely on the default and have tested how it treats their guests.Outcome is less predictable than an explicit policy, so test it on a non-production node first.
Migrate policyThe node marks itself unavailable and delays shutdown until HA services have been moved to other nodes.Routine patching or hardware work where HA guests should leave the node automatically before reboot.Shutdown waits for moves to finish, so it takes longer and needs spare capacity on other nodes.
Disarming HA for cluster-wide workStops HA management of guests so the cluster can be changed or shut down without HA acting on it.Cluster-wide tasks such as network changes or planned full shutdowns, with guests stopped or moved deliberately.HA protection is off while disarmed, so a failure during the work will not be recovered automatically.
Guests pinned to local resourcesGuests tied to hardware on one node, such as passthrough devices or local storage, cannot move through HA.Use as a checklist item before any maintenance that touches the host.These guests need a planned outage or a different design; confirm their placement rules before work starts.
Other policy valuesThe HA chapter documents additional shutdown policy values beyond those described here.Check the full list before choosing a policy for production.Confirm each value and its behavior in the HA chapter for your Proxmox VE version.

Guests that cannot move because of local resources

Some guests cannot follow a node out of the cluster, and HA can only move the rest. Each of the blockers below turns a routine drain into a decision about downtime, so identify them before the maintenance window opens.

PCI and USB passthrough devices

A guest with a passed-through GPU, HBA, NIC or USB device holds a physical device that exists only on one host, so it cannot live-migrate to another node. Under HA, the guest will not simply relocate, and it stays on the node until you stop it or move the hardware binding. Before maintenance, list each VM with hostpci or usb entries, confirm whether an equivalent device exists on another node, and decide whether the guest will be stopped for the window or accept downtime during the outage.

HA manager docs

Local storage that is not shared

Guests whose disks sit on local LVM, a directory or a node-local ZFS pool have no copy on the other nodes. Moving them requires a storage migration, which copies data over the network and takes far longer than a memory-only move, and HA cannot restart them elsewhere because the disk is absent. Check each disk's storage ID with qm config and confirm whether it is backed by shared storage such as Ceph or NFS. Decide whether to migrate the disk ahead of the window or accept that the guest is offline.

Guests pinned by affinity rules

Node affinity and resource affinity rules can restrict an HA guest to a specific node or keep it apart from others. When the only permitted target is the node under maintenance, the guest cannot be evacuated, and conflicting rules can leave it stranded. Review the rule set before the window and confirm that every affected guest still has a valid target. The rule syntax and conflict handling are covered on the sibling page on Proxmox VE HA node and resource affinity rules.

Local resources on the host

Guests may depend on host-only resources such as a local bridge tied to a specific NIC, a dedicated CPU pinning layout, or a local-only device mapping. These settings do not exist on a target node with different hardware or network naming, so the guest can start elsewhere but fail to run correctly. Compare the host configuration across nodes, check interface names and device mappings, and test a non-production move of one representative guest if the nodes are not identical.

Guests with no valid target node

A guest can be eligible to move in principle and still have nowhere to go when the remaining nodes lack free memory, or the cluster is already short of quorum headroom. In that state the shutdown policy waits or the guest is stopped, which can extend the maintenance window without warning. Confirm available memory and CPU on the surviving nodes for the total load of the evacuated guests, and document any guest that must be stopped instead of moved.

How to take a node down for maintenance in order

This sequence takes one node out of a Proxmox VE HA cluster without fencing it or stranding its guests. Each step ends with a check you can run, so the node goes offline only after the cluster and its HA services are ready for it.

  1. Confirm quorum and cluster health

    Before touching any node, confirm the cluster has quorum and every node is healthy. In the web interface, open Datacenter, then Cluster to see each node's status. On the CLI, run pvecm status on any node and confirm the quorum line shows enough votes for the cluster to operate, and run ha-manager status to check that no HA service is in an error or fence state. Do not continue if a node is already down or a service is failing, because taking a second node offline could cost quorum. The step is done when quorum is present and no HA service reports an error.

  2. Review the HA shutdown policy

    Check the shutdown policy that decides what happens to HA guests when a node is shut down. In the web interface, go to Datacenter, Options, HA Settings, or open datacenter.cfg on a cluster node. The default is Conditional, which is kept for backward compatibility. With Migrate, the node marks itself unavailable and delays shutdown until its HA services have moved to other nodes. Confirm which policy is set and whether it matches your plan for this node. The step is done when you have written down the active policy and know which guests it will move automatically.

  3. Enter maintenance mode or shut the node down

    Start the node's evacuation. In the web interface, select the node and use the option to enter maintenance mode, which asks the HA manager to move the node's HA-managed guests to other nodes. You can also shut the node down under the active shutdown policy and let the policy move guests. Before you proceed, confirm that the other nodes have enough free memory and CPU for the moved guests, and that any guests with local resources are planned separately. The step is done when the maintenance request is accepted and the node shows that it is being evacuated.

  4. Verify HA services moved and guests are running elsewhere

    Confirm the evacuation before you start work. Run ha-manager status and check that the services previously on this node are now listed on other nodes in a started state. In the web interface, review the guest list per node and confirm the node holds no running HA guests. Also check for guests that did not move, such as those pinned to local hardware or disks on the node's own storage. Those guests need a separate plan before the node goes down. The step is done when no HA-managed guest remains on the node and every moved guest reports as running on its new host.

  5. Perform the maintenance work

    With the node evacuated, carry out the planned work, such as a kernel or package update, a memory or disk replacement, or a firmware change. Keep the node's network links and Corosync links in mind, since changes to them can affect cluster communication even while the node is idle. Record what changed so you can match it to the post-maintenance checks. The step is done when the work is complete and the node is ready to boot or return to service.

  6. Bring the node back online

    Power on the node or exit maintenance mode. Wait for the node to finish booting and for its network and Corosync links to come up. Use the web interface to confirm the node appears as online in the cluster view, and run pvecm status to check that the node is counted in the membership. The step is done when the node reports as a cluster member and the cluster shows the expected number of votes.

  7. Confirm the node rejoins HA and rebalances

    Finish by checking that the HA manager sees the returned node as available. Run ha-manager status and confirm the node is listed as active, with no fence or error state. Decide whether guests should move back to the node; if you want them back, move them deliberately rather than assuming the cluster will do it. Review the cluster log for any errors from the maintenance window. The step is done when the node is active in HA, no services are in error, and you have recorded the final guest placement.

When to disarm HA for cluster-wide work

Disarm HA only when a cluster-wide task would otherwise trigger recovery or fencing that works against you. HA is designed to react to a node that stops responding: Proxmox VE expects the node to be reset by its watchdog and then restarts its guests elsewhere. During a full cluster shutdown, a network change that interrupts Corosync on every node, or a storage path change that hits all hosts at once, that reaction can fire in the wrong order. Nodes may fence each other, guests may start on partially reachable hosts, or quorum may be lost before the work is finished. The question to answer before the window opens is which guests HA would try to move, which nodes it would fence, and what state you want the cluster to be in when HA is switched back on.

Plan the sequence on paper before touching any node. List the HA-managed guests and their current nodes, confirm which nodes need to stay up to keep quorum for the task, and decide the order of shutdown and power-on. Make sure your fencing setup and watchdog behavior are understood for this exact scenario, and confirm how the HA resources are set to be stopped or left alone during the change. Also confirm how your installed Proxmox VE version handles disarming and re-arming HA, since the exact commands, their options and their effects can differ between releases, so check them against the official high availability documentation for your version in a lab before using them in production.

Re-arming is part of the change, not an afterthought. Once the work is complete and every node has rejoined with quorum, verify that the HA manager reports the expected state for each resource, that guests sit on the nodes you intended, and that fencing is active again on every node. Then restore HA services in the order you planned and watch the cluster for a full cycle before closing the window. Record each step, the commands used and the observed states, because that record is the evidence you will need if a guest fails to come back or an auditor asks how the change was controlled.

Security and operational risks during maintenance

Maintenance on an HA cluster changes which node holds which guest, and that change is where most surprises start. The cards below cover the risks that connect fencing, guest placement, management access and records, and the control the team can apply to each.

Accidental fencing or recovery

If a node is powered off or its Corosync links go quiet without HA being prepared, the watchdog can reset the node and HA will restart its guests elsewhere. Confirm the HA shutdown policy before any reboot, and confirm that the node's guests have a valid place to move. Check fencing status and quorum on the remaining nodes before you start, and keep a written step for each node in the sequence.

HA administration guide

Guests left in an unexpected state

A guest that was stopped, migrated halfway or blocked by a local resource can end the window in a state nobody planned. Before maintenance, list every HA resource with its current node and status, and note any guest that depends on local hardware. After each node returns, compare the list against the start state and resolve differences before you close the change.

Administrative access during maintenance

During maintenance, administrators often use shared root logins, temporary API tokens or console sessions that outlive the task. Limit the people who can reach the management interface for the window, use named accounts with two-factor authentication, and remove temporary credentials when the work ends. Review who performed each action in the logs, because the management plane controls every node in the cluster.

Change records for audit

An auditor will ask what changed, who approved it and whether the cluster returned to its expected state. Record the start state, the shutdown policy in use, each node's maintenance steps, the time each node left and rejoined, and the post-work verification output. Store the record with the change ticket so the evidence exists even if the people involved have moved on.

Unverified return to service

A node that boots cleanly can still have a degraded Corosync link, a stale watchdog or guests that have not moved back. Define a return-to-service check: quorum, all links up, HA resources in their expected state, and storage reachable from the node. Do not start the next node until that check passes for the current one.

Questions teams ask before maintenance on an HA cluster

Can our own team run maintenance on a Proxmox VE HA cluster?

Yes, if the team already runs Linux servers and has a tested change process, the work is within reach of an in-house team. The steps themselves are short: set the node into maintenance, let HA move the guests, patch or reboot, then return the node to service. What decides whether it stays simple is preparation. Teams need to know which guests use passthrough devices or local disks, whether a second node has the capacity to absorb them, and how the shutdown policy behaves on their version. A partner is most useful when the cluster has unusual constraints or when the team has never rehearsed a node loss.

What drives the effort of a maintenance window?

The main drivers are the number of nodes, the number of HA-managed guests, and how many of those guests can actually move. Effort rises when guests depend on local resources such as passthrough GPUs, local ZFS volumes or node-specific network paths, because those guests need a different plan. Shared storage design, migration network speed, and affinity rules also shape the work. Another driver is verification: checking guest health, replication jobs, backup jobs and Corosync status before and after each node is a real share of the time. Ask any provider to break its estimate down by these items rather than by a single number.

What skills and access does the team need for node maintenance?

The team needs administrator access to the Proxmox VE web interface and shell on each node, working knowledge of the ha-manager command line, and enough understanding of storage and networking to predict what a moved guest will reach. Someone should also be able to read Corosync status and recognize when quorum is at risk. Change control matters as much as technical skill: the team needs an agreed maintenance calendar, a rollback plan, and a named person who can disarm HA for cluster-wide work. Keep a copy of current guest inventory and node configuration available outside the cluster before the window opens.

How long does it take to empty a node before maintenance?

No reliable figure is available for a general case, so measure it in a test before you plan a production window. Evacuation time depends on how much memory and disk each guest holds, the speed of the migration network, and whether guests use shared storage or need their disks copied. Run a timed evacuation of one node in a staging cluster that matches production as closely as you can, record how long each guest takes, and repeat it at peak load. Use the slowest realistic result when you set the window length, and include time for guests that stay behind.

What does a partner scope for node maintenance?

A partner scope usually starts with an inventory of nodes, guests, storage, networks and HA resources, then a review of the shutdown policy and any guests that cannot move. It typically includes a written maintenance runbook for each node role, a rehearsal of at least one planned evacuation and one unplanned node loss, and a rollback path if a guest fails to start on its new node. Ask for the deliverables to be listed in the written scope, along with what the client must provide, such as test hardware, access windows and a named change owner. Recurring work, such as patching cadence support or retainer coverage, should be quoted separately from the one-time runbook and rehearsal.

Which parts of the cost recur after the first maintenance plan is written?

The one-time costs are the design review, the runbook, and the first rehearsal. Recurring costs come from each maintenance cycle, from repeating the evacuation checks, and from keeping the runbook current when the cluster changes. Proxmox VE subscriptions are a separate, recurring item: they are priced per CPU socket per year, with tiers that differ in support ticket allowance and response time, and the software features are the same across tiers according to the Proxmox VE pricing page. Whether a team needs a support tier, and which one, depends on how quickly it must reach vendor help during a maintenance window.

What should we check before we disarm HA for cluster-wide work?

Before disarming HA, confirm which guests are HA-managed, record their current nodes, and confirm that no node is in an unplanned failure state. Disarming HA means the cluster will not restart or relocate guests automatically during the work, so the team must be ready to start guests by hand if a node resets. Check quorum, check that backups are complete and current, and confirm that the shutdown policy is set as intended. Re-enable HA only after every node is back, quorum is stable, and HA resources show the expected state. Write the steps down so the same sequence can be repeated.

How DeployOpen scopes HA maintenance procedures

DeployOpen plans and documents maintenance runbooks for Proxmox VE HA clusters inside the client's own infrastructure, so that each node reboot, hardware swap or cluster-wide change follows a written sequence. A runbook for this topic typically covers the datacenter HA shutdown policy, the manual maintenance mode for each node, the order in which guests are moved, the checks run before and after each step, and the rollback path if a guest will not migrate. The work starts with an inventory of the cluster as it actually runs: which guests are HA-managed, which depend on local disks, passthrough devices or node-specific resources, and which affinity rules already pin them. Those findings decide the procedure, so the reader should expect the scoping conversation to cover these details before any document is written.

Where the client agrees, DeployOpen tests the runbooks in a lab that mirrors the production cluster's node count, storage type and HA configuration, so the team can see how a Migrate or Conditional shutdown behaves with the client's guests before a live maintenance window. The lab scope, including how closely it must match production and which failure cases are rehearsed, is agreed in writing with the rest of the engagement. Most engagements are fixed-scope, with the deliverables, the systems covered and the timeline set out in a written agreement before work begins. Ongoing support, runbook updates after cluster changes and periodic retesting are available as a retainer. Quotes follow from the written scope, so the reader should ask for a quote that itemizes the cluster inventory, runbook authoring, lab testing and handover, and states which of those recur under a retainer.

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.