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 with any text editor that can save ASCII format files. To create a resource file, copy and edit a template file 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.

The following are the Replication Server resource file templates. The templates are located in subdirectories of the init subdirectory of the Sybase installation directory:

Table B-1: Resource file templates for Replication Server

Template name

Description

install.rs

Configure a new Replication Server.

setupdb.rs

Add a database to the replication system.

upgr.rs

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

upgrdb.rs

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

downgr.rs

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

eers.rs

Enable password encryption for a Replication Server.

eeltm.rs

Enable password encryption for an LTM.

updrscf.rs

Alter a password in a Replication Server configuration file.

updltmcf.rs

Alter a password in an LTM configuration file.