Properties file example

The following is an example of a source.repl.properties file for an OpenEdge Replication server that is configured with two agents:

# OpenEdge Replication properties file for a database that will be used 
#  as a source database for OpenEdge Replication. This is a two agent #  configuration.
[server]
     control-agents=agent1, agent2     
     database=your source db name 
     transition=manual
     transition-timeout=1200
     
[control-agent.agent1]
     name=agent1
     database=your target db name     
     host=yourhost
     port=your port or service name
     connect-timeout=120
     replication-method=async
     critical=0

[control-agent.agent2]
     name=agent2
     database=your target db name
     host=yourhost
     port=your port or service name
     connect-timeout=120
     replication-method=async
     critical=0

In this example:

  • agent1 in the control-agents=agent1 of the [server] section must match the control agent name specified in the [control-agent.agent1] section head.
  • agent2 in the control-agents=agent2 of the [server] section must match the control agent name specified in the [control-agent.agent2] section head.
  • ALL is not allowed as an agent name. Each agent must have a unique name.

When you finish editing the file, save it.