×

System and method for using a data replication service to manage a configuration repository

  • US 7,617,289 B2
  • Filed: 02/20/2003
  • Issued: 11/10/2009
  • Est. Priority Date: 02/22/2002
  • Status: Active Grant
First Claim
Patent Images

1. A system for using a data replication service to consistently manage server configuration within a domain or cluster, comprising:

  • a plurality of servers within the domain or cluster, each server comprising a configuration repository that defines the configuration information of the server as a plurality of configuration elements, and wherein the configuration repository has an updated-to version number associated therewith which is updated each time a change is made to the configuration of the server by adding, removing, or changing attributes of, one or more of the plurality of configuration elements;

    a master server within the plurality of servers that contains the configuration information including information about resources to be made available throughout the domain or cluster, said resources defined by the plurality of configuration elements;

    a master data replication service layer that recognizes changes made at the master server to one or more of the plurality of configuration elements and that sends from said master server, data replication packets defining the changes in the master server'"'"'s configuration information, said data replication packets including the recognized changed one or more of the plurality of configuration elements, said data replication packets including both an initial-from version number, and an updated-to version number of the master server'"'"'s configuration repository, together with the configuration information that changed between the initial-from version number and the updated-to version number;

    a slave data replication service layer that receives, at a slave server within the plurality of servers, the data replication packets from the master data replication service layer, and wherein the slave server determines whether the configuration information currently contained in the configuration repository at the slave server has been updated to correspond to the updated-to version number associated with a latest data replication packet received from the master server, and if the configuration information currently contained in the configuration repository at the slave server does not correspond to the updated-to version number, then the slave server requests a plurality of the data replication packets to be sent from said master server to said slave server, to match the undated-to version number at each server, including any intervening data replication packets, and wherein the slave server uses the data replication packets to update the configuration information at the slave server to match that of the master server, including adding, removing, or changing attributes of, the one or more plurality of configuration elements as necessary;

    wherein the system uses a two-phase process that comprisessending the data replication packet from the master server to a plurality of slave servers to prepare the slave servers,waiting for each slave server to prepare to commit the changes, including receiving and preparing class files from the master server for use in providing resources, and then responding to the master server with an acknowledgment,receiving the acknowledgment from each slave server, determining which of the slave servers have returned an acknowledgment, and then sending a commit from the master server to only those slave servers which have returned an acknowledgment, to commit the change to their configuration repository, andupdating a naming directory interface at each of those slave servers advertising the availability of the resources for use within the domain or cluster.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×