Replication Server connectivity

Table 4-8 lists the values of the Replication Agent configuration parameters that must be set to allow Replication Agent to connect to the primary Replication Server.

NoteReplication Agent uses TCP/IP and the Sybase JDBC driver (jConnect for JDBC, which is included in Replication Agent installation) to communicate with other Sybase servers. The Replication Agent does not rely on the Sybase interfaces file for connectivity information.

Table 4-8: Configuration parameters to connect to the primary Replication Server

Configuration parameters

Description

rs_host_name

The name of the host machine on which the primary Replication Server resides.

rs_charset

The character set that Replication Agent uses when creating LTL commands for Replication Server. It must match Replication Server’s character set, defined by the RS_charset property in the Replication Server configuration file ($SYBASE/REP-15_1/install/rssrvname.cfg).

NoteSetting this property to anything other than the character set of the primary Replication Server causes it to incorrectly do character set conversion of the LTL commands it receives from Replication Agent. Only if this value is different from the RA_JAVA_DFLT_CHARSET value (which should match the primary database's character set) will Replication Agent do character set conversion on the character data being replicated. Character set conversion slows performance.

rs_port_number

The port number Replication Agent uses to log in to Replication Server. Check with your System Administrator to determine which port numbers are available.

rs_username

The Replication Server client user ID that Replication Agent uses to log in to the primary Replication Server. This user ID must have connect source authority in the Replication Server.

NoteThe value for the rs_username parameter must not be the same as the value for the pdb_maint_user parameter.

rs_password

The password for the user ID that the Replication Agent uses to log in to the primary Replication Server.

rs_source_db

The database name representing the primary database to which Replication Server connects. This value is specified in the Replication Server create connection command used to create the Replication Agent connection in the primary Replication Server.

NoteThis name can be any name that helps you identify this as the connection to the primary database. For example, it can be the same name as the pds_database_name.

rs_source_ds

The data server name representing the primary data server to which Replication Server connects. This value is specified in the Replication Server create connection command used to create the Replication Agent connection in the primary Replication Server.

NoteThis name can be the name of the Replication Agent instance.