Overlapping Ring Monitoring Algorithm in TIPC
Jon Maloy, Ericsson Canada Inc. Montreal
April 7th 2017
Monitoring Algorithm in TIPC Jon Maloy, Ericsson Canada Inc. - - PowerPoint PPT Presentation
Overlapping Ring Monitoring Algorithm in TIPC Jon Maloy, Ericsson Canada Inc. Montreal April 7th 2017 PURPOSE When a cluster node becomes unresponsive due to crash, reboot or lost connectivity we want to: Have all affected connections on
Jon Maloy, Ericsson Canada Inc. Montreal
April 7th 2017
When a cluster node becomes unresponsive due to crash, reboot or lost connectivity we want to:
events
event
PURPOSE
1) Crank up the connection keepalive timer
2) Dedicated full-mesh framework of per-node daemons with frequently probed connections
COMMON SOLUTIONS
TIPC SOLUTION: HIERARCHY + FULL MESH
OTHER SOLUTION: RING
randomly selected set of known neighbors
OTHER SOLUTION: GOSSIP PROTOCOL
THE CHALLENGE
Finding an algorithm which:
THE ANSWER:
OVERLAPPING RING MONITORING
list as “local domain” to be actively monitored
to all other nodes in the cluster
the local domain so that no node is more than two active monitoring hops away
+
x N =
(√N – 1) Local Domain Destinations (√N – 1) Remote “Head” Destinations 2 x N x (√N – 1) Actively Monitored Links
LOSS OF LOCAL DOMAIN NODE
State change of local domain node detected
1(discovery, loss, re-establish) is detected in a local domain node
contains a change before it starts parsing and applying it
always be sent out after a domain state change
current generation
(configurable) until all nodes are updated
1Domain record distributed to all other nodes in cluster
LOSS OF ACTIVELY MONITORED HEAD NODE
Node failure detected Brief confirmation probing of lost node’s domain members After recalculation
network partitioning problem
LOSS OF INDIRECTLY MONITORED NODE
Actively monitoring neighbors discover failure Actively monitoring neighbors report failure
DIFFERING NETWORK VIEWS
1A node has discovered a peer that nobody else is monitoring
member or “head”)
A node is unable to discover a peer that others are monitoring
Transiently, this happens all the time, and must be considered a normal situation
STATUS LISTING OF 16 NODE CLUSTER
5 13 9 1STATUS LISTING OF 600 NODE CLUSTER