ACC: How Replication Manager Determines Base ReplicaLast reviewed: October 20, 1997Article ID: Q173002 |
The information in this article applies to:
SUMMARYAdvanced: Requires expert coding, interoperability, and multiuser skills. Microsoft Replication Manager is a tool included with the Microsoft Access Developer's Toolkit (ADT) for Windows 95, version 7.0, and with Microsoft Office 97 Developer Edition Tools. An important feature of Microsoft Replication Manager is its ability to manage members of a replica set, and schedule synchronizations between them. One of the components that Microsoft Replication Manager uses to control synchronization is the Synchronizer (formerly known as the Transporter in Microsoft Replication Manager 3.0). The Synchronizer is a program that runs in the background and allows database changes to be stored in a dropbox folder for later synchronization. This is especially useful when you are distributing your application to users with portable computers that are not always connected to the network. When initiating synchronization between members of a replica set managed by multiple Synchronizers, each Synchronizer selects one replica that sends changes to and receives changes from a member of the replica set managed by a different Synchronizer. Likewise, when initiating a local synchronization of a replica set managed by one Synchronizer, Microsoft Replication Manager selects one replica that sends changes to and receives changes from all other replicas in the set. This replica is called the "base" or "gateway" replica. This article discusses how the Synchronizer determines which replica is designated as the base replica, and what problems may occur as a result. NOTE: This article assumes you have previously configured Microsoft Replication Manager and are currently managing multiple members of a replica set.
MORE INFORMATIONEach Synchronizer is responsible for determining which one of the members of the replica set it is currently managing becomes the base replica. The Synchronizer uses the following algorithm to determine which replica becomes the base replica:
Determining the Current Base ReplicaTo determine which replica has been designated as the base replica by the Synchronizer, follow these steps:
Base Replica ScenarioThere are scenarios in which the base replica selected by the Synchonizer could cause synchronization to take an extended amount of time and generate unexpected network traffic. Consider the following: You have one replica set with three replicas (R1, R2, and R3), located on three computers (Machine A, Machine B, and Machine C). R1 is located on Machine A, R2 is located on Machine B, and R3 is located on Machine C. All three replicas are being managed by a Synchronizer running on Machine A. Machines A and B are both located on the same local area network (LAN), while Machine C is located on a separate LAN that is accessible over a wide area network (WAN). Assume that R3 has the lowest Replica ID in this replica set, and that all replicas in the set are valid (not deleted, renamed, or inaccessible). Synchronizer will select R3 as the base replica. Therefore, when synchronization is initiated through Microsoft Replication Manager, R3 will be involved in every synchronization to other members of the same replica set managed by this Synchronizer. Since R3 is physically located on a remote computer, this may cause synchronization to take an extended amount of time and cause an unanticipated amount of network traffic. In this scenario, you can improve performance and reduce the amount of network traffic by moving R3 to Machine A (where its Synchronizer is located) and by moving one of the other replicas to Machine C.
Moving a Replica in Microsoft Replication ManagerTo move a managed replica to another location, follow these steps. If you manually move a managed replica instead of following these steps, the replica will be marked as invalid, and it will be removed from the list of managed replicas.
REFERENCESFor more information about Microsoft Replication Manager, please see the Microsoft Jet Replication white paper. This white paper is included with Microsoft Office 97 Developer Edition Tools. You may also obtain this white paper from the Microsoft Software Library on the World Wide Web. For more information on how to obtain the Microsoft Jet Replication white paper, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q164553 TITLE : ACC97: Jet 3.5 Replication White Paper Available on MSL |
Additional query words: hub gateway
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |