Why Corosync network design decides whether healthy nodes get fenced
When a Proxmox VE cluster fences healthy nodes under load or during backups, the usual cause is not the node hardware. Corosync network design is what keeps cluster membership traffic reliable, and a network that delays that traffic for a few seconds can make a healthy node look dead. Corosync is the messaging layer that tells every node which peers are alive, which node holds quorum and when the cluster state changes. The Proxmox Cluster File System and the HA resource manager both depend on that membership view, so a membership failure spreads into guest restarts and fencing.
High availability in Proxmox VE needs at least three cluster nodes for reliable quorum, shared storage for guests, redundant hardware, and watchdog-based fencing so a failed node is reset before its guests are recovered elsewhere (Proxmox VE High Availability wiki). Fencing is the step that makes recovery safe, but it is also the step that turns a short network stall into a reset. A node that misses Corosync heartbeats long enough is treated as failed, and its watchdog will reset it. Confirm that your cluster meets all four requirements before you tune the network, because no network design compensates for a two-node cluster without a tie-breaker or for storage that cannot be reached from every node.
A dedicated Corosync network becomes necessary once other traffic can delay membership packets. Typical culprits are backup streams, live migration, Ceph replication or NFS and iSCSI storage traffic sharing the same physical links as Corosync. Plan a dedicated physical NIC, or at least a separate VLAN with its own priority, for Corosync, and ask your network team to confirm there is no oversubscribed uplink between nodes. Before go-live, record the round-trip latency and packet loss between every pair of nodes during a backup window, because the cluster will only be as stable as its worst observed path.
Which link layout fits which cluster
Many small clusters start with one network that carries everything: management access, guest traffic, migration, storage and Corosync. This is the simplest layout to build and the easiest to understand during a review. Its weakness is that Corosync has to share a path with the heaviest traffic in the cluster, so a busy backup window or a large live migration can delay the heartbeat packets that decide whether a node is still alive.
- Failure protected against: a single link failure is not protected, because there is only one path between nodes.
- Traffic shared with: management, guest networks, live migration, backups and any storage traffic on the same switches.
- Trade-off: the lowest cabling and switch cost, paid for with the highest exposure to latency spikes.
- Suitable for: lab or non-production clusters where a false fence would be an acceptable outcome.
- Check first: whether migration, backup or storage traffic can reach the same physical ports during peak windows.
Confirm with your own traffic measurements whether this layout is acceptable for the workloads you plan to run.
A dedicated physical NIC gives Corosync its own port, its own cable and, ideally, its own switch. The heartbeat no longer competes with guest or storage traffic, which removes the most common cause of false fencing. The cost is one more NIC and switch port per node, plus a separate addressing plan that operations staff must keep in sync with the cluster configuration.
- Failure protected against: congestion and latency spikes on the production or storage network.
- Traffic shared with: nothing else, when the network is kept isolated end to end.
- Trade-off: no protection against a failed NIC or switch port, because the dedicated link is still a single path.
- Suitable for: clusters with heavy migration, backup or storage activity that cannot be moved elsewhere.
- Check first: whether the switch is dedicated to this network or shares an uplink with other traffic.
When a dedicated NIC is the only Corosync path, ask your team what happens to the cluster if that port fails.
Corosync can use more than one link and prefer one over another by priority. Two links on separate physical NICs, ideally on separate switches, let the cluster keep communicating when one path fails. The second link is a standby for failure, not extra bandwidth, so the design is judged by how independent the two paths are rather than by their combined speed.
- Failure protected against: a single NIC, cable or switch port failure.
- Traffic shared with: the second link can be placed on a network that carries little else, which keeps it useful as a fallback.
- Trade-off: extra NICs, switch ports and configuration that must be tested after every change.
- Suitable for: clusters where a single heartbeat path failure would be unacceptable and where the two paths can be made truly separate.
- Check first: whether both links really use separate hardware, and whether failover between them has been tested.
Ask the implementation team to demonstrate a link failure in a test window before production use.
A bond combines several physical interfaces into one logical interface, which can protect against a single link failure at the operating system level. Bonds are common in general server builds, so many teams reach for them first. For Corosync the bond decision has consequences that depend on how the bond is built and what else runs over it, and that trade-off is covered in detail in the bond section below.
- Failure protected against: a single interface failure, if the bond mode and switch configuration are both correct.
- Traffic shared with: whatever else is carried on the bond, which is often the reason this layout causes trouble.
- Trade-off: simpler to reason about for host networking, but it can hide link state from Corosync and mix heartbeat with busy traffic.
- Suitable for: teams that already run bonds for every host network and have validated the behavior for Corosync.
- Check first: whether the bond carries only Corosync or is shared with heavier traffic.
Confirm the bond design with your network team and read the bond trade-off section before deciding.
Corosync link options and when each fits
This table compares five ways to carry Corosync traffic, showing what each option isolates, when it fits and the main risk it carries. Read it as a ranking of isolation: the further the cluster heartbeat is from bulk traffic and shared failure points, the less likely a latency spike will trigger a fence.
| Option | What it isolates | When it fits | Main risk |
|---|---|---|---|
| Shared management network | Nothing beyond the general admin path | Lab or non-production clusters where fencing consequences are acceptable | Backup, migration or storage traffic can delay heartbeats and trigger fencing |
| Dedicated physical NIC per Corosync link | Cluster heartbeat from all bulk traffic | Production clusters with a spare NIC and separate switch ports for each node | A single switch or cable failure still breaks the link if no second path exists |
| Second Corosync link on a separate path with priority | A failed link or path, with traffic moving to the next priority | Production clusters where each node can reach the other on two independent networks | Both links may share a switch or uplink unless paths are truly separate |
| Bonded Corosync interface | Single NIC failure at the link layer | Teams that want link failover handled by the bond driver and have matching switch configuration | Bond mode and switch behavior can hide or delay failover, and heavy traffic on the bond can still starve heartbeats |
| Separate VLAN on shared switches | Logical traffic separation only | Sites with limited ports that still need traffic segmentation | Shared switch buffers, uplinks and failures affect every VLAN, so latency spikes still reach the heartbeat |
Why bonds and shared storage networks cause fencing trouble
Corosync is sensitive to delay and loss on the links it uses, and most fencing incidents trace back to something else sharing that path. The cards below cover the traffic, hardware and configuration sources that most often push token timeouts past their limit.
Bonds that hide failover
A bond can fail over between member NICs or switches without the ring ever seeing a link drop. During that switchover, Corosync packets can stall long enough to miss the token timeout, and the node may be fenced even though nothing looked broken from the host. Confirm the bond mode, which switch ports each member uses, and how long a single member failover takes in a test. If Corosync needs a dedicated path, prefer separate links with their own priorities over a bond that mixes it with other traffic.
HA requirementsShared storage saturating the link
When storage or live migration traffic uses the same physical link as Corosync, a large transfer can fill queues and delay small cluster packets. The result looks like a network fault at random times, often during backups, rebuilds or migrations. Check which networks carry NFS, iSCSI, Ceph or migration traffic on each node, and measure link utilization during the heaviest storage job you run. Corosync should not share a link with traffic that can saturate it.
Backup jobs on the same uplink
Backup jobs that stream to a remote Proxmox Backup Server or a NAS often leave the node through the same switch uplink used for cluster traffic. A nightly job can create a bandwidth spike that delays heartbeats only for a few minutes, which is enough to trigger fencing. Confirm where backup traffic exits each node, whether the path crosses an uplink shared with the Corosync VLAN, and whether backup windows overlap with any known peak. Look at the timing of past fencing events against the backup schedule.
MTU and VLAN tagging mismatches
A jumbo frame MTU set on one node but not on the switch, or a VLAN tag applied on one side only, can cause intermittent drops that look like latency. Small packets may pass while larger ones fail, so basic pings can hide the problem. Verify the MTU end to end with non-fragmenting pings sized for the configured value, and confirm the tagged VLAN is allowed on every trunk port that carries the Corosync network. Apply the same settings on every node so no single host behaves differently.
Flow control and spanning tree events
Switch-level flow control can pause traffic in ways that delay Corosync for longer than the token timeout, while a spanning tree topology change can briefly block forwarding on a port. Both events can happen with no visible link loss on the host. Check the switch configuration for flow control on the Corosync ports, whether PortFast or an equivalent edge setting is used for node-facing ports, and the switch logs for topology change notifications at the times of past fencing events. Ask the network team to confirm these settings in writing before go-live.
How to set up redundant Corosync links on a new cluster
This sequence produces a new Proxmox VE cluster where each node has two independent Corosync links on separate subnets, with priorities set so cluster traffic can fail over without fencing healthy nodes. Each step ends with a check you can run before moving on.
Map physical NICs and switch paths
Before any configuration, the network engineer and the platform engineer list every node's physical NICs, the switch and VLAN each port lands on, and whether the two Corosync ports use separate switches or separate paths through the fabric. Record the interface names as the operating system reports them on each host, since names can differ between identical servers. Done means you have a written map showing which NIC carries link 0 and which carries link 1 on every node, and that no two links share a single NIC, cable or upstream switch. Confirm the switch topology with your network team rather than assuming it from the diagram.
Assign a dedicated subnet to each link
Assign each Corosync link its own non-routed subnet, with one address per node on each subnet, and keep both subnets off the VM bridges and away from storage and migration traffic. The platform engineer records the addresses in the cluster design document and in DNS or the hosts file, using the same node names everywhere. Done means every node can be pinged on its link 0 address from every other node, and every node can be pinged on its link 1 address, with no traffic leaving the dedicated VLANs. If the links share a subnet with other services, treat the design as not ready.
Configure both links at cluster creation
When you create the cluster, the platform engineer defines both links with the link addresses for each node so that Corosync knows about the second path from the start, using the cluster creation options described in the Proxmox VE documentation. Confirm the exact command options against the version you are deploying, since syntax changes between releases. Done means the cluster is created with two link addresses listed for every node in the cluster configuration, and no node was joined on a single link. If you are building the cluster from a single node first, plan the second link before the first node joins so you do not have to rebuild membership later.
Set link priorities
Set the priority of each link so Corosync prefers the dedicated low-latency path and falls back to the second link only when the first is unavailable. The platform engineer sets the priority values in the cluster configuration, keeps the same ordering on every node, and writes the chosen values into the design record. Done means every node reports the same priority for each link in the cluster configuration, and the ordering matches the design document. Ask the vendor or the official documentation which priority values are supported for your version before you choose numbers.
Verify each node sees both links
After the configuration is applied, the platform engineer checks the Corosync status on every node and confirms that each peer is reachable on both links with no flapping. Review the link state output and the cluster membership listing from each host, not only from one node. Done means every node shows all peers connected on link 0 and link 1, quorum is held by the full membership, and the log for the Corosync service contains no repeated link down messages over a sustained observation period. If any peer shows only one link, return to the subnet and firewall checks in the previous steps.
Test a single-link failure in a maintenance window
Schedule a maintenance window with the change owner and the application owners, and confirm that HA is paused for guests whose behavior you do not want to test. The platform engineer disables one link on one node at a time, by unplugging or administratively downing the interface, and watches whether the remaining link carries cluster traffic and whether any node is fenced. Repeat for each node and for the other link. Done means each single-link failure leaves all nodes in quorum with no fencing, and the test results, timestamps and log excerpts are saved with the change record. Restore the link and confirm both paths are healthy again before closing the window.
How the Corosync links and traffic paths fit together
The diagram starts at each node's dedicated Corosync NIC, which runs to its own switch and carries the cluster vote. A second Corosync link takes a separate path through another switch, so one failed link or congested switch does not isolate a node. Storage and migration traffic sit on their own network and never share the Corosync links. Check that the two Corosync paths really share no switch, cable or bond, and that the other networks cannot push traffic onto the Corosync segment.
Two Corosync links on separate switches, with storage traffic kept off them.
Adding a second link to an existing cluster safely
Adding a second Corosync link to a running cluster is a change to the network that holds membership together, so the plan has to treat it as a controlled, node-by-node operation rather than a configuration edit. Start by allocating the new subnet and addresses on paper: a dedicated VLAN or physical segment that is separate from the existing link, with one fixed address per node and no routing into the storage or guest networks. Record the address each node will use on the new link, confirm that every node can reach every other node on it, and decide in advance which link will carry the highest priority. Confirm the exact procedure, including how the new link is written into the cluster configuration and how the configuration version is incremented, against the current Proxmox VE documentation for your release, and rehearse the full sequence on a non-production cluster first.
Apply the change one node at a time and stop after each node to verify it. After a node is updated, check that it rejoins the cluster with pvecm status and confirm that the expected number of votes is still reached. Then check the link state for the new ring, for example through corosync-cfgtool -s, and confirm that the link reports as up on every node you have touched so far. Do not move to the next node until the previous one shows both links healthy and membership unchanged. Keep the existing link untouched until every node is confirmed on the new configuration, so a mistake in the new subnet never removes the path the cluster already relies on. Keep a copy of the previous configuration so you can roll back in a known state.
Schedule the change for a window with no backups, replication jobs, live migrations or HA recoveries running, because a membership event during those operations can leave guests in an unclear state. Check that no maintenance or manual migration is in progress, and confirm that the cluster is quorate before you start and after each node. Plan a validation step after the change: pull the new link on one non-critical node in a test window and confirm that the cluster keeps quorum and that the link failover behaves as expected. Ask your partner or internal team to document each step, the addresses used, and the verification output, so the change is auditable and can be repeated on the next node or cluster.
Security and operational considerations for the Corosync network
The Corosync network carries cluster membership and quorum traffic, so its exposure and its upkeep matter as much as its design. The cards below cover isolation, access, link monitoring, documentation and change control, each of which should be confirmed in your environment before go-live.
Isolate Corosync from guest and user traffic
Keep the cluster ring on its own physical switches or VLAN, with no guest bridges, user access or backup streams sharing the path. Guest traffic and bulk transfers can saturate a link and delay the token messages Corosync depends on, which is a common route to unexpected fencing. Confirm with your network team that no VLAN trunk, uplink or firewall policy on that segment carries anything other than cluster traffic.
Restrict who can reach the ring
Corosync traffic should only be reachable from the cluster node addresses on the ring subnets. Anyone who can inject packets into that segment can disrupt membership, so host firewalls and switch port policies should allow only the expected peers. Ask your security team to confirm that management access to the ring network is limited to administrators and that the ring is not routed to user networks.
Monitor link state continuously
A ring that looks healthy at go-live can degrade silently, for example when a cable fails and the other link carries everything. Alert on link down events, flapping interfaces and error counters on each ring interface, not only on cluster membership changes. Check that your monitoring system can see the ring NICs separately from the bond or management interfaces, so a single failed path is visible before the second one fails.
Document addressing and switch ports
Keep a current record of each node's ring addresses, the interface names used for each link, the switch and port each link plugs into, and the priority assigned to each ring. During an incident, this record is what lets an operator confirm which path failed without guessing. Stable interface names should be pinned so a reboot or hardware swap does not silently move a ring to another NIC. Ask for this document as a deliverable before handover.
Route ring changes through change control
Changing IP addresses, MTU, switch configuration or ring priorities can break quorum on a live cluster. Require a written change plan, a rollback path and a maintenance window for every ring modification, and review the cluster status after each step. Confirm that your change board knows which network changes affect Corosync, since a routine switch firmware update can alter latency on the ring.
Corosync network questions buyers ask before hiring help
Do I need a dedicated physical NIC for Corosync in Proxmox VE?
A dedicated NIC is strongly preferred, but the real requirement is that cluster heartbeat traffic is not delayed by anything else. Corosync sends small, frequent messages, and when those messages share a link with backups, live migration, storage replication or heavy guest traffic, queueing delay can exceed the timeouts that decide whether a node is considered lost. A separate physical network, or at minimum a link that carries nothing else, removes that dependency. Confirm the design against the Proxmox VE High Availability guidance and your own latency measurements before you accept any shared arrangement.
Is a bond acceptable for the Corosync network?
A bond can be acceptable when it is used only for cluster traffic and its members are on separate switches, but it is not a substitute for a second Corosync link. Bonding protects against a single NIC or cable failure, while Corosync redundancy with multiple links lets the cluster fail over between networks it can reach independently. The common trouble is a bond that also carries migration, storage or VM traffic, because a saturated bond delays heartbeats just as a saturated single link does. Ask your engineers to show the traffic mapping for each link before go-live.
What drives the cost and effort of a Corosync network redesign?
The main drivers are the number of nodes, how many networks are already in use, whether NICs, switches and cabling must be added, and how much of the current traffic must be moved off shared links. Cost splits into hardware you buy, change windows you schedule, and engineering time for the design, the change and the testing. Hardware is usually one-time, while monitoring and periodic failover testing recur. Ask any partner for a quote that lists the current topology, the target topology, every change to switches and host configuration, and the test plan.
How long does it take to retrofit a new Corosync network into a running cluster?
Duration depends on the number of nodes, the availability of cabling and switch ports, the size of the maintenance window, and whether guests must be moved off nodes during each change. Adding a link is usually done one node at a time so the cluster keeps quorum throughout, and each step needs verification before the next begins. Because no timeline figure is supplied for this work, ask the vendor or partner for a schedule based on your topology, and confirm which node changes require HA to be paused.
What does my team need to provide for a network redesign?
Your team should provide an accurate inventory of hosts, NICs, switches, VLANs and current traffic flows, plus access to change windows and a named owner for network and hypervisor decisions. You also need documented IP plans for each cluster network, out-of-band access to every node in case a change breaks connectivity, and recent backups of cluster configuration. Engineers should be available to approve switch changes, because many redesigns fail on port settings or MTU mismatches rather than on Proxmox VE itself.
Can my own team redesign the Corosync network without outside help?
Yes, if your team has hands-on experience with Linux networking, Corosync, switch configuration and Proxmox VE cluster operations, and can test failover without risking production. The difficult part is rarely the configuration file; it is proving that a latency spike or a failed link does not fence a node during real load. An external partner can run the design review, the staged change and the failover tests as a fixed-scope piece of work, while your team keeps ownership of the result. Decide based on whether you can staff those tests in your own environment.
How do I validate a Corosync network design before go-live?
Validation should prove three things: each link can carry cluster traffic independently, failover between links works under load, and the cluster does not fence a node during a realistic latency event. Test each link by pulling it while guests run, then measure Corosync status and HA behavior. Add background load on shared networks to show the effect of contention, and check that fencing status and watchdog behavior match the design. Record every result so the evidence can be reviewed later, and repeat the tests after any switch or kernel change.
How DeployOpen scopes and delivers Corosync network design
DeployOpen plans, builds, tests and documents the Corosync network for your Proxmox VE cluster inside your own infrastructure. The work is fixed-scope, with the network layout, link priorities and verification steps agreed in writing before any node is changed.
How we scope
- We review node count, NIC inventory, switch topology and where storage and migration traffic currently run.
- The written scope names each Corosync link, its subnet, its priority and the cluster nodes it covers.
- Engagements are fixed-scope, and ongoing support is available as a retainer once the cluster is live.
How we build
- We configure a dedicated physical network for cluster traffic and keep it separate from VM, storage and migration networks.
- We set redundant links with explicit priorities and confirm that failover between them behaves as designed.
- We test latency spikes and link loss under load and record the results against the agreed acceptance criteria.
How we hand over
- You receive the network diagram, the Corosync configuration as deployed and the addressing plan for each node.
- The runbook covers adding a link to an existing cluster, checking link status and the steps for a failed NIC.
- We walk your platform and network teams through the verification evidence so they can repeat the tests themselves.
How we support
- Support covers changes to link layout, new nodes and switch replacements, scoped in writing as each change arrives.
- Periodic retesting after Proxmox VE upgrades or switch firmware changes can be included in a retainer.
- Operational questions about link health are answered against the documented design, so your team keeps a single source of truth.

