Starting Replication Agent Using agt_service

You can use agt_service to start a Replication Agent instance.

Prerequisites
Set the SYBASE environment before you invoke agt_service.
Task

If Replication Agent is installed on a Windows system, you can use agt_service to run Replication Agent as a Windows service. The Replication Agent instance starts in the start-up state that you specified when you created the Windows service. If you did not specify a start-up state, the Replication Agent instance starts in its default Admin state.

  1. On the Replication Agent host machine, open an operating system command window.
  2. Navigate to the Replication Agent bin directory:
    cd %SYBASE%\RAX-15_5\bin
    where %SYBASE% is the path to the Replication Agent installation directory.
  3. In the Replication Agent bin directory, invoke agt_service to start a Windows service for the Replication Agent instance:
    agt_service -start inst_name
    where inst_name is the name of the Replication Agent instance assigned to the Windows service when it was created. This is also the name of the Windows service. For example, to start the Replication Agent instance named “my_ra” with the Windows service name of “my_ra,” enter:
    agt_service -start my_ra
Related tasks
Preparing to Use the Utilities
Related reference
agt_service