Examples of Creating Direct and Indirect Routes

Use the examples to learn to create direct and indirect routes, and set configuration parameters.

You need to create the direct routes from the primary Replication Server to the intermediate Replication Server and from the intermediate Replication Server to the destination Replication Server before you can create an indirect route.

Sites Connected with Indirect Routes in a Hierarchical Configuration
Figure 6-2 illustrates sites connected with indirect routes in a hierarchical configuration. N Y underscore R S to S A C underscore R S is an indirect route, based on the direct routes N Y underscore R S to S F underscore R S and S F underscore R S to S A C underscore R S. In an indirect route, the source Replication Server sends messages for the destination Replication Server to an intermediate Replication Server, which makes use of a route, direct or indirect, to the destination Replication Server.

Example 1

To create the direct route from NY_RS, the primary Replication Server, to SF_RS, enter in NY_RS:
create route to SF_RS
set username SF_rsi_user
set password SF_rsi_ps

Example 2

To create the direct routes SF_RS to SAC_RS and SF_RS to SJ_RS, enter in the intermediate Replication Server, SF_RS:
create route to SAC_RS
set username SAC_rsi_user
set password SAC_rsi_ps
create route to SJ_RS
set username SJ_rsi_user
set password SJ_rsi_ps

Example 3

After the direct routes are created, you can create indirect routes through them.

The following example creates the indirect routes from the primary site NY_RS to sites SAC_RS and SJ_RS, through the intermediate site, SF_RS. Enter these commands in the primary Replication Server, NY_RS:
create route to SAC_RS
set next site SF_RS
create route to SJ_RS
set next site SF_RS

Example 4

You can create a route and configure parameters at the same time.

To set the rsi_packet_size to 4096 bytes for the route to SF_RS, enter:
create route to SF_RS
set username SF_rsi_user
set password SF_rsi_ps
set rsi_packet_size to '4096'
Related concepts
Indirect Routes