Configuration Of Callout Servers; Router Load Balancing - Compaq AA-Q88CE-TE System Manager's Manual

Rtr
Table of Contents

Advertisement

Starting and Setting Up RTR
2.5 Setting up Callout Servers
Example 2–5 Configuration of Callout Servers
% rtr
RTR> set environment/node= -
_RTR>
RTR> start rtr
RTR> create facility funds_transfer/frontend=(FE1,FE2,FE3) -
_RTR>
_RTR>
_RTR>

2.6 Router Load Balancing

Router load balancing, or intelligent re-connection of frontends to a router
is possible, allowing a frontend to select the router that has least loading. The
create facility
control this. RTR now allows frontends to determine their router connection. The
RTR version 2 implementation of load balancing treated all routers as equal and
this could cause reconnection timeouts in geographically distant routers.
When used with
enabled for frontend/router connections across the facility.
Use the
The default behavior (/nobalance) is for a frontend to connect to the preferred
router. Preferred routers are selected in the order specified in the
facility/router=tr1,tr2,tr3..
frontend will reconnect to the first router in the order when it becomes available.
Manual balancing can be attained by specifying different router orders across the
frontends.
Non load-balanced frontend connections will fail back to the preferred router
when it becomes available.
Automatic load balancing institutes a router list with a random value for the
frontend assigned at the time the
is issued. The frontend will sort the list of routers based on its own random order.
Randomness ensures that there will be a balance of load in a configuration with a
large number of frontends. Automatic failback will maintain the load distribution
on the routers and failback is controlled at a limited rate so as not to overload
configurations with a small number of routers.
The following points should be born in mind when using load-balancing:
Frontends connect to a single router, per facility
When several routers are configured on the frontend:
The specified list in the
order, by default, unless
Balancing may be individually enabled or disabled on the frontend nodes.
Balancing is dynamic. The loss or addition of a router node causes the
frontend nodes to redistribute their connections.
2–8 Starting and Setting Up RTR
(FE1,FE2,FE3,TR1,TR2,BE1,BE2,BE3)
and
set facility
create facility
set facility/[no]balance
/router=(TR1,TR2) -
/backend=(BE1,BE2,BE3) -
/call_out=router
commands have the
,
/balance
specifies that load balancing is
to switch load-balancing off and on.
qualifier. Automatic failback ensures that the
with the
create facility
constitutes the preferred search
create facility
is used
/balanced
qualifier to
/balance
create
command
/balance

Advertisement

Table of Contents
loading

This manual is also suitable for:

Reliable transaction router, version 3.2

Table of Contents