metal/mtce/src/heartbeat
Eric MacDonald 8c81914ea5 Add SM process heartbeat and status to the hbs cluster
This update is the mtc hbsAgent side of a new
SM -> hbsAgent heartbeat algorithm for the
purpose of detecting peer SM process stalls.

This update adds an 'SM Heartbeat status' bit to
the cluster view it injects into its multicast
heartbeat requests.

Its peer is able to read this on-going hbsAgent/SM
heartbeat status through the cluster.

The status bit reads 'ok' while the hbsAgent sees
the SM heartbeat as steady.

The status bit reads 'not ok' while the SM heartbeat
is lost for longer than 800 msecs.

Change-Id: I0f2079b0fafd7bce0b97ee26d29899659d66f81d
Partial-Fix: #1895350
Co-Authored-By: Bin.Qian@windriver.com
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
2020-12-10 11:13:13 -05:00
..
Makefile Add EXTRALDFLAGS to linker in a number of Makefiles 2019-02-28 22:34:54 -06:00
hbsAgent.cpp Add SM process heartbeat and status to the hbs cluster 2020-12-10 11:13:13 -05:00
hbsAlarm.cpp Refactor infrastructure network in mtce code 2019-04-18 09:32:41 -04:00
hbsAlarm.h Refactor infrastructure network in mtce code 2019-04-18 09:32:41 -04:00
hbsBase.h Add SM process heartbeat and status to the hbs cluster 2020-12-10 11:13:13 -05:00
hbsClient.cpp Fix heartbeat messaging when interface is set to 'lo' 2020-06-26 14:16:41 +00:00
hbsCluster.cpp Add SM process heartbeat and status to the hbs cluster 2020-12-10 11:13:13 -05:00
hbsCluster.h Mtce: Add heartbeat cluster information for SM query 2018-10-05 22:47:17 +00:00
hbsPmon.cpp Decouple Guest-server/agent from stx-metal 2018-09-18 17:15:08 -04:00
hbsStubs.cpp Refactor BMC provisioning in Maintenance 2019-12-09 09:39:49 -05:00
hbsUtil.cpp Add SM process heartbeat and status to the hbs cluster 2020-12-10 11:13:13 -05:00
mtceHbsCluster.h Add SM process heartbeat and status to the hbs cluster 2020-12-10 11:13:13 -05:00