Troubleshooting Corosync and cluster communication

How to diagnose Proxmox VE nodes that drop out, fence or show the cluster as inquorate, covering link status, latency, token timeouts and safe corosync.conf edits.

On this page

Troubleshooting Corosync on Proxmox VE when nodes drop out or lose quorum

Corosync is the cluster communication layer that tells every Proxmox VE node which peers are alive and whether the cluster has quorum. When it is healthy, the Proxmox Cluster File System can replicate configuration and HA can make decisions about guests. When it is unhealthy, nodes can fence, the cluster can show as inquorate, and guests can stop during what looked like a short network event. Teams need this troubleshooting when a node was fenced without an obvious hardware failure, when the web interface shows the cluster as inquorate, or when guests stopped during a switch reboot, a link flap or a backup window that saturated a network. This section covers the first checks: what the cluster reports, how links and latency look, and why timing settings matter.

The documented HA requirements make this more than a cosmetic problem. Proxmox VE HA 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. Corosync membership decides when a node is considered lost, so a token timeout that is too short can fence a node that was only briefly congested, while one that is too long delays recovery. Before changing anything, confirm which networks Corosync uses, how many links are configured and whether the switches between nodes can carry that traffic without queuing.

Start by reading the state rather than editing the configuration. Check membership and quorum on each node, confirm that every node sees the same member list, and review the Corosync logs for token timeouts and retransmits around the time of the event. Then test each link between every pair of nodes for loss and latency during a period of load, because a link that is fine when idle can drop packets once backups or replication start. Record what you find, since the evidence determines whether the fix is a network change, a timing change or a hardware repair.

Edits to corosync.conf need care. The file is replicated across the cluster, so a change made on one node can take effect on others in the wrong order, and an error can leave nodes unable to agree on membership. Make a backup, change one setting at a time, and follow the official procedure for applying a new configuration version. Treat any change to token timing as a decision with a documented reason and a test plan, and confirm the exact procedure for your release in the Proxmox VE administration guide and with your support channel before a production change.

From link problem to fencing and guest recovery

The diagram starts with a network fault or latency spike on a Corosync link. When heartbeats stop arriving within the token timeout, the surviving nodes form a new membership. If the remaining nodes hold quorum, the cluster keeps running and HA decides what to do with the lost node. Before any guest is restarted elsewhere, the failed node must be reset by watchdog-based fencing. Check link health and membership logs first, because a fencing event is usually the last step of a chain that began on the network.

Failure path from a Corosync link fault to HA guest recovery on surviving nodes.

Diagnosing a cluster that shows nodes offline or inquorate

This sequence separates a broken network path, a faulty node and a quorum loss before anyone edits configuration. Each check narrows the cause, so the fix is chosen from evidence rather than guesswork.

  1. Confirm which nodes see which

    Run pvecm status and pvecm nodes on each node and write down the member list that node reports. Compare the lists side by side. A node missing from some views but present in others points to a broken path between specific nodes. A node missing from every view points to that node, its network interface or its power state. The check is complete when you have one membership table covering all nodes.

  2. Read Corosync link status on every node

    Run systemctl status corosync to confirm the service is running, then run corosync-cfgtool -s on every node to show the state of each configured Corosync link. A link down on one node only suggests a fault on that node's interface, switch port or VLAN. A link down on every node suggests a shared switch, a changed address or a configuration mismatch. Confirm the command output against the administration guide for your Proxmox VE version. The step is done when each node reports every configured link.

  3. Check time sync, loss and latency

    Confirm each node's clock is synchronized with the time service your hosts use, such as chronyc tracking if chrony is in use. Then test the cluster network between every pair of nodes with ping, looking at packet loss and round-trip times, and with omping if your team uses it for multicast tests. Loss, rising latency or jitter on the Corosync network suggests congestion, a duplex mismatch or a failing cable. The step is done when you have loss and latency figures for every node pair.

  4. Review logs for token timeouts

    Read the Corosync and cluster file system logs on each node with journalctl -u corosync and journalctl -u pve-cluster, starting from when the fault began. Look for token timeouts, retransmit messages and membership changes. Repeated token timeouts with clean link status suggest latency or congestion on the path, or a token value too low for that path. A membership change preceded by entries from one node points to that node. The step is done when you have a timeline that matches the link and latency results.

  5. Confirm quorum before any change

    Run pvecm status and read the quorum and expected votes lines before changing anything. A partition with quorum can keep managing guests, while a partition without quorum blocks cluster configuration changes. Do not force votes with pvecm expected until you know why quorum was lost and which partition holds the current configuration. The step is done when you can state whether quorum exists and which side holds it.

  6. Choose the fix from the evidence

    Pick one fix that matches the findings: repair the physical or switch path, adjust the Corosync token setting, or recover the failed node. Record the evidence from the previous steps in the change ticket. The safe procedure for editing the Corosync configuration is covered on the next part of this page, and it should be followed before any change is made. The step is done when the chosen fix and its supporting evidence are written down and agreed by the team.

