Setting Up Connection Parameters for the Replication Server

Configure connectivity to Replication Server.

  1. Log in to the Replication Agent administration port, and verify that the Replication Agent instance is in Admin state:
    ra_status
    If the instance is not in the Admin state, change it to the Admin state:
    suspend
  2. Specify the Replication Server host name:
    ra_config rs_hostname, rs_host
    where rs_host is the network name of the Replication Server host machine.
  3. Specify the Replication Server port number:
    ra_config rs_port_number, NNN
    where NNN is the number of the network port where Replication Server listens for connections.
  4. If you are using Replication Server 15.0 or earlier, specify the Replication Server character set:
    ra_config rs_charset, charset

    where charset matches the RS_charset value in the Replication Server configuration (.cfg) file. The location of the Replication Server configuration file is $SYBASE/REP-15_0/install/<instance>.cfg, where <instance> is the Replication Server instance.

    Note: For Replication Server 15.0.1 and later, Replication Agent uses the value of the Replication Server RS_charset parameter instead of the Replication Agent rs_charset parameter.
  5. Specify the Replication Server user login name for the Replication Agent instance:
    ra_config rs_username, ra_rs_user
    where ra_rs_user is the user login name that the Replication Agent uses to log in to the primary Replication Server.
  6. Specify the user login password for the Replication Agent instance:
    ra_config rs_password, ra_rs_pwd
    where ra_rs_pwd is the password for the user login name that the Replication Agent uses to log in to the primary Replication Server.
  7. Specify the primary data server name for the Replication Server primary database connection:
    ra_config rs_source_ds, pds
    where pds is the primary data server name that the Replication Agent uses in the LTL connect source command.
  8. Specify the primary database name for the Replication Server primary database connection:
    ra_config rs_source_db, pdb
    where pdb is the primary database name that the Replication Agent uses in the LTL connect source command.