Using resource file templates

Instead of using rs_init interactively, you can use a resource file to install, configure, upgrade, or downgrade a Replication Server. Resource files are text files that you can modify using any text editor that can save ASCII format files. To create a resource file, copy and edit a template file, which is supplied with the Replication Server software. Then execute rs_init with the -r command line option, specifying the resource file that rs_init is to use for input.

Sybase supplies several resource file templates for Replication Server. Each template contains the attributes that are valid for a certain rs_init operation.

Table B-1 lists the Replication Server resource file templates. The templates are located in subdirectories under the init subdirectory of the Sybase installation directory.

Table B-1: Resource file templates for Replication Server

Template name

Description

install.rs

Configures a new Replication Server.

setupdb.rs

Adds a database to the replication system.

upgr.rs

Upgrades an RSSD for a Replication Server. Use this template after installing new Replication Server software.

upgrdb.rs

Upgrades a user database that is already part of a replication system.

downgr.rs

Downgrades an RSSD for a Replication Server. Use this template before reinstalling the previous Replication Server software release.

eers.rs

Enables password encryption for a Replication Server.

updrscf.rs

Alters a password in a Replication Server configuration file.