Installing SAP Replication Server for HA

During SAP Replication Server installation, you need to perform several tasks in addition to the tasks described in the SAP Replication Server installation guide for your platform.

  1. As an SAP user, load SAP Replication Server either on a shared disk or on the local disk.

    If it is on a shared disk, the release cannot be accessed from both machines concurrently. If it is on a local disk, make sure the release paths are the same for both machines. If they are not the same, use a symbolic link, so they will be the same.

    For example, if the release is on /node1/repserver on node1, and /node2/repserver on node2, link them to /repserver on both nodes so the $SYBASE environment variable is the same across the system.

  2. Add entries for SAP Replication Server, RSSD server, and primary/replicate data servers to the interfaces file in the $SYBASE directory on both machines.
    Use the logical host name for SAP Replication Server in the interfaces file.
    Note: To use LDAP directory services instead of interfaces files, supply multiple entries in the DIRECTORY section of the SAP Replication Server configuration file. If the connection to the first entry fails, the directory control layer (DCL) attempts to connection to the second entry and so on. If a connection cannot be made to any entry in the DIRECTORY section, Open Client/Server does not use the default interfaces file to attempt a connection.

    See the configuration guide for your platform for information about setting up LDAP directory services.

  3. Start the RSSD server.
  4. Follow the installation guide for your platform to install SAP Replication Server on the node that is currently the master in the logical host. Make sure that you:
    1. Set the environment variables SYBASE, SYBASE_REP, and SYBASE_OCS
      For example enter:
      setenv SYBASE /REPSERVER1210
      setenv SYBASE_REP REP-12_1
      setenv SYBASE_OCS OCS-12_0

      /REPSERVER1210 is the release directory.

    2. Choose a run directory for the SAP Replication Server that will contain the SAP Replication Server run file, configuration file, and log file.
      The run directory should exist on both nodes and have exactly the same paths on both nodes (the path can be linked if necessary).
    3. Choose the multihosted disks for the SAP Replication Server partitions.
    4. Initiate the rs_init command from the run directory.
      Enter:
      cd RUN_DIRECTORY
      $SYBASE/$SYBASE_REP/install/rs_init
  5. Make sure that SAP Replication Server is started.
  6. As an SAP user, copy the run file and the configuration file to the other node in the same path. Edit the run file on the second node to make sure it contains the correct path of the configuration and log files, especially if links are used.
    Note: The run file name must be RUN_repserver_name, where repserver_name is the name of the SAP Replication Server. You can define the configuration and log file names.