Synchronizing cluster time to a master node with a faster clock
First Claim
Patent Images
1. A method for synchronizing time in a computer cluster of nodes, comprising the steps of:
- synchronizing times of one or more nodes in the cluster to a master node of the cluster;
discovering a node of the cluster has a clock time that is ahead of a master clock time of the master node;
in response to discovering the node with the clock time ahead of the master clock time, replacing the master node with the node ahead thereof in time as a new master node; and
synchronizing the clock times of the nodes in the cluster with the clock time of the new master node;
wherein the steps are performed by one or more nodes in the cluster.
1 Assignment
0 Petitions
Accused Products
Abstract
Synchronizing cluster time is described. Times of one or more nodes in the cluster to a master node of the cluster are synchronized. It is discovered that a node of a cluster has a clock time that is ahead of a master clock time of the master node. In response to discovering the node with the clock time ahead of the master clock time, the master node is replaced with the node ahead thereof in time, which thus becomes a new master node. The clock times of the cluster nodes are synchronized with the clock time of the new master node.
-
Citations
32 Claims
-
1. A method for synchronizing time in a computer cluster of nodes, comprising the steps of:
-
synchronizing times of one or more nodes in the cluster to a master node of the cluster; discovering a node of the cluster has a clock time that is ahead of a master clock time of the master node; in response to discovering the node with the clock time ahead of the master clock time, replacing the master node with the node ahead thereof in time as a new master node; and synchronizing the clock times of the nodes in the cluster with the clock time of the new master node; wherein the steps are performed by one or more nodes in the cluster. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method for synchronizing time in a computer cluster of nodes, comprising the steps of:
-
monitoring the clock times of the nodes in the cluster in relation to that of a first master node; discovering that a node of a cluster has a clock time that is ahead of a master clock time of the first master node; ascertaining that the node that has a clock time that is ahead of the first master clock in time is ahead in time to a degree that satisfies one or more criteria; in response to ascertaining that the node with a clock time that is ahead, atomically transferring a master status from the first master node to the node ahead thereof in time wherein the node ahead in time becomes a new master node of the cluster and the clock time of the new master node becomes a new master clock time of the cluster; synchronizing the clock times of other nodes in the cluster with the new master clock time; and
iteratively repeating the transferring step based on the discovering step;wherein the steps are performed by one or more nodes in the cluster. - View Dependent Claims (16)
-
-
17. A computer readable volatile or non-volatile storage medium storing instructions encoded therewith which, when executed with one or more processors of a computer system, cause the processors to execute:
-
synchronizing times of one or more nodes in the cluster to a master node of the cluster; discovering a node of a cluster has a clock time that is ahead of a master clock time of the master node; in response to discovering the node with the clock time ahead of the master clock time, replacing the master node with the node ahead thereof in time as a new master node; and synchronizing the clock times of the nodes in the cluster with the clock time of the new master node. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30)
-
-
31. A computer readable volatile or non-volatile storage medium storing instructions encoded therewith which, when executed with one or more processors of a computer system, cause the processors to perform:
-
monitoring the clock times of the nodes in the cluster in relation to that of a first master node; discovering that a node of a cluster has a clock time that is ahead of a master clock time of the first master node; ascertaining that the node that is ahead of the first master clock in time is ahead in time to a degree that satisfies one or more criteria; in response to ascertaining that the node is ahead, atomically transferring a master status from the first master node to the node ahead thereof in time wherein the node ahead in time becomes a new master node of the cluster and the clock time of the new master node becomes a new master clock time of the cluster; synchronizing the clock times of other nodes in the cluster with the new master clock time; and iteratively repeating the transferring step based on the discovering step. - View Dependent Claims (32)
-
Specification