Setting up RepAgent

After Replication Server and Adaptive Server are installed on your system, you must enable a RepAgent for each database the Replication Server manages—if the database:

In addition, if Replication Server is the source site for any route, you must enable RepAgent for the Replication Server RSSD.

There are three possible scenarios for setting up RepAgent. In some scenarios you use rs_init, in other scenarios you must use command line options.

StepsConfiguring RepAgent using command line options:

These are the basic steps for configuring RepAgent from the command line.

  1. Define the local Adaptive Server using sp_addserver.

  2. Enable the RepAgent feature on Adaptive Server using sp_configure.

  3. Enable the RepAgent feature for each database using sp_config_rep_agent.

  4. Enable log transfer on Replication Server using alter connection.

  5. Start the RepAgent on Adaptive Server using sp_start_rep_agent.