Set up the deferred agent startup implementation
Print
- Last Updated: March 13, 2024
- 2 minute read
- OpenEdge
- Version 12.2
- Documentation
To set up the deferred agent startup implementation:
-
Execute your PROENV script every
time you open a command-line window or shell, and ensure that you
have
$DLC,$PROMSGS,$DSRHOME, and$PROCFGenvironment variables set correctly. - Shut down the source database.
-
On the source machine, do the following:
-
Create an initial backup
of your source database.
Note: 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 Set up the source database with an online backup.
-
Create a structure file (
.st) of the source database. - Ensure that after-imaging is set up and running.
- Enable the source database for OpenEdge Replication.
-
Perform an incremental backup of the
source database.
Note: This step is not necessary if you intend to create an online backup. See Set up the source database with an online backup.
-
Create an initial backup
of your source database.
-
Configure your OpenEdge Replication server by doing the following:
-
Set the
defer-agent-startupproperty to a valid time-out value in the OpenEdge Replication server properties file. - Configure the OpenEdge Replication server properties file for your other server properties.
For more information, see Configure the OpenEdge Replication property files.
-
Set the
- Start the source database.
- If you have not already created an offline backup, create an online backup of the source database.
-
On the target machine, do the following:
- Use the source database backup as an initial copy of the target database.
- Enable the target database for OpenEdge Replication.
For more information about these tasks, see Set up the OpenEdge Replication target database.
- Configure the OpenEdge Replication agent properties file.
- Start the OpenEdge Replication target database.
-
Wait for the OpenEdge Replication server to connect to the
agent(s), or use the DSRUTIL
connectagentcommand to force a connection without waiting. For more information aboutconnectagent, 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.