Try OpenEdge Now
skip to main content
User Guide
Setting Up OpenEdge Replication : Choosing the OpenEdge Replication agent startup mode : Setting up the deferred agent startup implementation
 

Setting up the deferred agent startup implementation

To set up the deferred agent startup implementation:
1. 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.
2. Shut down the source database.
3. On the source machine, do the following:
a. Create an initial backup of your source database.
This step is not necessary if you prefer to do an online backup of the source database. Online backup is preferable in situations where the database is large, backups are time consuming, and you want to minimize the downtime of the database. For more information, see Setting up the source database with an online backup.
b. Create a structure file (.st) of the source database.
c. Ensure that after-imaging is set up and running.
d. Enable the source database for OpenEdge Replication.
e. Perform an incremental backup of the source database.
This step is not necessary if you intend to create an online backup. See Setting up the source database with an online backup.
4. Configure your OpenEdge Replication server by doing the following:
a. Set the defer-agent-startup property to a valid time-out value in the OpenEdge Replication server properties file.
b. Configure the OpenEdge Replication server properties file for your other server properties.
For more information, see Configuring the OpenEdge Replication property files.
5. Start the source database.
6. If you have not already created an offline backup, create an online backup of the source database.
7. On the target machine, do the following:
a. Use the source database backup as an initial copy of the target database.
b. Enable the target database for OpenEdge Replication.
For more information about these tasks, see Setting up the OpenEdge Replication target database.
8. Configure the OpenEdge Replication agent properties file.
9. Start the OpenEdge Replication target database.
10. Wait for the OpenEdge Replication server to connect to the agent(s), or use the DSRUTIL connectagent command to force a connection without waiting. For more information about connectagent, see DSRUTIL connectagent database qualifier.
Once the synchronization between the OpenEdge Replication server and agent(s) is complete, normal OpenEdge Replication target database activity is allowed.