2.4.1. Stopping/Starting Tungsten Replicator

Warning

Before stopping a replicator it is good practice to take it offline cleanly first. Doing so will ensure a clean stop of any replication in flight and ensure replication positions are correctly recorded.

If Parallel Apply is in use, this is essential, see Section 5.4.4, “Parallel Replication and Offline Operation” for more information

To shutdown a running Tungsten Replicator you must switch off the replicator:

shell> trepctl -all-services offline
shell> replicator stop
Stopping Tungsten Replicator Service...
Stopped Tungsten Replicator Service.

To start the Tungsten Replicator service if it is not already running:

shell> replicator start
Starting Tungsten Replicator Service...

To restart the Tungsten Replicator service if it is running:

shell> trepctl -all-services offline
shell> replicator restart
Stopping Tungsten Replicator Service...
Stopped Tungsten Replicator Service.
Starting Tungsten Replicator Service...

To start the Tungsten Replicator service if it is not already running, but ensure replication is offline:

shell> replicator start offline
Starting Tungsten Replicator Service...