Defining the Replication Environment

Define the Replication Environment. A replication environment is an object in Replication Manager that represents all servers that participate in replication.

Prerequisites
Verify that you have started the sample Replication Server.
Task

Use the wizard to add the Replication Server, the primary Adaptive Server, and the replicate Adaptive Server. Record the user names and passwords that you define, as you will need this information later on.

This task uses the sample Replication Server named SAMPLE_RS created during installation.

  1. From the left pane of the Sybase Central main window, select the Replication Manager icon.
  2. In the right pane, double-click Add Replication Environment.
  3. Enter a name for your replication environment; for example MY_RSENV. Click Next.
  4. Enter a user name, password, and retype the password in the confirmation field to access the replication environment. Click Next.
  5. Click Add. Select the type of server to add to the environment. To add the sample Replication Server, select Replication Server. Click Next.
  6. Select SAMPLE_RS as the server. Click Next.
  7. Enter:
    • User name – sa
    • Password – sa user password for the SAMPLE_RS. You can enter a maximum of 30 bytes in the password field. For:
      • single-byte character – enter 6 to 30 characters.
      • double-byte character – enter 3 to 15 characters.

    Click Next.

  8. Click Next to move past the Select RSSD Server window.
  9. Enter:
    • User name – SAMPLE_RS_RSSD_prim
    • Password – Same as the password for SAMPLE_RS.

    Click Next.

  10. Click Finish.
  11. Click Add to add Adaptive Server Enterprise containing the primary database to the environment. Select Adaptive Server Enterprise and click Next.
  12. Select the primary Adaptive Server from the Servers list. Click Next.
    Add a user name and password that Replication Manager can use to log in to the primary database. This user must be the system administrator, or the equivalent, with "sso_role" and "sa_role" privileges.
    • User name
    • Password

    Click Finish.

  13. Click Add to add Adaptive Server Enterprise containing the replicate database to the environment. Select Adaptive Server Enterprise and click Next.
  14. Select the replicate Adaptive Server from the Servers list. Click Next.
    Add a user name and password that Replication Manager can use to log in to the replicate database. This user must be the system administrator, or the equivalent, with "sso_role" and "sa_role" privileges.
    • User name
    • Password

    Click Finish.

  15. Click Next.
    Check the summary page to make sure the information is correct and complete.

    If the information is not correct, click Back to return to previous pages and correct the information.

  16. Click Finish.
In Sybase Central, the new replication environment icon using the name you specified appears in the left pane beneath the Replication Manager icon.