heartbeat-threshold
语法
heartbeat-threshold number
;
层次结构级别
[edit chassis cluster
]
描述
设置机箱群集中的设备必须超过的连续错过检测信号数,才能触发活动节点的故障切换。
该 heartbeat-threshold
选项与 heartbeat-interval
用于定义在机箱群集中触发故障切换之前的等待时间的选项结合使用。这些选项的默认值将产生 3 秒的等待时间。但是,在SRX5400、SRX5600或SRX5800设备上接近满负荷的大型配置中,建议将故障转移等待时间增加到 5 秒。
例如,a heartbeat-threshold
为 3 和 a heartbeat-interval
为 1000 毫秒将导致在触发故障转移之前总共等待 3 秒。要将此等待时间增加到 5 秒,可以增加、或heartbeat-interval
同时增加两者heartbeat-threshold
。A heartbeat-threshold
为 5 和 A heartbeat-interval
为 1000 毫秒将产生 5 秒的等待时间。将 设置为 heartbeat-threshold
4 和 heartbeat-interval
设置为 1250 毫秒也会产生 5 秒的等待时间。
选项
number
- 连续错过的心跳次数。
范围: 3 到 8
默认值: 3
所需权限级别
接口 — 要在配置中查看此语句。
interface-control - 将此语句添加到配置中。
发布信息
在 Junos OS 9.0 版中引入的语句。语句在 Junos OS 10.4 版中更新。