Automatically Start RepAgent

With Adaptive Server 15.5 ESD #5 and later, you can use the auto start parameter with sp_config_rep_agent to specify whether RepAgent automatically starts when Adaptive Server restarts and recovers the database.

RepAgent starts automatically when Adaptive Server restarts if you have previously started RepAgent at least once with sp_start_rep_agent and you did not stop RepAgent with sp_stop_rep_agent. With Adaptive Server 15.5 ESD #5 and later, RepAgent also starts automatically if you set auto start to true with sp_config_rep_agent.

If you shut down RepAgent with sp_stop_rep_agent, RepAgent does not automatically start when the database comes online unless you previously set auto start to true. Otherwise, you must execute sp_start_rep_agent to start RepAgent.

The syntax is:
sp_config_rep_agent
[...
'auto start'[, 'true' | 'false']]
Set to true for RepAgent to start automatically when you restart Adaptive Server. The default is false.
See:
  • RepAgent Configuration Parameters in the Replication Server Reference Manual.
  • Starting RepAgent and Stopping RepAgent in the Replication Server Administration Guide Volume 1.