Creating a Replication Server connection to standby
If needed, add the standby server to the interfaces file of the Replication Server and reboot the Replication Server.
Go to the $SYBASE/MA-15_2/scripts/ase directory.
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
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.
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.
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.