Patent ID: 8799217

Claim:
A computer-based method for inter-site database replication, comprising: a replicating server tracking other servers that it needs to replicate with and the sites where said other servers are located; in response to an indication to replicate, the replicating server determining whether each of the other servers is at the same location as the replicating server or a different location from the replicating server; the replicating server replicating with each of the other servers at the same site as the replicating server; and the replicating server replicating with only one of the servers at each different site; wherein the replicated server at each different site replicates with the other servers at the site of the replicated server, wherein the step of the replicating server replicating with only one of the other servers at each different site, comprises: the replicating server creating an ordered site list of servers for each remote site with servers that the replicating server needs to replicate with, wherein an order of the ordered site list of servers is database dependent; the replicating server attempting to replicate with a first one of the servers on each one of the ordered site lists of servers; the replicating server discontinuing replication with servers on each of the site lists of servers with a successful replication; and the replicating server attempting to replicate with a next one of the ordered servers on each of the ordered site lists of servers without a successful replication, wherein the ordered site list is creating by hashing a combination of each remote server name and each replicated database name.