Which Corosync setting to change for which symptom

This table pairs each Corosync lever with the symptom it addresses, when it fits and what it costs. Read it before editing corosync.conf, because several levers trade faster failure detection against the risk of false fencing. Confirm default values for your Proxmox VE version before you change anything.

LeverWhen it fitsTrade-off to weigh
Dedicated cluster network for CorosyncNodes drop out when storage, backup or migration traffic saturates the shared link, and token timeouts appear during those periods.Needs extra NICs, switch ports and cabling, and the new network must be configured identically on every node before it is used.
Redundant corosync links (second ring)A single link flaps or fails, or one switch path is unreliable, and the cluster loses membership even though other paths work.A second link adds configuration and testing effort, and both links must be on genuinely separate paths to provide real redundancy.
Network QoS or traffic prioritizationCorosync shares a link with bulk traffic and latency spikes appear only during backups or live migrations.QoS policy lives on switches or routers you manage, so it needs network team involvement and cannot be fixed on the nodes alone.
Token timeout (totem token)Short, occasional membership loss occurs under known latency and the network cannot be fixed quickly.A longer timeout delays detection of a truly dead node, so HA recovery and fencing start later. Confirm the current default for your version before changing it.
Token coefficientThe cluster grows and the token timeout must scale with node count, and you want the timeout to adjust automatically.Larger clusters wait longer before declaring a node lost. Test the effect on failover time in a non-production cluster first.
Link priority and knet settingsTraffic should prefer a specific link, or link detection must be tuned for a particular path.Incorrect priorities can send all traffic over a weaker path. Verify each link with status tools after every change.
Changes to the cluster network itselfLatency or packet loss is caused by MTU mismatches, duplex errors, misconfigured bonds or faulty cables.Fixing the network is slower than a config change but removes the root cause. Schedule it with a maintenance window and a rollback plan.

How to edit corosync.conf safely without breaking the cluster

The safest way to change corosync.conf is to treat it as cluster-wide state that must be consistent on every node before it takes effect. Corosync only reads the active copy in /etc/pve/corosync.conf, which is replicated by the Proxmox Cluster File System, so the working copy is the file you edit and the active copy is what the nodes run. The rule that matters most is the config_version increment: every change must raise the value in the totem section, or the nodes will not agree on which file is newer. Edit a copy such as /etc/pve/corosync.conf.new, increase config_version by one, validate the result, and only then move it into place. Confirm the exact steps for your release in the official cluster documentation before you start, because the propagation procedure is specific and mistakes here are easy to make.

Validation comes before activation. Check the syntax, confirm every node entry and ring address matches what the nodes actually use, and compare the new file against the current one with a diff so that only the intended lines have changed. Change one node or one link at a time, and wait for each node to show a healthy membership and quorum before moving to the next. Keep an out-of-band console to every node (IPMI, iDRAC, iLO or a serial console) that does not depend on the cluster network you are changing. A bad edit can take the whole cluster out of quorum, and a node that cannot be reached through the normal network may then need physical access to recover, so plan a written rollback path with the previous file saved and a maintenance window long enough to use it.

