Whether the sync service is used within or without failover environment, the active and standby repository must be synchronized before sync services are started. Follow the steps provided in Synchronizing the Active and Standby Repositories to synchronize the active and standby repositories.
- Edit the sync.properties file on the active Sync server and set the master.host property to active Sync server host name.
- Edit the sync.properties file on the standby Sync server and set the master.host property to active Sync server host name.
- Edit the sync.properties file on the active Sync server and set the sync.isMaster property to true.
- Edit the sync.properties file on the standby Sync server and set the sync.isMaster property to false.
- Set the master.port property in the sync.properties file on the active and standby Sync server as the port through which the active and standby synchronization services communicate.
- On the active Sync server, start the synchronization service as active:/opt/teradata/datamover/sync/nn.nn/dmsync startWhere nn.nn in the path refers to the major and minor version numbers of Data Mover.
- On the standby Sync server, start the synchronization service as standby:/opt/teradata/datamover/sync/nn.nn/dmsync startWhere nn.nn in the path refers to the major and minor version numbers of Data Mover.
- Once the Synchronization services start, enable synchronization by setting the job.useSyncService configuration property to true on the active Sync server.