Release 10.1B: OpenEdge Replication
User Guide
Setting up the source database (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:
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:
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:
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
andonline
options. For example:
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 © 2006 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |