Service Commands
The trepctl service commands operate per-service, that is, when there are multiple services in a configuration, the service name on which the command operates must be explicitly stated. For example, when a backup is executed, the backup executes on an explicit, specified service.
The individuality of different services is critical when dealing with the replicator commands. Services can be placed into online or offline states independently of each other, since each service will be replicating information between different hosts and environments.
| Option | Description | Version |
|---|---|---|
backup | Show the replicator version number and build. | |
capabilities | List the configured replicator capabilities. | |
check | Generate consistency check. | |
clear | Clear one or all dynamic variables. | |
clients | List clients connected to this replicator. | |
error | Will output full stack trace of the last error, if any. If no error, response will be empty. | 7.0.0 |
flush | Synchronize transaction history log to database. | |
heartbeat | Insert a heartbeat event with optional name. | |
load | Load the replication service. | |
offline | Set replicator to the OFFLINE state. | |
offline-deferred | Set replicator to the OFFLINE state at a future point in the replication stream. | |
online | Set replicator to the ONLINE state with optional start and stop points. | |
pause | Pause the replicator. | |
perf | Print detailed performance information. | |
perflog | Adds real-time performance monitoring to track and identify slow database operations during replication. | 7.2.1 |
properties | Display a list of all internal properties. | |
purge | Purge non-Tungsten logins on database. | |
qs | Print a simplified quick replicator status. | |
reset | Deletes the replicator service. | |
restore | Restore the database on specified host. | |
resume | Resume a paused replicator. | |
setdynamic | Set dynamic properties. | 6.1.17 |
setrole | Set replicator role. | |
shard | List, add, update, and delete shards. | |
status | Print replicator status information. | |
unload | Unload the replication service. | |
wait | Wait for the replicator to reach a specific state, time or applied sequence number. |
The following sections detail each command individually, with specific options, operations and information.