Download View this document as PDF

Transcript
Configure Replication Server and Add Databases Using rs_init
rs_init Interactive Command Buttons
rs_init has four command buttons that can help you make selections and move between
dialog boxes.
Command button
Action
Continue
Accept the values currently listed in the dialog box and move to the
next dialog box.
Back
Exit the current dialog box or prompt and return to the previous dialog
box.
Exit
Quit rs_init and return to the shell prompt.
Help
Display an online help window.
rs_init With a Resource File
Using rs_init with resource files to install, configure, upgrade, or downgrade may save time if
you plan to install multiple Replication Servers and many of the rs_init values are similar.
A resource file is an ASCII-formatted file that contains configuration information for rs_init.
Instead of entering configuration variables during an interactive rs_init session, use any text
editor to edit the resource file to specify the variables, then specify the resource file name on
the rs_init command line.
Using a Resource file for rs_init
Prepare and use a resource file for rs_init.
Sybase supplies several resource file templates for Replication Server. Each template contains
the attributes that are valid for a certain rs_init operation. Copy and edit a template file, which
is supplied with the Replication Server software.
1. Select the resource file template you want to use.
2. Make a copy of the template and rename it to distinguish it from the original. For example:
copy install.rs install.rsx
Note: You must have read and write permissions on the copy of the resource file template
that you want to edit. You may need to grant write permission to yourself as the file owner.
3. Use a text editor to edit the new resource file.
For example, enter:
edit install.rsx
4. When you have finished editing the resource file, start rs_init from the operating system
prompt, using the -r flag to specify your resource file. For example:
34
Replication Server