40 likes | 138 Views
Master-Election Algorithm for OES 11 and Earlier. NIC working?. No. Start master election. Yes. IP addresses of all cluster nodes. Higher IP addresses?. IP addresses of remaining nodes. Promote self as a master candidate. No. Yes. Ask node with highest IP address to be the master.
E N D
Master-Election Algorithm for OES 11 and Earlier NIC working? No Start master election Yes IP addresses of all cluster nodes Higher IP addresses? IP addresses of remaining nodes Promote self as a master candidate No Yes Ask node with highest IP address to be the master Multiple masters? Remove IP address of the non-responsive node Master heartbeat? No No Yes Yes SBD Tiebreaker Old master? Yes Master No Highest IP address? SBD fences the master candidate and nodes in its group Yes No
New Master-Election Algorithm for OES 11 SP1 NIC working? No Start master election Yes IP addresses of all cluster nodes Ping all cluster nodes Higher IP addresses? IP addresses of responsive cluster nodes Promote self as a master candidate No Yes Remove IP addresses of cluster nodes that did not ping or reply to ping Ask node with highest IP address to be the master Multiple masters? Remove IP address of the non-responsive node Master heartbeat? No No Yes Yes SBD Tiebreaker Old master? Yes Master No Highest IP address? SBD fences the master candidate and nodes in its group Yes No
Master-Election Algorithm for OES 11 and Earlier NIC working? No Start master election Yes IP addresses of all cluster nodes Higher IP addresses? IP addresses of remaining nodes Promote self as a master candidate No Yes Ask node with highest IP address to be the master Multiple masters? Remove IP address of the non-responsive node Master heartbeat? No No Yes Yes Fence the losing master candidate and nodes in its group Loser SBD Winner Master
New Master-Election Algorithm for OES 11 SP1 NIC working? No Start master election Yes IP addresses of all cluster nodes Ping all cluster nodes Higher IP addresses? IP addresses of responsive cluster nodes Promote self as a master candidate No Yes Remove IP addresses of cluster nodes that did not ping or reply to ping Ask node with highest IP address to be the master Multiple masters? Remove IP address of the non-responsive node Master heartbeat? No No Yes Yes Fence the losing master candidate and nodes in its group Loser SBD Winner Master