Non-invasive latency monitoring in a store-and-forward replication system
First Claim
1. A method for monitoring replication latency in a computer system comprising a plurality of servers connected by a plurality of data links, and wherein the servers periodically replicate object updates with one another and maintain an update sequence number that is increased upon update to the server'"'"'s replica of a database, the method comprising:
- first maintaining, by each of the plurality of servers, a timestamp that is posted upon each update to the server'"'"'s database;
second maintaining, by two or more of the plurality of servers, a replica partner vector table that includes for each other server from which the server replicates, the update sequence number of such other server at a time of a most recent replication from such other server or the timestamp of the last successful replication attempt with such other server;
transmitting a copy of the replica partner vector table of a local server to a remote server;
comparing, by the remote server, the update sequence numbers and timestamps in the replica partner vector table received from the local server to the update sequence numbers and timestamps in the replica partner vector table of the remote server;
updating, by the remote server, the replica partner vector table received from the local server;
transmitting, by the remote server, a copy of the updated replica partner vector table and object updates to the local server;
improving, by the local server, upon receiving the updated replica partner vector from the remote server, update sequence numbers or timestamps in the partner vector table of the local server; and
calculating, by the local server, a difference between the timestamp for each server in the replica partner vector and a current time.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for monitoring replica servers in a networked computer system is provided, in which each server in the system has a replica partner vector table that includes state information about other servers in the system. The replica partner vector table includes data fields for storing an update sequence number (USN) and timestamp information that identifies the time of the last update and/or the time last successful replication attempt for each replica server in the system. After each successful replication, the server updates the entries in the replica partner vector to reflect the updated USN and timestamp information. The replica monitoring method evaluates the USN and timestamp entries in the replica partner vector table to determine if any servers in the system are latent. If the monitoring method detects that a server in the system is latent, an alert is generated whereby users and/or a network administrator are informed of the problem.
84 Citations
13 Claims
-
1. A method for monitoring replication latency in a computer system comprising a plurality of servers connected by a plurality of data links, and wherein the servers periodically replicate object updates with one another and maintain an update sequence number that is increased upon update to the server'"'"'s replica of a database, the method comprising:
-
first maintaining, by each of the plurality of servers, a timestamp that is posted upon each update to the server'"'"'s database;
second maintaining, by two or more of the plurality of servers, a replica partner vector table that includes for each other server from which the server replicates, the update sequence number of such other server at a time of a most recent replication from such other server or the timestamp of the last successful replication attempt with such other server;
transmitting a copy of the replica partner vector table of a local server to a remote server;
comparing, by the remote server, the update sequence numbers and timestamps in the replica partner vector table received from the local server to the update sequence numbers and timestamps in the replica partner vector table of the remote server;
updating, by the remote server, the replica partner vector table received from the local server;
transmitting, by the remote server, a copy of the updated replica partner vector table and object updates to the local server;
improving, by the local server, upon receiving the updated replica partner vector from the remote server, update sequence numbers or timestamps in the partner vector table of the local server; and
calculating, by the local server, a difference between the timestamp for each server in the replica partner vector and a current time. - View Dependent Claims (2)
-
-
3. A computer-readable medium having computer-executable components thereon for monitoring replication latency in a computer system, the computer system comprising a plurality of servers connected by a plurality of data links, and wherein the servers periodically replica object updates with one another and maintain an update sequence number that is increased upon update to the server'"'"'s replica of a database, the components performing the steps of:
-
first maintaining, by each of the plurality of servers, a timestamp that is posted upon each update to the server'"'"'s database;
second maintaining, by two or more of the plurality of servers, a replica partner vector table that includes for each other server from which the server replicates, the update sequence number of such other server at a time of a most recent replication from such other server or the timestamp of the last successful replication attempt with such other server;
transmitting a copy of the replica partner vector table of a local server to a remote server;
comparing, by remote server, the update sequence numbers and timestamps in the replica partner vector table received from the local server to the update sequence numbers or timestamps in the replica partner vector table of the remote server;
updating, by the remote server, the replica partner vector table received from the local server;
transmitting, by the remote server, a copy of the updated replica partner vector table and object updates to the local server;
improving, by the local server, upon receiving the updated replica partner vector from the remote server, update sequence numbers or timestamps in the partner vector table of the local server; and
calculating, by the local server, a difference between the timestamp for each server in the replica partner vector and a current time. - View Dependent Claims (4)
-
-
5. A method for monitoring replication latency in a computer system having at least a first server and a second server that periodically replicate object updates with one another, the method comprising:
-
Maintaining, on the first server, a replica partner vector table that includes a timestamp indicating a most recent successful replication attempt with the second server; and
calculating a difference between the timestamp in the replica partner vector table and a current time;
comparing the difference to a maximum allowable latency time period; and
generating an alert if the difference is greater than the maximum allowable latency time. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12, 13)
-
Specification