Editing the Interfaces File

Edit your Replication Server interfaces file.

  1. Log in to Replication Server:
    isql –Usa –Psa_pass –SSAMPLE_RS
    If you have not set up the sample Replication Server instance, enter your Replication Server instance name instead of SAMPLE_RS.
  2. Shut down Replication Server:
    1>shutdown
    2>go
  3. Change "localhost" in the Replication Server interfaces file to the host name for your primary database.
  4. To use direct load materialization to materialize a table on the SAP HANA database, add an entry for the primary data server in the interfaces file.
  5. In the Replication Server interfaces file, add an entry identifying the replicate SAP HANA database:
    [dataservername]
    master tcp ether hostname port 
    query tcp ether hostname port
    where hostname and port are the host and port number of the SAP HANA database, and dataservername is a label that identifies the host and port number.
    Note: Each SAP HANA database installs with a unique instance number, and the port number is the instance number prefixed with 3 and suffixed with 15:
    3in15
    where in is the two-digit instance number. For example, the port number for an SAP HANA database with instance number 1 is 30115.
  6. Navigate to $SYBASE/$SYBASE_REP/samp_repserver, and execute RUN_SAMPLE_RS.
Related concepts
Server Entries to the Interfaces Files
Related tasks
Adding Server Entries to the Interfaces Files