Remove the SAMPLE_RS from the system if it is not part of a multiple SAP Replication
Server environment.
- Go to $SYBASE.
- Source the SYBASE.csh.
- If the SAMPLE_RS is running, shut it down:
isql –Usa –Ppassword -SSAMPLE_RS
shutdown
go
- View the file that starts up the SAMPLE_RS.
The default installation is at
$SYBASE/REP*/samp_repserver/RUN_SAMPLE_RS.
- Make note of the file location identified by the –C parameter (the SAP Replication
Server configuration file) the –E (the SAP Replication Server log ) and the –I (the
interfaces file).
- Go to the file identified by the –C parameter (the configuration file). Record the
files and directories in the following lines in the configuration file:
erssd_errorlog
erssd_dbfile
erssd_translog
erssd_logmirror
erssd_backup_dir
- For the filename referenced by the erssd_dbfile parameter,
note the name of the ERSSD.
The name of the ERSSD will be the name in front of the .db
file extension. If the entry looks like
/opt/sybase/REP-15_5/samp_repserver/dbfile/SAMPLE_RS_ERSSD.db,
SAMPLE_RS_ERSSD is the name of the ERSSD.
- In the directory identified in the erssd_backup_dir, remove
all files with the name of the ERSSD.
For example, SAMPLE_RS_ERSSD.db must be removed.
- Delete the file identified in the:
- erssd_errorlog
- erssd_dbfile
- erssd_translog
- erssd_logmirror
- In the $SYBASE/REP*/samp_repserver directory, delete the RUN
file, the configuration file, and the SAMPLE_RS log file.
- Edit the interfaces file to remove the entries for the
SAMPLE_RS and the SAMPLE_RS_ERSSD.