Starting Replication Agent Using raoagt_service

You can use raoagt_service to start a Replication Agent instance.

Prerequisites
Set the SYBASE environment before you invoke raoagt_service.
Task

If Replication Agent is installed on a Windows system, you can use raoagt_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 raoagt_service to start a Windows service for the Replication Agent instance:
    raoagt_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:
    raoagt_service -start my_ra
Related tasks
Preparing to Use the Utilities
Related reference
raoagt_service