Perform the following tasks to check if the Sybase Replication component has been successfully installed.
To verify that the Replication Server is installed successfully:
Create and start the sample Replication Server.
Go to the $SYBASE directory and enter:
source SYBASE.csh
Go to the $SYBASE/REP-15_0/install directory and enter:
./rs_init -r ../samp_repserver/SAMPLE_RS.res
The sample Replication Server starts.
Log in to Replication Server from the command prompt using isql commands with the sa user name. If the installation is successful, you can connect to the Replication Server using isql.
isql -Usa -P -SSAMPLE_RS
1>admin who
2>go
admin who displays the newly created connection.
Logging in to Replication Server is an easy way to find out if Replication Server is running. If you can successfully log in to Replication Server and find it running, then the installation is successful.
To verify that Replication Agent is installed successfully:
Go to the $SYBASE directory and check if the following directories and files exist:
_jvmrax
installed
RAX-15_0
ASA-9_0
bin
classes
config
JRE-1_4_2
lib
scripts
sysam
ThirdPartyLegal
SYSAM-2_0
bin
licenses
log
uninstall
RAX-15_0
log.txt
SYBASE.sh
SYBASE.csh
SYBASE.env
If all these directories and files exist, then your Replication Agent installation is successful.
To verify that DirectConnect is installed successfully:
Create a DirectConnect server.
Go to the $SYBASE/DC-12_6/bin directory and enter:
AddServer server_name port_number
where server_name is the name of the new DirectConnect server and port_number is the port on which the server listens. The AddServer utility creates the necessary entries in the interfaces file before starting the DirectConnect server.
The command line displays that the new server has been started and is ready for connections.
To set the environment variables, go to the $SYBASE/DC-12_6 directory and enter:
source DC_SYBASE.csh
Verify that the server is set up properly. Using isql, enter:
isql -Sserver_name -Usa -P
1>exec adm_version 2>go
If DirectConnect is successfully installed, this command displays the product name, version, platform, and release date along with other information.
To verify if DirectConnect for Oracle (DCO) is installed successfully, first use the DCOConfig utility in the DCO-12_6/install directory to configure and start the DCO. Then use isql to the configured and started DCO with a valid Oracle user ID and password. For details on how to configure and start a DCO, see the Sybase Enterprise Connect Data Access Option for Oracle 12.6 Server Administration and User’s Guide.