EP1222540B1

Method and system for consistent cluster operational data in a server cluster using a quorum of replicas

Abstract

A method and system for increasing server cluster availability by requiring at a minimum only one node and a quorum replica set of replica members to form and operate a cluster. Replica members, independent from the nodes, maintain cluster operational data. A cluster operates when one node possesses a majority of replica members, which ensures that any new or surviving cluster includes consistent cluster operational data via at least one replica member from the immediately prior cluster. Arbitration provides exclusive ownership by one node of the replica members, including at cluster formation, and when the owning node fails. Arbitration uses a fast mutual exclusion algorithm and a reservation mechanism to challenge for and defend the exclusive reservation of each member. A quorum replica set algorithm brings members online and offline with data consistency, including updating unreconciled replica members, and ensures consistent read and update operations.

EP1222540B1, drawing sheet 1
Sheet 1 of 16

Term

Term ended

Expired 6 March 2020, 6.5 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

26 claims: 2 independent, 24 dependent

  1. 1
    A method of forming a server cluster (59) of a plurality of nodes (60), comprising the steps of:storing, by a first node of the plurality of nodes, cluster operational data on at least three replica members (58) being storage devices independent from any given node, the cluster operational data including information indicative of a quorum (57) requirement of a number of replica members needed to form a cluster (59), wherein a quorum is more than half of the total number of replica members;obtaining, by a second node of the plurality of nodes, exclusive ownership of a replica set of a number of replica members;comparing (1200), at the second node, the number of replica members in the replica set with the quorum requirement;and forming the cluster by the second node if the quorum requirement is met.
  2. 23
    A system for providing consistent operational data of a previous server cluster (59) to a new server cluster (59), comprising:a plurality of nodes (60);at least three replica members (58) being storage devices independent from any given node, at least one replica member having updated cluster operational data stored thereon by a first node including information indicative of a quorum (57) requirement of a number of replica members needed to form a cluster (59), and a cluster service on a second node for 1) obtaining exclusive ownership of a replica set of a number of replica members, 2) comparing the number of replica members in the replica set with the quorum requirement, and 3) forming the new server cluster if the quorum requirement is met by the number of replica members in the replica set, wherein a quorum is more than half of the total number of replica members.