Security and operational risks when changing cluster communication

Corosync carries the membership and token traffic that decides which nodes are part of the cluster and when HA fencing happens. Changes to that network, its configuration or its repositories can affect every guest on every node, so access, change control and monitoring matter as much as the timeout values themselves.

Who can reach Corosync traffic

Corosync messages are not a management interface, but anyone on the cluster network who can inject or disrupt them can cause membership churn, false node losses or fencing. Confirm which VLANs, switch ports and hypervisor hosts share the Corosync segment, and whose hosts sit on it. Check that no guest network, tenant network or shared storage VLAN has a route into the ring. Treat the segment as a critical control plane with restricted membership.

HA requirements

Separating management and cluster traffic

Running Corosync on the same links as backups, live migration or storage replication lets a saturated link delay token passing. A heavy job can then look like a dead node. Confirm that Corosync has a dedicated or prioritized link, and that the web interface and API are reachable on a separate management network. Document which network carries each traffic type so responders do not guess during an incident.

Change control for corosync.conf

The file /etc/pve/corosync.conf is cluster-wide, so one bad edit can break membership on all nodes at once. Require a reviewed change record, a copy of the current file kept off the cluster, and a named owner for each node address and ring. Apply changes in the order your procedure defines, and confirm that each node reports the expected membership before the next step. Record who approved the change and why.

Logging and alerting on membership changes

Membership changes, token timeouts and quorum loss should reach your monitoring system, not only the console of the node that saw them. Confirm that Corosync and pve-cluster logs are forwarded and retained, and that alerts fire on node leave, quorum loss and repeated ring faults. Without this record, a node that dropped for two minutes may be blamed on hardware when the cause was a switch change or a misconfigured link.

Fencing side effects on guests

When HA is enabled, a node that loses cluster membership can be fenced, and its HA guests are restarted elsewhere. A timeout change that makes detection more sensitive can therefore restart guests during a brief network blip. Check which guests are HA-managed, whether their storage is reachable from the surviving nodes, and whether application owners accept a restart for transient faults. Test the expected behavior in a maintenance window before relying on it.

Repository access for applying fixes

Packages that fix Corosync, pve-cluster or kernel issues come through the package repositories. The enterprise repository requires a valid subscription key and is the recommended choice for production, while the no-subscription repository is intended for testing and non-production use. Confirm which repository each node uses before patching, keep node versions consistent, and check that subscription keys are managed as secrets. Mixing repositories across nodes can complicate troubleshooting.

Package repositories

Questions teams ask before fixing cluster communication

Do we need a Proxmox VE subscription to troubleshoot Corosync problems?

No. The software can be used without a subscription, and all subscription tiers include the same software features. What a subscription changes is support entitlement and access to the enterprise repository, which the vendor recommends for production. The tiers are priced per CPU socket per year: Community at 120 euros (no support tickets), Basic at 370 euros (3 tickets, 1 business day response), Standard at 550 euros (10 tickets, 4-hour response) and Premium at 1,100 euros (unlimited tickets, 2-hour response), according to the Proxmox VE pricing page. Decide whether you need vendor ticket response times, then confirm the current prices with Proxmox before budgeting, since the figures can change.

How long does diagnosing a Corosync problem take?

The duration depends on whether the fault is reproducible and how much evidence you already have. A node that drops out once during a known network event is usually faster to isolate than a cluster that flaps intermittently across several days of logs. The main drivers are the number of nodes and links involved, whether switch counters and host logs are retained, access to the network team, and whether a maintenance window exists for testing changes. Ask any partner for a written scope that lists the evidence they will collect and the findings they will deliver, and treat any timeline without that scope as an estimate only.

What does our team need to provide for this work?

Plan for access and people more than for hardware. You will need someone who can export corosync logs and journal entries from every node, someone from the network team who can share switch configuration, port counters and VLAN layout for the cluster ring, and a change owner who approves any edit to the cluster configuration. Provide a description of recent network changes, the Proxmox VE versions in use and the layout of each Corosync link. Agree in advance who can authorize a test that may cause a node to be fenced.

