Supported Platforms
heartbeat-threshold
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 9.0. Statement updated in Junos OS Release 10.4.
Description
Set the number of consecutive missed heartbeat signals that a device in a chassis cluster must exceed to trigger failover of the active node.
The heartbeat-threshold option works in combination with the heartbeat-interval option to define the wait time before failover is triggered in a chassis cluster. The default values of these options produce a wait time of 3 seconds. In a large configuration approaching full capacity on an SRX5400 or SRX5600 or SRX5800 device, however, we recommend that you increase the failover wait time to 5 seconds. For a large configuration on an SRX3400 or SRX3600 device, increase the failover wait time to 8 seconds.
For example, a heartbeat-threshold of 3 and a heartbeat-interval of 1000 milliseconds result in a total wait of 3 seconds before failover is triggered. To increase this wait to 5 seconds, you could increase the heartbeat-threshold, the heartbeat-interval, or both. A heartbeat-threshold of 5 and a heartbeat-interval of 1000 milliseconds would yield a wait time of 5 seconds. Setting the heartbeat-threshold to 4 and the heartbeat-interval to 1250 milliseconds would also yield a wait time of 5 seconds.
Options
number —Number of consecutive missed heartbeats.
Range: 3 through 8
Default: 3
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.