Release 10.1C: OpenEdge Replication:
User Guide


Configuring the source database property file

Before you start OpenEdge Replication on your source database, you must configure your replication server. You configure the server by saving the sample source properties file provided by OpenEdge Replication and editing it.

To configure an OpenEdge Replication server for the source database:

  1. Make a copy of the source.repl.properties file located in the properties subdirectory of the OpenEdge Replication installation.
  2. Place this new file in the same directory as your source database with the name db-name.repl.properties, where db-name is the name of your source database.
  3. To alter the default configuration, edit the file. If you are on UNIX, you can use vi, emacs, or your favorite text editor to change the properties file.
  4. If you are in Windows, you can use Notepad or the Progress Explorer to change your properties file. For more information about the variables you can configure in the properties file, see the "OpenEdge Replication properties" section. For more information about changing the properties by using Progress Explorer, see the Progress Explorer Help.

    The following is a sample source.repl.properties file for the OpenEdge Replication server with two configured 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=source 
         transition=manual 
         transition-timeout=1200 
          
    [control-agent.agent1] 
         name=agent1 
         database=your target 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 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. Also, 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.

Agent rules

The following rules apply to the OpenEdge Replication agent:


Copyright © 2008 Progress Software Corporation
www.progress.com