Can our own staff diagnose and fix Corosync issues?

Yes, for many cases, provided they have Linux networking skills and can read cluster logs. Basic checks such as link status, interface errors, MTU consistency, and time synchronization are routine for an experienced administrator. Editing the cluster configuration is different: the file is replicated across the cluster, and a mistake can take quorum away from every node. Teams often do the evidence collection in-house and bring in a specialist when they need help with token tuning, multi-link design or a fault that spans the switch fabric. Confirm your team's skills against the official administration guide before starting.

What should a quote for cluster communication work include?

A useful quote lists the work as a written scope rather than a single number. It should name the nodes and Corosync links in scope, the evidence to be collected (logs, link metrics, switch counters, timing data), the configuration changes to be made and who approves them, and the tests used to confirm the fix. It should also state what is excluded, such as switch replacement or redesign of the network, and what the client must provide. Ask how changes are rolled out to a live cluster, how a rollback is handled, and whether a retest is included. DeployOpen plans engagements as fixed scope agreed in writing before work starts.

What drives the cost of a Corosync fix?

Cost follows the amount of investigation and the number of systems involved. Costs rise with the number of nodes and network paths, with the age and visibility of the switching fabric, with how many change windows are needed, and with how much of the root cause sits outside the cluster, such as a shared switch or an overloaded backup network. Costs fall when logs are retained, the network topology is documented and a test environment exists. Most of the work is one-time for the fix, while monitoring and periodic review are recurring activities that you may choose to keep in-house or put under a retainer.

How do we avoid fencing nodes while we fix the cluster?

Avoid fencing by treating every change as a risk to quorum. Confirm that the cluster has quorum before you start and that no high availability resources are in an unexpected state. Make one change at a time, on one node, and verify membership with the cluster status tools before moving on. Do not raise the token timeout or change the transport on all nodes at once without a plan. Check that watchdog-based fencing is understood by the whole team, because on nodes with HA enabled a lost cluster link can trigger a reset. Schedule changes during a maintenance window and tell the operations team in advance.

Which Corosync settings are safe to edit on a live cluster?

Edit the cluster configuration only with a verified backup, on a node that has quorum, and with the change applied through the documented procedure for your Proxmox VE version. Settings such as the token timeout and the token coefficient change failure detection, so a small change can move the point at which a healthy but busy node is declared lost. Confirm each setting against the Proxmox VE High Availability documentation and the Corosync reference for your release before you change it, and record the old and new values in your change log.

How DeployOpen scopes and delivers Corosync troubleshooting

DeployOpen approaches Corosync troubleshooting as a bounded engagement: we collect evidence from the nodes, identify the failing link or timing parameter, and agree the fix in writing before any change is made. The work runs inside your own infrastructure, with your change control and maintenance windows.

How we scope

  • Engagements are fixed-scope, with the cluster, affected nodes and symptoms agreed in writing before work starts.
  • The written scope lists which Corosync links, switches and corosync.conf settings are in review.
  • We confirm access to node logs, network topology and change records before diagnosis begins.
  • The scope states what is out of scope, such as storage or guest-level performance issues.

How we build

  • We check each Corosync link for loss, latency and congestion, then compare results against the expected design.
  • Token timeout and token coefficient changes are tested on a non-production cluster where possible before any production edit.
  • corosync.conf edits follow a documented sequence with a verified backup and a rollback step.
  • Each change is verified by checking quorum, membership and link status on every node.

How we hand over

  • You receive a written findings report covering root cause, evidence, applied changes and remaining risks.
  • Runbooks document link checks, the safe edit procedure and the commands used to confirm cluster health.
  • Your team is walked through the monitoring signals that should trigger investigation before a node fences.
  • Handover includes a list of open items that your network or hardware teams need to confirm.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the fixed-scope engagement.
  • A retainer can cover re-checks after network changes, Proxmox VE upgrades and new node additions.
  • Ask for the support response terms, escalation path and named contacts in the written agreement before signing.
  • Retesting of fixes is included in the scope so that closure is based on evidence rather than assumption.

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.