Question1: How does the Sybase_RS agent determine the server name of the Primary ASE and Replicate ASE, such that it's able to connect to the servers?
Question2: How does the Sybase_RS agent learn about the IP of the Primary ASE and Secondary ASE?
Answer1: Once a connection to the Replication Server has been established, the "admin rssd_name" command is executed to get the data server name, i.e. Sybase ASE.
Following is an example of the "admin rssd_name" output:
RSSD Dataserver RSSD Database
Answer2: Replication Server System tables, rs_databases and rs_sites, are used to get replicated database names, primary and secondary ASEs.