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.
- From the left pane of the Sybase Central main window, select the Replication Manager
icon.
- In the right pane, double-click Add Replication Environment.
- Enter a name for your replication environment; for example MY_RSENV. Click Next.
- Enter a user name, password, and retype the password in the confirmation
field to access the replication environment. Click Next.
- Click Add. Select the type of server to add to the environment. To add the
sample Replication Server, select Replication Server. Click Next.
- Select SAMPLE_RS as the server. Click Next.
- 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.
- Click Next to move past the Select RSSD Server window.
- Enter:
- User name – SAMPLE_RS_RSSD_prim
- Password – Same as the password for
SAMPLE_RS.
Click Next.
- Click Finish.
- Click Add to add Adaptive Server Enterprise containing the primary
database to the environment. Select Adaptive Server Enterprise and click
Next.
- 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.
Click Finish.
- Click Add to add Adaptive Server Enterprise containing the replicate
database to the environment. Select Adaptive Server Enterprise and click
Next.
- 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.
Click Finish.
- 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.
- 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.