Starting an instance with the RUN script

The RUN script is named RUN_inst_name. Here, inst_name is the name of the Replication Agent instance. It is created automatically when the Replication Agent instance is created.

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

NoteYou 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.

StepsStarting Replication Agent with the RUN script

  1. Open an operating system command window on the Replication Agent host machine.

  2. At the operating system prompt, navigate to the Replication Agent instance directory, enter the following:

    • On Windows:

      cd %SYBASE%\RAX-15_2\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_2/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
    

    Here, 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
    

    NoteBecause this RUN script is generated at the time that the instance is created, the UNIX version 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.