If you set the replication mode incorrectly
when you configure a client node with data that was exported and imported,
you must remove the client node from replication before reconfiguring
the node.
About this task
For example, suppose that you updated the
definition of a client node whose data you wanted to replicate. The
data that belongs to the node was previously exported from the source
replication server and imported to the target replication server.
You specified ENABLED as the setting of the
REPLSTATE parameter.
However, you did not specify SYNCSEND as the replication mode on the
source replication server. As a result, the
REPLMODE parameter
was automatically set to SEND, and data that belongs to the node was
not synchronized or replicated.
Procedure
To reconfigure the client node for replication, complete
the following steps:
- Issue the REMOVE REPLNODE command for
the client node. For example, to remove a client node,
NODE1, from replication, issue the following command:
remove replnode node1
Issuing the REMOVE REPLNODE command resets
the replication state and the replication mode for the client node
to NONE.
- Issue the UPDATE NODE command with the
correct parameters and values. For example, to enable
NODE1 for replication and synchronize the data that belongs to the
node, complete the following steps:
- On the source replication server, issue the following
command:
update node node1 replstate=enabled replmode=syncsend
- On the target replication server, issue the following
command:
update node node1 replstate=enabled replmode=syncreceive
Results
After synchronization and replication are
complete, the
REPLMODE parameter in the client
node definition on the source replication server is set to SEND. The
REPLMODE parameter
in the client node definition on the target replication server is
set to RECEIVE.