Use this topic to diagnose missed heartbeat events, false node-failure detections and timing-sensitive membership instability.
Heartbeat
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.
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.
heartbeat → missed threshold → node failure
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
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.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- 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.
journalctl -u corosync | grep -i -e token -e retransmit— missed heartbeatsGet-Cluster | fl SameSubnetDelay,SameSubnetThreshold— Hyper-V heartbeat settingscorosync-cmapctl | grep totem.token— token timeout
ReferenceImportant terms & boundaries2 sections · depth on demand
Heartbeat settings
| Platform | Defaults |
|---|---|
| Windows cluster | SameSubnetDelay 1 s, SameSubnetThreshold 10 (20 on newer versions) |
| Corosync (Proxmox) | token timeout ~3 s with 3+ nodes |
| vSphere HA | Network 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.
| Platform | Default detection |
|---|---|
| Windows Failover Clustering | SameSubnetDelay 1 s × SameSubnetThreshold 10 (Server 2016+), cross-subnet threshold 20 |
| corosync (Proxmox) | token 3000 ms (+ scaling with node count) |
| vSphere HA | Network 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.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
Quick lookup tables
Clustering → Heartbeat reference map
Fast cluster-control boundaries for Clustering → Heartbeat.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Emission | Sender produces liveness signal | Depends on node/service scheduling |
| Delivery | Signal reaches peer | Depends on control network |
| Timeout | Peer misses expected signal | Detection symptom, not cause |
| Membership action | Cluster reacts to liveness result | Must converge across peers |