Changing a direct route to an indirect route

To change an existing direct route to an indirect route, perform these steps:

  1. At the source Replication Server, from which the direct route originates, enter:

    suspend route to dest_replication_server
    
  2. At each Replication Server that manages a database with a RepAgent, enter:

    suspend log transfer from all
    

    and follow the instructions in “Quiescing a replication system”. This procedure quiesces the replication system so that messages will be redirected to your new routing configuration without error.

  3. Create any additional routes that the new indirect route will use. See “Creating routes” for details.

  4. For the direct route you are changing to an indirect route, enter the following command at the source Replication Server where dest_replication_server is the destination Replication Server for the route you are altering, and thru_replication_server is the intermediate Replication Server for the route:

    alter route to dest_replication_server
    set next site [to] thru_replication_server
    
  5. Resume log transfer connections by entering the following command at each Replication Server where you previously suspended log transfer:

    resume log transfer from all
    
  6. At the source Replication Server, resume the suspended route by entering the following command:

    resume route to dest_replication_server