Release 10.1B: OpenEdge Replication
User Guide


Transition properties

You must group all transition properties into the transition section of the db-name.repl.properties file. The properties file must be located in the same directory as the db-name.db file.

The following is a sample of properties for a primary database:

[server] 
    control-agents=agent1 
    database=ks1 
    transition=manual 
    transition-timeout=600 
    agent-shutdown-action=recovery 
    repl-keep-alive=0 
[control-agent.agent1] 
   name=agent1 
   database=target 
   host=localhost 
   port=6931 
   connect-timeout=120 
   replication-method=async 
   critical=0 
[agent] 
   name=agent1 
   database=ks1 
   listener-minport=4387 
   listener-maxport=4500 
   repl-keep-alive=0 
[transition] 
   database-role=reverse 
   responsibility=primary 
   auto-begin-ai=1 
   auto-add-ai-areas=1 
   transition-to-agents=agent1 
   ai-structure-file=ks1.addai.st 
   restart-after-transition=1 
   source-startup-arguments=-DBService replserv 
   target-startup-arguments=-S 6931 -DBService replagent 
   recovery-backup-arguments=primary.recovery.bak 

The following is a sample of properties for a secondary database:

# 
[agent] 
   name=agent1 
   database=target 
   listener-minport=4387 
   listener-maxport=4500 
   repl-keep-alive=0 
[server] 
    control-agents=agent1 
    database=ks1 
    transition=manual 
    transition-timeout=600 
    defer-agent-startup=60 
    agent-shutdown-action=recovery 
    repl-keep-alive=0 
[control-agent.agent1] 
   name=agent1 
   database=target 
   host=localhost 
   port=6931 
   connect-timeout=120 
   replication-method=async 
   critical=0 
[transition] 
   transition-to-agents=agent1 
   responsibility=secondary 
   database-role=reverse 
   auto-begin-ai=1 
   auto-add-ai-areas=1 
   ai-structure-file=ks2.addai.st 
   restart-after-transition=1 
   source-startup-arguments=-DBService replserv 
   target-startup-arguments=-S 6931 -DBService replagent 
   backup-method=full-offline 
   backup-arguments=ks2.sav 
   incremental-backup-arguments=ks2.sav.inc 
   recovery-backup-arguments=!secondary.recovery.bak 

See Table 4–3 for a description of each transition property. For details about setting the properties, see the "Setting transition properties" section.


Copyright © 2006 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095