Starting Replication Agent Using the ra Utility

When you start the Replication Agent with ra, you can specify the instance start-up state. If you do not specify a start-up state when you invoke ra, the Replication Agent instance starts in its default Admin state.

Prerequisites

Set the SYBASE environment before you invoke ra.

Task
  1. On the Replication Agent host machine, open an operating system command window.
  2. Navigate to the Replication Agent bin directory:
    • On Windows platforms:
      cd %SYBASE%\RAX-15_5\bin
      where %SYBASE% is the path to the Replication Agent installation directory.
    • On UNIX platforms:
      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 ra to start the Replication Agent instance:
    ra -iinst_name
    or
    ra -iinst_name -state
    where:
    • inst_name is the server name of the Replication Agent instance.

    • state is the optional keyword for the start-up state:
      • admin – starts the Replication Agent instance in Admin state.

      • replicate – starts the Replication Agent instance in Replicating state.

      Note: If you do not specify the state option, Replication Agent starts in Admin state.
    For example, to start the Replication Agent instance named “my_ra” in Replicating state, enter:
    ra -i my_ra -replicate

After you start the Replication Agent instance, you must open another operating system command window to log in to its administration port.

Related tasks
Preparing to Use the Utilities
Related reference
ra