Release 10.1C: OpenEdge Replication:
User Guide


Setting up the source database with an online backup

This section describes some of the tasks you must perform on the source database to prepare to run OpenEdge Replication. Refer to this section if you are using an online backup of the source database to create the target database.

To enable online backups, you need to implement the deferred agent startup mode, which is described in the "Using the deferred agent startup implementation" section.

You also must have enabled AI on the database.

Before you begin

Execute your PROENV script every time you open a command-line window or shell, and ensure that you have $DLC, $PROMSGS, $DSRHOME, and $PROCFG environment variables set correctly.

For more information on how to perform these tasks, see OpenEdge Database Management: Database Administration .

Creating a structure file

Once you have shut down your source database, you need to build a structure file (.st). Use the following command to build this file:

prostrct list source-db-name source-db-name.st 

The structure file that originates from the source will be moved to the target machine.

Enabling the source database for OpenEdge Replication

OpenEdge Replication requires that the source database be enabled before starting the database. To enable the source database (online or offline), enter the following command:

proutil source-db-name -C enableSiteReplication source 

Configuring the OpenEdge Replication server for deferred agent startup

Online backups require a server that is configured for deferred agent startup. To configure such a server, you must set the defer-agent-startup property to a valid time-out value (in minutes) in the server property file. In the following example, the time-out is set for four hours:

[server] 
     defer-agent-startup=240 

For more information, see the "OpenEdge Replication property files" section and the "OpenEdge Replication properties" section.

Performing an online backup

To perform an online backup, use the -REPLTargetCreation and online options. For example:

probkup online source-db-name source-db-name.bak -REPLTargetCreation 

If you need more information about database backups, see OpenEdge Database Management: Database Administration .

After you complete the tasks described in this section, go to the "Starting the target database" section.


Copyright © 2008 Progress Software Corporation
www.progress.com