Changing a Direct Route to an Indirect Route

Change an existing direct route to an indirect route.

  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 then quiesce 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.
    • If the current Replication Server does not already have a direct route to the Replication Server that you will specify as the intermediate site for the new indirect route, create the route.

    • If the Replication Server that you will specify as the intermediate site for the new indirect route does not already have a direct or indirect route to the destination site, create the route.

  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
Related tasks
Quiescing a Replication System