Once you set up the source and target databases and their corresponding property files, you can start OpenEdge Replication. Simply start your source and target databases with an OpenEdge Replication qualifier.

The order in which you start the databases does not matter. However:

  • It is recommended that if you did not set the defer-agent-startup property to a non-zero value in your server properties file, you start the target database first so that the OpenEdge Replication server does not time out.
  • If you do start the source database first, start the target database before the connect-timeout property in the [control-agent.name] section of the server properties file expires.

Alternatively, you can start OpenEdge Replication with the database utility dbman or OpenEdge Explorer (or OpenEdge Management, if you have a license).

Start the source database

Use the following command to start the source database:

proserve source-db-name -S {port| service name}
Note: You can start the source database with any valid PROSERVE argument. When using arguments that affect shared memory (number of users, clients per server, maximum number of servers, etc.), you should be careful to use the same arguments and values when you start the target database.

If there is a configuration error, the OpenEdge Replication server will be brought down even if there is no critical agent; and messages will be sent to the database log on both the source side and the target side. (When a critical agent exists for a server, transition starts automatically for that agent's target database during failure processing.)

The following are examples of a configuration error:

  • Missing AI extents
  • Improperly created target
  • Large file mismatch

Start the target database

Use the following command to start the target database:

proserve target-db-name -S {port |service name }

The database broker will monitor the port or service name specified by the -S argument; therefore, inclusion of the argument is required. The port or service name must be the same as the port or service name parameter you specify in the OpenEdge Replication server's repl.properties file.

The port or service name you specify with the -S argument can also be used by ABL clients and the Replication server. If the broker started is configured for both ABL and SQL connections, the SQL clients can use the port and service name as well.

Only limited database connections are allowed until OpenEdge Replication completes startup synchronization.

Note: You can start the target database with any valid PROSERVE argument. When using arguments that affect shared memory (number of users, clients per server, maximum number of servers, etc.), you should be careful to use the same arguments and values you used when you started the source database.