Try OpenEdge Now
skip to main content
User Guide
OpenEdge Replication Quick Command Summary : Setting up the source and target databases : Setting up the source database with deferred agent startup for online backup
 

Setting up the source database with deferred agent startup for online backup

Use the following steps to set up the source database with deferred agent startup for online backup:
1. Create a structure file. For example:
prostrct list source-db-name source-db-name.st
2. Verify that after-imaging is enabled. If AI is not enabled:
a. Create and edit a structure file (source-db-name-ai.st) to add AI.
b. Apply source-db-name-ai.st to the source database, as shown:
prostrct add source-db-name source-db-name_ai.st
c. Back up the database, as shown:
probkup source-db-name source-db-backup-name
d. Begin AI, as shown:
rfutil source-db-name -C aimage begin
3. Enable Replication, as shown:
proutil source-db-name -C enableSiteReplication source
4. Back up the database, as shown:
probkup online source-db-name source-db-backup-name -REPLTargetCreation
5. Set defer-agent-startup in the server properties file, as shown:
[server]
     control-agents=agent-name
     database=source-db-name
     transition=manual
     transition-timeout=1200
     defer-agent-startup=1400
6. Restart the source database, as shown (note that -DBService is case-sensitive):
PROSERVE -db source-db-name -DBService replserv
-S {port|service name }