Starting a Replication Agent Instance with the RUN Script

You can use the RUN script to start a Replication Agent instance.

Prerequisites
Note: You do not need to set the SYBASE environment variable before you invoke the RUN script, because the RUN script sets the SYBASE environment variable before it starts the Replication Agent instance.
Task
  1. On the Replication Agent host machine, open an operating system command window.
  2. At the operating system prompt, navigate to the Replication Agent instance directory, and enter:
    • On Windows:
      cd %SYBASE%\RAX-15_5\inst_name
      where:
      • %SYBASE% is the path to the Replication Agent installation directory.

      • inst_name is the name of the Replication Agent instance.

    • On UNIX:
      cd $SYBASE/RAX-15_5/inst_name
      where:
      • $SYBASE is the path to the Replication Agent installation directory.

      • inst_name is the name of the Replication Agent instance.

  3. In the Replication Agent instance directory, invoke the RUN script to start the Replication Agent instance:
    RUN_inst_name
    where inst_name is the server name of the Replication Agent instance.
    For example, to start the Replication Agent instance named “my_ra,” enter:
    RUN_my_ra

    The RUN script is created automatically when the Replication Agent instance is created. The RUN script invokes ra with the appropriate parameter values to start the Replication Agent instance. You can edit the RUN script to specify the start-up state.

    Note: The UNIX version of the RUN script does not have the .sh extension.

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