Using the aserep script  Setting up a replication system

Chapter 2: Setting Up and Starting ASE Replicator

Using the RUN script

When you run the aserep script for the first time, it sets up and initializes the ASE Replicator process, and creates a RUN script that you can use as a shortcut to start ASE Replicator. The RUN script invokes aserep with the -i server_instance parameter to start ASE Replicator.

NoteAfter you set up and initialize ASE Replicator with the aserep script, Sybase recommends that you use the RUN script thereafter to start ASE Replicator.

The RUN script is named RUN_my_ASERep, where my_ASERep is the instance name of the ASE Replicator process you specified when you ran aserep to create the instance. The RUN script is located in the $SYBASE/RPL-15_0/my_ASERep instance directory.

StepsTo start ASE Replicator with the RUN script

  1. Log in to the operating system of the Adaptive Server host machine.

  2. Set the current directory to the ASE Replicator instance directory:

    cd $SYBASE/RPL-15_0/my_ASERep
    

    where my_ASERep is the instance name of the ASE Replicator.

  3. Execute the RUN script on the operating system command line:

    RUN_my_ASERep
    

    where my_ASERep is the instance name of the ASE Replicator process.

    NoteIf you have an existing RUN script from a release prior to 15.0, the script is updated to the most current format when the corresponding ASE Replicator instance is started with all parameters specified.





Copyright © 2005. Sybase Inc. All rights reserved. Setting up a replication system

View this book as PDF