Pre-existing content replication
First Claim
1. A computer-readable medium comprised of computer storage media having computer-executable instructions for implementing a replication method of helping to insure correct initialization behavior for a pre-existing content set having resource data such as a set of files under a root directory that exists on a computing system of a member participating in a replica group, the replica group providing the resources of the pre-existing content set to the computing systems of members of the replica group, and wherein the executable instructions for implementing the replication method are comprised of:
- beginning a replication service on a computing system of a first member of said replica group, and when the replication service begins executing, requesting from the computing system'"'"'s directory service configuration information for said pre-existing content set at the first member'"'"'s computing system;
the replication service then receiving the requested configuration information from the directory service, at least one attribute of the configuration information indicating if the first member is designated as the primary member for said pre-existing content set, and if the first member is designated as a primary member for the pre-existing content set, then;
at the replication service, setting state data as initial-primary for said pre-existing content set;
at the replication service, marking resource metadata records of each resource for said pre-existing content set with a fence value of initial-primary; and
at the replication service, entering into an event log an entry that indicates that said pre-existing content set has been successfully initialized, and is now in an initial-primary state; and
if the first member is not designated as the primary member for said pre-existing content set, then;
at the replication service of the first member, setting state data as initial-sync-needed for said pre-existing content set so that the state data can be later used by the replication service to determine if the replication service should accept replication requests from downstream members of the replica group;
at the replication service, marking resource metadata records of each resource for said pre-existing content set of the first member with a fence value of initial-sync-needed; and
at the replication service of the first member, entering into an event log an entry that indicates that said pre-existing content set has been successfully initialized, and is now in an initial-sync-needed state;
thereafter, when a replication service at a downstream member of the replica group establishes a connection with the first member of the replica group and requests replication of its content set, permitting such replication to occur from the first member if the state of the pre-existing content set at the first member is in the initial-primary state, otherwise returning an error; and
if the downstream member has successfully completed replication of its content set so as to be synchronized with the first member, the downstream member'"'"'s content set state then being set to normal so that other downstream members of the replica group my synchronize to any upstream member for which the content set of that member is set to either initial-primary or normal.
2 Assignments
0 Petitions
Accused Products
Abstract
Aspects of the subject matter described herein relate to replicating initial content in resource replication systems. In aspects, each member participating in a replica group obtains a content set state from a directory service. The content set state indicates whether the member is allowed to synchronize resources with another member participating in the replica group. If the member is designated as a primary member, the member may replicate out resources to its downstream partners. If a member is not designated as a primary member, the member may not replicate out resources to its downstream partners until it has successfully synchronized resources with an upstream partner. Fence values may be set which control which resources win (and are replicated out) during synchronization.
26 Citations
22 Claims
-
1. A computer-readable medium comprised of computer storage media having computer-executable instructions for implementing a replication method of helping to insure correct initialization behavior for a pre-existing content set having resource data such as a set of files under a root directory that exists on a computing system of a member participating in a replica group, the replica group providing the resources of the pre-existing content set to the computing systems of members of the replica group, and wherein the executable instructions for implementing the replication method are comprised of:
-
beginning a replication service on a computing system of a first member of said replica group, and when the replication service begins executing, requesting from the computing system'"'"'s directory service configuration information for said pre-existing content set at the first member'"'"'s computing system; the replication service then receiving the requested configuration information from the directory service, at least one attribute of the configuration information indicating if the first member is designated as the primary member for said pre-existing content set, and if the first member is designated as a primary member for the pre-existing content set, then; at the replication service, setting state data as initial-primary for said pre-existing content set; at the replication service, marking resource metadata records of each resource for said pre-existing content set with a fence value of initial-primary; and at the replication service, entering into an event log an entry that indicates that said pre-existing content set has been successfully initialized, and is now in an initial-primary state; and if the first member is not designated as the primary member for said pre-existing content set, then; at the replication service of the first member, setting state data as initial-sync-needed for said pre-existing content set so that the state data can be later used by the replication service to determine if the replication service should accept replication requests from downstream members of the replica group; at the replication service, marking resource metadata records of each resource for said pre-existing content set of the first member with a fence value of initial-sync-needed; and at the replication service of the first member, entering into an event log an entry that indicates that said pre-existing content set has been successfully initialized, and is now in an initial-sync-needed state; thereafter, when a replication service at a downstream member of the replica group establishes a connection with the first member of the replica group and requests replication of its content set, permitting such replication to occur from the first member if the state of the pre-existing content set at the first member is in the initial-primary state, otherwise returning an error; and if the downstream member has successfully completed replication of its content set so as to be synchronized with the first member, the downstream member'"'"'s content set state then being set to normal so that other downstream members of the replica group my synchronize to any upstream member for which the content set of that member is set to either initial-primary or normal. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A replication method of helping to insure correct initialization behavior for a pre-existing content set having resource data such as a set of files under a root directory that exists on a computing system of a member participating in a replica group, the replica group providing the resources of the pre-existing content set to the computing systems of the members of the replica group, the method comprising:
-
beginning a replication service on a computing system of a first member of said replica group, and when the replication service begins executing, requesting from the computing system'"'"'s directory service configuration information for said pre-existing content set at the first member'"'"'s computing system; the replication service then receiving the requested configuration information from the directory service, at least one attribute of the configuration information indicating if the first member is designated as the primary member for said pre-existing content set, and if the first member is designated as a primary member for the pre-existing content set, then; at the replication service, setting state data as initial-primary for said pre-existing content set; at the replication service, marking resource metadata records of each resource for said pre-existing content set with a fence value of initial-primary; and at the replication service, entering into an event log an entry that indicates that said pre-existing content set has been successfully initialized, and is now in a initial-primary state; and if the first member is not designated as the primary member for said pre-existing content set, then; at the replication service of the first member, setting state data as initial-sync-needed for said pre-existing content set so that the state data can be later used by the replication service to determine if the replication service should accept replication requests from downstream members of the replica group; at the replication service, marking resource metadata records of each resource for said pre-existing content set of the first member with a fence value of initial-sync-needed; and at the replication service of the first member, entering into an event log an entry that indicates that said pre-existing content set has been successfully initialized, and is now in an initial-sync-needed state; thereafter, when a replication service at a downstream member of the replica group establishes a connection with the first member of the replica group and requests replication of its content set, permitting such replication to occur from the first member if the state of the pre-existing content set at the first member is in the initial-primary state, otherwise returning an error; and if the downstream member has successfully completed replication of its content set so as to be synchronized with the first member, the downstream member'"'"'s content set state then being set to normal so that other downstream members of the replica group my synchronize to any upstream member for which the content set of that member is set to either initial-primary or normal. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A computer-readable medium comprised of computer storage media having computer-executable instructions for implementing a replication method of helping to insure correct initialization behavior for a pre-existing content set having resource data such as a set of files under a root directory that exists on a computing system of a member participating in a replica group, the replica group providing the resources of the pre-existing content set to the computing systems of members of the replica group, and wherein the executable instructions for implementing the replication method are comprised of:
-
beginning a replication service on a computing system of a first member of said replica group, and when the replication service begins executing, requesting from the computing system'"'"'s directory service configuration information for said pre-existing content set at the first member'"'"'s computing system; the replication service then receiving the requested configuration information from the directory service, at least one attribute of the configuration information indicating if the first member is designated as the primary member for said pre-existing content set, and if the first member is designated as a primary member for the pre-existing content set, then; at the replication service, setting state data as initial-primary for said pre-existing content set; at the replication service, marking resource metadata records of each resource for said pre-existing content set with a fence value of initial-primary; and at the replication service, entering into an event log an entry that indicates that said pre-existing content set has been successfully initialized, and is now in an initial-primary state; and if the first member is not designated as the primary member for said pre-existing content set, then; at the replication service of the first member, setting state data as initial-sync-needed for said pre-existing content set so that the state data can be later used by the replication service to determine if the replication service should accept replication requests from downstream members of the replica group; at the replication service, marking resource metadata records of each resource for said pre-existing content set of the first member with a fence value of initial-sync-needed; and at the replication service of the first member, entering into an event log an entry that indicates that said pre-existing content set has been successfully initialized, and is now in an initial-sync-needed state; thereafter, when a replication service at a downstream member of the replica group establishes a connection with the first member of the replica group and requests replication of its content set, permitting such replication to occur from the first member if the state of the pre-existing content set at the first member is in the initial-primary state, otherwise returning an error; and if the downstream member has successfully completed replication of its content set so as to be synchronized with the first member, the downstream member'"'"'s content set state then being set to normal so that other downstream members of the replica group are available to synchronize to any upstream member for which the content set of that member is set to either initial-primary or normal; the fence value for each replicated resource of the content set being set to normal at the replication service of the downstream member that has successfully completed replication of the pre-existing content set; thereafter when any downstream member of the replica group establishes connection with any upstream member of the replica group, if the content set of the upstream member is in the initial-primary or normal state, allowing replication of the content set to occur with the requesting downstream member, and using the state of the fence value for each resource to resolve any conflicts according to the following;
a resource with a normal fence state takes precedence over a resource marked with an initial-primary fence state, a resource with a primary-initial state takes precedence over a resource with an initial-sync-needed state. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22)
-
Specification