摘要 |
In one aspect, the present invention is directed to a method for balancing a load on a cluster providing a service and failing over ceasing a server of the cluster, the method comprising the steps of: for each of the servers of a cluster: broadcasting a heartbeat (e.g. according to the ARP protocol); indicating the availability of each of the other servers of the cluster according to the heartbeats received from the other servers; and determining if the server is the master according to a predefined rule which all the available servers are familiar with. Then, the master divides the activity for providing the service among the available servers of the cluster.
|