Change an existing direct route to an indirect route.
At the source
Replication Server, from which the direct route originates, enter:
suspend route to dest_replication_server
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.
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.
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
Resume log transfer connections by entering the
following command at each Replication Server where you previously
suspended log transfer:
resume log transfer from all
At the source Replication Server, resume the suspended
route by entering the following command: