You configure OpenEdge Replication for two agents by copying and editing the sample properties file.
Use the following procedure to configure OpenEdge Replication for two agents:
1. Copy the source properties file fromOpenEdge-install-dir/properties/source.repl.properties to your source database directory, and rename the copy with your source database name.
2. Edit the [server] and [control.agent] sections, similar to the following:
[control-agent.agent1-name]
name=agent1-name database=target-db-name host=yourhost port=your port or service name connect-timeout=120
replication-method=async
critical=0
[control-agent.agent2-name]
name=agent2-name database=target-db2-name host=yourhost port=your port or service name connect-timeout=120
replication-method=async
critical=0
3. Copy the target properties file from $DSRHOME/properties/target.repl.properties to the database directories for each target database, and rename the copies with the corresponding target database name.
4. Edit the [agent] section in each file, similar to the following:
Note: In a two-agent scenario, one Replication agent may connect to the Replication server and then terminate while the server is connecting to the second Replication agent. In this situation, the Replication server fails and does not attempt to reconnect to the agents. You must restart both target databases and then restart the Replication server, which will try again to connect to both agents.