Connection and startup issues
Troubleshoot common problems with data replication connection and startup
Fixing common problems with data replication connection and startup
Use the
ctinfo
utility to check if replication is enabled for the file.ctinfo yourreplicatedfile.dat ADMIN ADMIN FAIRCOMS
Look for the
ctREPLICATE
.Extended File Mode Details: ctREPLICATE : file is replicated
If replication is not enabled for the file:
Check that the
REPLICATE
option is properly specified inctsrvr.cfg
.Add
DIAGNOSTICS REPLICATE
toctsrvr.cfg
.Note
When opening a file, a message is logged if replication cannot be enabled for the file.
If replication is enabled for the file:
Check that the Replication Agent is running and is properly connected to source and target.
Use the
ctrepd
utility and/or Replication Agent change log to check source server transaction log entries.Enable the
log_change_details
option inctreplagent.cfg
.Check the replication exception log for errors:
Ensure that the Replication Agent opened the file on the target server.
Check for any failures when applying adds/deletes/updates.
If you are using two-way replication or multiple Replication Agents connected to a server, set the
unique_id
option in the Replication Agent configuration file so that each Replication Agent has its own unique ID.If you are doing two-way replication between servers on the same machine, use the
REPL_NODEID
option in both servers' configuration files to set unique node IDs for the servers.If you use
localhost
or the DNS name forsource_server
ortarget_server
inctreplagent.cfg
, you will need to useREPL_NODEID
.