Starting Replication Agent Using the rao Utility

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

Prerequisites

Set the SYBASE environment before you invoke rao.

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 rao to start the Replication Agent instance:
    rao -iinst_name
    or
    rao -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:
    rao -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
rao