Sybase Replication

Perform the following tasks to check if the Sybase Replication component has been successfully installed.

Replication Server

To verify that the Replication Server is installed successfully:

  1. Create and start the sample Replication Server.

    1. Go to the $SYBASE directory and enter:

      source SYBASE.csh
      
    2. Go to the $SYBASE/REP-15_0/install directory and enter:

      ./rs_init -r ../samp_repserver/SAMPLE_RS.res
      

    The sample Replication Server starts.

  2. 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
    

    Noteadmin 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.

Replication Agent

To verify that Replication Agent is installed successfully:

Go to the $SYBASE directory and check if the following directories and files exist:

If all these directories and files exist, then your Replication Agent installation is successful.

DirectConnect

To verify that DirectConnect is installed successfully:

  1. Create a DirectConnect server.

    1. 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.

    2. To set the environment variables, go to the $SYBASE/DC-12_6 directory and enter:

      source DC_SYBASE.csh
      
  2. 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.

NoteTo 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.