Configure Replication Server for replication to the standby

StepsCreating a Replication Server connection to standby

  1. If needed, add the standby server to the interfaces file of the Replication Server and reboot the Replication Server.

  2. Go to the $SYBASE/MA-15_2/scripts/ase directory.

  3. Make a copy of the ase_create_rs_standby_connection.rs file:

    cp ase_create_rs_standby_connection.rs myma_ase_create_rs_standby_connection.rs
    
  4. Change these values in the newly-created standby script and save the script:

    • $SYBASE – enter the path name of the $SYBASE where the Replication Server resides. For example, /software/sybase. ($SYBASE occurs three times in the script.)

    • $SYBASE_REP – enter REP-15_2.

    • rds – name of the data server where the standby database resides.

    • rdb – name of the standby database.

    Note

    • If you are not using the SAMPLE_RS, change the SAMPLE_RS to the proper Replication Server name.

    • The value entered for rs.rs_ds_name and rs.rs_name must exist in the interfaces file used by the Replication Server. The names are case-sensitive.

  5. In Replication Server, create the connection from the Replication Server to the standby database:

    $SYBASE/$SYBASE_REP/install/rs_init 
    -r $SYBASE/MA-15_2/scripts/ase/
    myma_ase_create_rs_standby_connection.rs
    

    The connection to the standby database is created.