After a master definition node, its publication, and additional master nodes are created, there are a couple of choices for starting the replication process.
• This section discusses the procedure for initiating a replication on demand. Section 7.2 discusses how to create a schedule.When you create a master node for the first time, you have the option of performing an initial snapshot (see Step 3 of Section 6.3).You can perform snapshots to this master node at any later point in time according to the following steps.Step 1: Select the Publication node under the master node for which you wish to perform snapshot replication.Step 2: Open the Snapshot dialog box in any of the following ways:Step 3: Select the Verbose Output check box only if you want to display the output from the snapshot in the dialog box. This option should be left unchecked in a network address translation (NAT) environment as a large amount of output from the snapshot may delay the response from the Snapshot dialog box. Click the Snapshot button to start snapshot replication.Step 4: Snapshot Taken Successfully appears if the snapshot was successful. Click the OK button. If the snapshot was not successful, scroll through the messages in the Snapshot dialog box window if Verbose Output was selected or check the log files.The status messages of each snapshot are saved in the Migration Toolkit log files named mtk.log[.n] (where [.n] is an optional history file count if log file rotation is enabled) in the following directories:POSTGRES_HOME\.enterprisedb\xdb\x.xPOSTGRES_HOME is the home directory of the Windows postgres account (enterprisedb account for Advanced Server installed in Oracle compatible configuration mode). The specific location of POSTGRES_HOME is dependent upon your version of Windows. The xDB Replication Server version number is represented by x.x.The publication has now been replicated from the master definition node to the selected master node. A record of the snapshot is maintained in the replication history. See Section 7.4 for information on how to view replication history.Note: Be sure an initial snapshot replication has been performed from the master definition node to every other master node in the multi-master replication system. If a newly added master node did not undergo an initial snapshot, any subsequent synchronization replication may fail to apply the transactions to that master node. The initial snapshot could be taken when the master node is first added (see Section 6.3) or by performing an on demand snapshot (see Section 6.5.1).When synchronization replication is performed in a multi-master replication system, a series of synchronization operations occur between every master node pair in the replication system.For example, if a replication system consists of master nodes A, B, and C, synchronization is applied to the following node pairs whenever synchronization replication is initiated:There may be circumstances where changes made on different nodes result in conflicts. Section 6.6 discusses the types of conflicts that may occur and how they can be resolved.Step 1: Select the Publication node under any master node. Regardless of the master node chosen, synchronization is applied to every master node pair in the replication system.Step 2: Open the Synchronize dialog box in any of the following ways:Step 3: Click the Synchronize button to start synchronization replication.Step 4: Publication Synchronized Successfully appears if the synchronization was successful. Click the OK button. If the synchronization was not successful, an error message is displayed.The operations that were applied to the publication tables can be seen in the replication history. See Section 7.4 for information on how to view replication history.Conflicting changes that were encountered can be seen in the conflict history. See Section 6.7 for information on how to view conflict history.