This blog gives you end-to-end instructions for creating an SAP Replication Server (SRS) server on Windows in GUI mode.
You’ll need to complete several prerequisites before creating an SRS server. For example, you need to configure the interface file, and you need to run rs_init to launch the UI interface. For this information, you can view the SAP Replication Server Configuration Guide for Windows published on the Help Portal.
To create a new SRS server, you need to configure all options in the New Replication Server dialog box. This dialog box acts as a checklist, showing you which parts of the configuration you have yet to complete. You can choose any configuration option and click Continue to move on to configure that particular option; the order you complete them in doesn’t matter.
When you first access the dialog box, it looks like this:
- Replication Server Information — configure general information for the SRS server that you want to create.
- ID Server Information — configure general information for the ID Server.
- Replication Server System Database — choose to create either a Replication Server System Database (RSSD) on an SAP ASE server, or an Embedded Replication Server System Database (ERSSD) embedded in the SRS server itself. Both the RSSD and ERSSD store SRS system tables.
- Disk partition — create disk partitions, which are used to save stable queues.
- Remote Site Connections — configure the account that other SRS servers use to access this SRS server.
- Database Replication Agent — configure the account that the Replication Agent uses to access this SRS server.
In the rest of this blog, I’ll go into more details for each of these options, and provide some examples that can help you set up your own SRS server.
Entering Replication Server Information
When you choose to configure replication server information, the first thing you’re asked to do is give the server a name. This name should match the SRS server name you configured in the interface file (which you completed as a prerequisite).
Next, you’ll see a dialog box that asks for quite a bit of information; you can, for the most part, just accept the default values. The mandatory items you have to configure are: 1) indicating whether or not the server is the ID server, and 2) providing a password for SRS System Administrator (SA).
If this is the first SRS server in your replication environment, then you must set it as the ID Server. Each replication environment has at least one SRS server set as the ID Server. In addition to performing any usual SRS server tasks, the ID Server assigns unique ID numbers to every SRS server and database in the replication environment, and maintains version information for the replication system.
If you decide to set the current server as the ID Server, select Yes for Is this Replication Server the ID Server? If you select No, you then need to provide the ID Server name later when you configure the ID Server information.
Entering ID Server Information
When you choose to configure the ID Server information, you need to enter a password for the ID Server User.
If the server you’re configuring isn’t the ID Server, you then need to provide the ID Server name at the beginning of this configuration.
Entering RSSD Information
Decide whether you want to create a standard RSSD or an embedded RSSD (ERSSD). An RSSD is created on the relevant SAP ASE server, while an ERSSD is created on the SRS server itself. Before proceeding the RSSD configuration, you need to make sure the SAP ASE server is running since RSSD is going to be set up on this server.
In this example, I’ll create the RSSD on the SAP ASE server. Select No for Do you want Replication Server System Database embedded, then select Replication Server System Database on ASE.
You’ll see a dialog box asking for RSSD details. You need to configure several mandatory items: first, enter the SAP ASE server name on which you would like to create the RSSD; next, select Yes to create the RSSD; finally, enter passwords for the Maintenance login.
If you will go on to configure more than one SRS server in the environment, you also need to select Yes for RSSD will be replicated.
After you’ve configured the details for the RSSD, the New Replication Server dialog box displays a new configuration option, RSSD Device Information:
You can use the default settings or adjust the sizes (in MB) and names as you wish. When adjusting the sizes, assign at least 10 MB for the RSSD database, and 10 MB for the RSSD log.
Entering Disk Partition Information
When you configure the disk partition information, the mandatory items you need to configure are: 1) a Disk Partition path, which is either the full path of an operating system file or the name of a physical disk device, and 2) a logical name that SRS uses to identify the disk partition in commands and system messages.
Entering Remote Site Information
When configuring remote site information, all you need to do is enter a password for the account that other SRS servers use to access this SRS server.
Entering Replication Agent Information
And when you configure Replication Agent information, you also need to enter a password for the account that the Replication Agent uses to access this SRS server.
Creating the SRS Server
Finally, once you’ve gone through every option, and each configuration shows up as Complete, you can submit the details. Continue through the wizard and accept your changes, and the system starts to create a new SRS server for you.
You can also view the corresponding video about how to create an SRS server here: