Try OpenEdge Now
skip to main content
User Guide
Moving From Failure to Recovery with OpenEdge Replication : Transition properties
 

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=source-db-name
transition=manual
transition-timeout=600
agent-shutdown-action=recovery
repl-keep-alive=90

[control-agent.agent1]
name=agent1
database=target-db-name
host=localhost
port=6931
connect-timeout=120
replication-method=async
critical=0

[agent]
name=agent1
database=source-db-name
listener-minport=4387
listener-maxport=4500

[transition]
database-role=reverse
responsibility=primary
auto-begin-ai=1
auto-add-ai-areas=1
transition-to-agents=agent1
ai-structure-file=source-db-name.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-db-name
listener-minport=4387
listener-maxport=4500

[server]
control-agents=agent1
database=source-db-name
transition=manual
transition-timeout=600
defer-agent-startup=60
agent-shutdown-action=recovery
repl-keep-alive=90

[control-agent.agent1]
name=agent1
database=target-db-name
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=target-db-name.addai.st
restart-after-transition=1
source-startup-arguments=-DBService replserv
target-startup-arguments=-S 6931 -DBService replagent
backup-method=full-offline
backup-arguments=target-db-name.sav
incremental-backup-arguments=ks2.sav.inc
Note that -DBService is case-sensitive. If you do not enter the case correctly, an error is generated.
See Transitionproperties summary for a description of each transition property. For details about setting the properties, see Settingtransition properties .
* Setting transition properties