middleware icon indicating copy to clipboard operation
middleware copied to clipboard

NAS-137503 / 26.04 / TNC support for HA

Open sonicaj opened this issue 1 month ago • 3 comments

This PR adds changes to properly support TNC on HA systems ensuring heartbeat only runs on master node and relevant bits of TNC only execute where they should.

sonicaj avatar Nov 25 '25 10:11 sonicaj

Jira URL: https://ixsystems.atlassian.net/browse/NAS-137503

bugclerk avatar Nov 25 '25 10:11 bugclerk

@yocalebo @sonicaj We could still have the heartbeat run on the secondary node. No stats are sent, but alerts are, with 'node' indicating the controller. I now have logic on the backend to parse that and tag the alert by controller, then we can query by 'active' or 'standby'.

ZackaryWelch avatar Nov 25 '25 20:11 ZackaryWelch

@yocalebo @sonicaj We could still have the heartbeat run on the secondary node. No stats are sent, but alerts are, with 'node' indicating the controller. I now have logic on the backend to parse that and tag the alert by controller, then we can query by 'active' or 'standby'.

@ZackaryWelch after some more internal discussion, I don't believe sending the heartbeat from passive is necessary. Predominantly because that's not the normal paradigm of how we handle services on HA in general. I believe sending the heartbeat only from the active is sufficient. All data about the other controller can be gleaned from the active.

yocalebo avatar Nov 26 '25 11:11 yocalebo