This guide is for system administrators or other qualified installers who are familiar with their system environment, networks, disk resources, and media devices.
This book explains how to:
Set up and configure a replication system
Start and stop a Sybase® Replication Server®
Upgrade or downgrade Replication Server software
See the Replication Server release bulletin for your platform for the operating system and platforms that Replication Server supports.
Use this book with the Replication Server Installation Guide for UNIX to install and set up Replication Server for your platform.
The information in this book is organized as follows:
Chapter 1, “Preparing to Install and Configure Replication Server” describes what you need to know and do before you install Replication Server. Worksheets help you organize the installation information.
Chapter 2, “Configuring Replication Server and Adding Databases with rs_init” explains how to install Replication Servers and use rs_init to add Sybase Adaptive Server® Enterprise databases to your replication system.
Chapter 3, “Upgrading or Downgrading Replication Server” describes how to upgrade from an earlier version of Replication Server. It also explains how to downgrade your replication system to revert to an earlier version.
Chapter 4, “Using Password Encryption” describes how to use rs_init to enable password encryption for a Replication Server. It also explains how to alter passwords in configuration files.
Chapter 5, “Secure Sockets Layer” describes how to enable SSL for a Replication Server.
Chapter 6, “Starting or Stopping a Replication Server” explains how to begin using Replication Server.
Chapter 7, “Replication Monitoring Services” explains how to configure Replication Monitoring Services (RMS).
Chapter 8, “Installing and Implementing Non-ASE Support Features” explains how to install and configure support for non-Adaptive Server (non-ASE) data servers.
Appendix A, “Worksheets” includes the Replication Server Installation Worksheet, which you can use to collect and record the information you need to install and configure a Replication Server, and the Database Setup Worksheet, which you can use to collect and record the information you need to add a database to your replication system.
Appendix B, “Using rs_init with Resource Files” explains how to run rs_init in batch mode using resource files.
Appendix C, “Sample Replication System” explains how to set up a simple replication system using the pubs2 database provided with Adaptive Server. This exercise is a good introduction to Replication Server.
The Replication Server documentation set consists of the following:
The Release Bulletin for your platform – contains last-minute information that was too late to be included in the books.
A more recent version of the Release Bulletin may be available on the World Wide Web. To check for critical product or document information that was added after the release of the product CD, use the Sybase Product Manuals.
Installation Guide for your platform – describes installation and upgrade procedures for all Replication Server and related products.
Configuration Guide for your platform (this book) – describes configuration procedures for Replication Server and related products.
Getting Started with Replication Server – provides step-by-step instructions for installing and setting up a simple replication system.
ASE-to-ASE Replication Quick Start Guide – provides information for Adaptive Server users who want to set up a Replication Server to replicate data from one Adaptive Server database to another.
New Features Guide – describes the new features in Replication Server.
Administration Guide – contains an introduction to replication systems. This manual includes information and guidelines for creating and managing a replication system, setting up security, recovering from system failures, and improving performance.
Design Guide – contains information about designing a replication system and integrating heterogeneous data servers into a replication system.
Heterogeneous Replication Guide and the Replication Server Options documentation set – describes how to use Replication Server to replicate data between databases supplied by different vendors.
Reference Manual – contains the syntax and detailed descriptions of Replication Server commands in the Replication Command Language (RCL); Replication Server system functions; Adaptive Server commands, system procedures, and stored procedures used with Replication Server; Replication Server executable programs; and Replication Server system tables.
System Tables Diagram – illustrates system tables and their entity relationships in a poster format. Available only in print version.
Troubleshooting Guide – contains information to aid in diagnosing and correcting problems in the replication system.
Replication Manager plug-in help, which contains information about using Sybase Central™ to manage Replication Server.
Use the Sybase Getting Started CD and the Sybase Product Manuals Web site to learn more about your product:
The Getting Started CD is included with your software and contains release bulletins, installation guides in PDF format, and other documents or updated information. To read or print documents on the Getting Started CD, you need Adobe Acrobat Reader, which you can download at no charge from the Adobe Web site using a link provided on the CD.
You can also access the documents available on the Getting Started CD from the Sybase Product Manuals Web site.
The Sybase Product Manuals Web site, which can be accessed using a standard Web browser, includes the Replication Server documents that are not included in the Getting Started CD. In addition to product manuals, you will find links to EBFs/Maintenance, Technical Documents, Case Management, Solved Cases, newsgroups, and the Sybase Developer Network.
To access the Sybase Product Manuals Web site, go to Product Manuals.
Technical documentation at the Sybase Web site is updated frequently.
Finding the latest information on product certifications
Point your Web browser to Technical Documents.
Click Partner Certification Report.
In the Partner Certification Report filter select a product, platform, and timeframe and then click Go.
Click a Partner Certification Report title to display the report.
Finding the latest information on component certifications
Point your Web browser to Availability and Certification Reports.
Either select the product family and product under Search by Base Product; or select the platform and product under Search by Platform.
Select Search to display the availability and certification report for the selection.
Creating a personalized view of the Sybase Web
site (including support pages)
Set up a MySybase profile. MySybase is a free service that allows you to create a personalized view of Sybase Web pages.
Point your Web browser to Technical Documents.
Click MySybase and create a MySybase profile.
Finding the latest information on EBFs and software
maintenance
Point your Web browser to the Sybase Support Page.
Select EBFs/Maintenance. If prompted, enter your MySybase user name and password.
Select a product.
Specify a time frame and click Go. A list of EBF/Maintenance releases is displayed.
Padlock icons indicate that you do not have download authorization for certain EBF/Maintenance releases because you are not registered as a Technical Support Contact. If you have not registered, but have valid information provided by your Sybase representative or through your support contract, click Edit Roles to add the “Technical Support Contact” role to your MySybase profile.
Click the Info icon to display the EBF/Maintenance report, or click the product description to download the software.
This section describes the stylistic and syntactic conventions used in this book.
Style conventions Syntax statements (displaying the syntax and options for a command) are printed as follows:
alter user user set password new_passwd [verify password old_passwd]
Examples that show the use of Replication Server commands are printed as follows:
alter user louise set password hFE5t verify password hFE5t
Command names, command option names, program names, program flags, keywords, configuration parameters, functions, and stored procedures are printed as follows:
Use alter user to change the password for a login name.
Variables, parameters to functions and stored procedures, and user-supplied words are in italics in syntax and in paragraph text, as follows:
The set password new_passwd clause specifies a new password.
Names of database objects, such as databases, tables, columns, and datatypes, are in italics in paragraph text, as follows:
The base_price column in the Items table is a money datatype.
Names of replication objects, such as function-string classes, error classes, replication definitions, and subscriptions, are in italics.
Syntax conventions Syntax formatting conventions are summarized in Table 1. Examples combining these elements follow.
Key |
Definition |
---|---|
variable |
Variables (words standing for values that you fill in) are in italics. |
|
Curly braces mean you must choose at least one of the enclosed options. Do not include braces in the command. |
|
Brackets mean you may choose or omit enclosed options. Do not include brackets in the command. |
|
Vertical bars mean you may choose no more than one option (enclosed in braces or brackets). |
|
Commas mean you may choose as many options as you need (enclosed in braces or brackets). Separate your choices with commas, to be typed as part of the command. Commas may also be required in other syntax contexts. |
|
Parentheses are to be typed as part of the command. |
|
An ellipsis (three dots) means you may repeat the last unit as many times as you need. Do not include ellipses in the command. |
Obligatory Choices:
Curly braces and vertical bars – choose only one option.
{red | yellow | blue}
Curly braces and commas – choose one or more options. If you choose more than one, separate your choices with commas.
{cash, check, credit}
Optional choices:
One item in square brackets – choose it or omit it.
[anchovies]
Square brackets and vertical bars – choose none or only one.
[beans | rice | sweet_potatoes]
Square brackets and commas – choose none, one, or more options. If you choose more than one, separate your choices with commas.
[extra_cheese, avocados, sour_cream]
Repeating elements:
An ellipsis (...) means that you may repeat the last unit as many times as you need. For the alter function replication definition command, for example, you can list one or more parameters and their datatypes for either the add clause or the add searchable parameters clause:
alter function replication definition function_rep_def {deliver as 'proc_name' | add @parameter datatype[, @parameter datatype]... | add searchable parameters @parameter [, @parameter]... | send standby {all | replication definition} parameters}
In this book, Replication Agent is the generic term used for describing the Replication Agents for Adaptive Server Enterprise, Oracle, IBM DB2 UDB, and Microsoft SQL Server. The specific names are:
RepAgent – Replication Agent thread for Adaptive Server Enterprise
Replication Agent for ODBC – Replication Agent for IBM DB2 UDB and Microsoft SQL Server
Replication Agent for Oracle – Replication Agent for Oracle
This document is available in an HTML version that is specialized for accessibility. You can navigate the HTML with an adaptive technology such as a screen reader, or view it with a screen enlarger.
Replication Server HTML documentation has been tested for compliance with U.S. government Section 508 Accessibility requirements. Documents that comply with Section 508 generally also meet non-U.S. accessibility guidelines, such as the World Wide Web Consortium (W3C) guidelines for Web sites.
You might need to configure your accessibility tool
for optimal use. Some screen readers pronounce text based on its
case; for example, they pronounce ALL UPPERCASE TEXT as initials,
and MixedCase Text as words. You might find it helpful to configure
your tool to announce syntax conventions. Consult the documentation
for your tool.
For information about how Sybase supports accessibility, see Sybase Accessibility. The Sybase Accessibility site includes links to information on Section 508 and W3C standards.
Each Sybase installation that has purchased a support contract has one or more designated people who are authorized to contact Sybase Technical Support. If you cannot resolve a problem using the manuals or online help, please have the designated person contact Sybase Technical Support or the Sybase subsidiary in your area.