Configuring a new Replication Server

This section explains how to configure a new Replication Server using rs_init. To use these instructions, you need the completed Replication Server installation worksheet. If you have not completed the worksheet, read Chapter 1, “Preparing to Install and Configure Replication Server” and complete it before you continue.

StepsConfiguring a new Replication Server

  1. Open the RS_Init dialog box, and select Configure a Server Product, then choose Continue. You see the Configure Server Products dialog box.

  2. Select Replication Server.

  3. Select Install a New Replication Server.

    You see a list of tasks you must complete to install a new Replication Server.

    NoteThe Install a New Replication Server option only lets you configure a new Replication Server; it does not allow you to install additional software.

    Select each task and complete its windows until the status of each task is “Complete.”

StepsEntering Replication Server information

  1. In the New Replication Server window, select Replication Server Information. You see the Replication Server Name window.

  2. Enter the name you recorded in the “Replication Server Information” section of the worksheet, then click Continue. You see the Replication Server Information window.

  3. Select each item on the Replication Server Information window and enter the value you recorded on your worksheet. If you use a default value, record it on your worksheet.

    NoteFor more information on the character sets and sort orders, read Chapter 6, “Customizing Localization for Adaptive Server,” in the Adaptive Server Enterprise Configuration Guide.

    To change a default value, select it and click Continue. You see a dialog box for that option.

    In some configurations, if you set Replication Server’s language before you set its character set, you receive an error message. To avoid this, set the character set before you set the language.

    If the Replication Server Interfaces Information item is “Incomplete,” select it and click Continue. You see an interfaces file editor dialog box. Follow the instructions provided in “Editing the interfaces file”, to add a listener service for Replication Server.

  4. Click Continue to save the information and return to the New Replication Server dialog box.

Editing the interfaces file

The interfaces file contains network address information for each Adaptive Server and Replication Server in your replication system.

To reach the interfaces file screen, select Replication Server Interfaces Information from the Replication Server Information screen.

Select Start | Programs | Sybase | Connectivity | Open Client Directory Service Editor. Using dsedit, edit the interfaces file.

See the Open Client and Open Server Configuration Guide for more information on dsedit.

NoteSybase recommends that if you are using Replication Server 15.2 with network-based security, you use the directory services of your network security mechanism to register Replication Servers, Adaptive Servers, and gateway software. See the documentation that comes with your network security mechanism for details.

StepsEntering ID Server information

The ID Server is a Replication Server that registers all Replication Servers and databases in a replication system. It assigns and maintains ID numbers for these components and maintains version information for the entire replication system.

When you:

To complete the ID Server Information dialog box:

  1. From the New Replication Server window, select ID Server Information.

  2. If the Replication Server you are installing is not the ID Server, you see the ID Server Name dialog box. Enter the name of the ID Server for the replication system, then click Continue. You see the ID Server Information dialog box.

    NoteIf the Replication Server you are configuring is the ID Server, the ID Server Information dialog box appears.

    The Starting Replication Server ID and Starting Database ID appear only when you configure the ID Server.

  3. Complete the ID Server Information window with the information from the “ID Server” section of your worksheet.

    If you do not make entries for the Starting Replication Server ID and starting database ID, the default ranges are used, as shown in Table 1-2.

  4. Click Continue to save your changes and return to the New Replication Server dialog box.

RSSD information

Before you can enter your Replication Server System Database (RSSD) information, you must determine if you want an RSSD, or an ERSSD.

In the Replication Server System Database Choice screen, the first line asks, “Do you want Replication Server System Database embedded?” Select:

StepsEntering ERSSD information

  1. In the ERSSD Name screen, enter the name of your SQL Anywhere server, and click Continue to accept the name. The Embedded Replication Server System Database screen appears.

  2. You see the following options, each filled with a default value:

    • ERSSD Database Directory

    • ERSSD Transaction Log Directory

    • ERSSD Backup Directory

    • ERSSD Error Log Directory

    • ERSSD Interface Information

    Select each item to change the default value to the value you recorded on your worksheet from the Replication Server installation worksheet. See Chapter 4, “Managing a Replication System” in the Replication Server Administration Guide Volume 1, for more information on value requirements for ERSSDs.

  3. Choose Continue to accept the values and return to the Replication Server System Database Choice screen. You see the New Replication Server dialog box.

  4. Choose Continue to return to the New Replication Server dialog box.

StepsEntering Replication Server System Database information

  1. In the New Replication Server window, select Replication Server System Database, then click Continue.

  2. Complete the dialog box with the information from your worksheet. If you use a default value, copy it from the dialog box to your worksheet.

    For “RSSD will be replicated,” select Yes if you will have more than one Replication Server in your environment. Otherwise, select No.

  3. Choose Continue to accept the values. You see the New Replication Server dialog box.

StepsEntering RSSD device information

If you selected Yes for Create RSSD in the Replication Server System Database window, you see a new option, RSSD Device Information, on the New Replication Server window.

WARNING! If you selected No for Create RSSD in the Replication Server System Database window, you must already have created the RSSD. Skip this section and go to “Entering disk partition information”.

  1. From the New Replication Server dialog box, select RSSD Device Information, then choose Continue.

  2. Complete the window using information from your worksheet. If you use a default value, copy it from the window to your worksheet.

  3. Click Continue to save your entries and return to the New Replication Server window.

StepsEntering RSSD RepAgent information

If you selected Yes for “RSSD will be replicated” in the Replication Server System database window, a new Database Replication Agent option will appear in the New Replication Server window:

  1. Select Database Replication Agent. Enter the RSSD Replication Server user name, and the Replication Server password from your worksheet.

    NoteWhere necessary, rs_init uses the settings established for the Replication Server when configuring an RSSD RepAgent.

  2. Click Continue to save this information.

StepsEntering disk partition information

In Windows, operating system files are used as disk partitions for stable queues. If such a file does not already exist, rs_init creates it.

  1. From the New Replication Server window, select Disk Partition.

    Click Continue.

  2. Complete the window using the information you recorded on your worksheet.

    You can add more partitions after Replication Server is installed. See the Replication Server Design Guide for help in determining how much space you need.

  3. Click Continue to accept the values and return to the New Replication Server window.

StepsEntering remote site connections information

rs_init completes the Remote Site Connections window with default values based on the Replication Server name you entered.

To view or change any of these values:

  1. From the New Replication Server window, select Remote Site Connections.

    Click Continue.

  2. Complete the window using the information on your worksheet. If you use a default value, copy it to the “Remote site connections” section of the worksheet.

  3. Click Continue to save your changes and return to the New Replication Server window.

StepsCompleting the Replication Server configuration

When the status of each task in the New Replication Server window is “Complete,” follow these steps to complete the configuration.

  1. At the prompt that asks if you want to execute Replication Server tasks now:

    • Select Yes to have rs_init configure the new Replication Server.

    • Select No to return to the New Replication Server window, where you can modify values in any of the windows.

    Status messages display while rs_init sets up the Replication Server. If errors occur, use the error messages that display to correct the information in the configuration windows or to modify your environment.

    When the configuration is complete, rs_init displays the message “Configuration completed successfully.”

  2. Click Continue.

  3. Click OK to return to the Configure Replication System window.

  4. Click OK to quit rs_init.

You can find out more about the progress of the installation by looking at the rs_init log files, which are stored in the init\logs subdirectory of the %SYBASE_REP% directory.