Task
Normally, you need to start a RepAgent thread only if you:
RepAgent starts automatically when Adaptive Server restarts
if you had:
- Started RepAgent at least once with sp_start_rep_agent and
not stopped RepAgent with sp_stop_rep_agent.
- Set auto start to true with sp_config_rep_agent.
Note: RepAgent can be restarted only if its associated database
is fully recovered and online and log transfer is on for the connection
to the primary database.
See Replication
Server Reference Manual > Adaptive
Server Commands and System Procedures for detailed information about
each option of sp_start_rep_agent and sp_config_rep_agent.