Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Heartbeat

Direct answer

Heartbeat is a failure-detection signal, not proof of complete node health. Missing heartbeats can result from node failure, scheduler stalls, network loss, congestion or control-service problems; received heartbeats only prove the heartbeat path and sender were responsive enough to emit them.

When to use this

Use this topic to diagnose missed heartbeat events, false node-failure detections and timing-sensitive membership instability.

First 30 seconds

1. Heartbeats detect failed nodes.

2. Missed heartbeats → node declared dead.

3. Timeouts trade detection speed for stability.

4. Retransmits warn of network trouble.

5. Don't raise timeouts to hide problems.

Operational verification

heartbeat → missed threshold → node failure

Evidence · next step

Correlate node scheduler/service health and cluster-communication telemetry, then confirm the resulting membership state.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not by itself show node power state, physical-network root cause, or application failure.

Next check: Correlate node scheduler/service health and cluster-communication telemetry, then confirm the resulting membership state.

Platform / version applicability
virtualization-cluster
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization-cluster
Scope / prerequisiteUse this topic to diagnose missed heartbeat events, false node-failure detections and timing-sensitive membership insta…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

node runtime → cluster service → heartbeat emission → transport → peer receive → timer → membership

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Heartbeat present ≠ workload healthy.
  • Heartbeat missing ≠ node definitely powered off.
  • Timeouts are failure detectors, not root-cause detectors.
  • CPU starvation or pauses can mimic network loss by delaying heartbeat processing.
Key checks
  • journalctl -u corosync | grep -i -e token -e retransmit — missed heartbeats
  • Get-Cluster | fl SameSubnetDelay,SameSubnetThreshold — Hyper-V heartbeat settings
  • corosync-cmapctl | grep totem.token — token timeout
ReferenceImportant terms & boundaries2 sections · depth on demand

Heartbeat settings

PlatformDefaults
Windows clusterSameSubnetDelay 1 s, SameSubnetThreshold 10 (20 on newer versions)
Corosync (Proxmox)token timeout ~3 s with 3+ nodes
vSphere HANetwork heartbeats plus datastore heartbeats

Check with Get-Cluster | Select *SubnetDelay,*SubnetThreshold, corosync-cfgtool -s.

In depth

Heartbeats are periodic messages proving a node is alive. Timing decides how fast failures are detected versus how many false failovers occur.

PlatformDefault detection
Windows Failover ClusteringSameSubnetDelay 1 s × SameSubnetThreshold 10 (Server 2016+), cross-subnet threshold 20
corosync (Proxmox)token 3000 ms (+ scaling with node count)
vSphere HANetwork heartbeats every second; host declared failed after ~15 s without network and datastore heartbeats
(Get-Cluster).SameSubnetThreshold
corosync-cmapctl | grep totem.token

Raise thresholds only to tolerate known network behaviour; it also delays real failovers.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization-cluster current

Authoritative/upstream documentation reviewed for bounded claims in Clustering → Heartbeat. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/docs.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
cluster heartbeatheartbeat timeoutnode heartbeat
Embedded reference data

Quick lookup tables

Clustering → Heartbeat reference map

Fast cluster-control boundaries for Clustering → Heartbeat.

BoundaryMeaningEvidence limit
EmissionSender produces liveness signalDepends on node/service scheduling
DeliverySignal reaches peerDepends on control network
TimeoutPeer misses expected signalDetection symptom, not cause
Membership actionCluster reacts to liveness resultMust converge across peers
Confirmation

Confirm action

Continue?