Tuxedo 10gR3: Load Balancing Algorithm For Multidomain (Hub Domain) Requests (Doc ID 1381042.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo - Version: 10.3.0 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

Assuming a service TOUPPER is published by more than one Domain Gateway, local clients' requests are load-balanced between the domains.

If one domain gateway is stopped, the load-balance occurs between remaining ones.

If this domain gateway is re-started, all TOUPPER requests will be sent to it until it reaches the counter level of other ones, where it is again load-balanced between the domains.

Picture of Tuxedo Domains Architecture:




        -- Client ---
       |            -+---
      -- Client --- |     |
     |             -+-----|
    -- Client --- |       |-----------
   |             -+-------|           |
  -- Client --- |         |           |
 |             -+---------            |
 |              |                     |
  -------------                       |
                                      |
              -- Tuxedo Hub Domain ---+--
             |                        V  |
             |  LOADBAL=Y                |
             |                           |   -- App Server Domain1(HUBR1) --
             |  -- GateWay Domain1 ---   |  |                               |
             | |                     -|--|--|-> applicativeService          |
             |  ----------------------   |  |                               |
             |                           |   -------------------------------
             |                           |
             |                           |   -- App Server Domain2(HUBR2) --
             |  -- GateWay Domain2 ---   |  |                               |
             | |                     -|--|--|-> applicativeService          |
             |  ----------------------   |  |                               |
             |                           |   -------------------------------
             |                           |
             |                           |   -- App Server Domain3(HUBR3) --
             |  -- GateWay Domain3 ---   |  |                               |
             | |                     -|--|--|-> applicativeService          |
             |  ----------------------   |  |                               |
             |                           |   -------------------------------
             |                           |
             |                           |   -- App Server Domain4(HUBR4) --
             |  -- GateWay Domain4 ---   |  |                               |
             | |                     -|--|--|-> applicativeService          |
             |  ----------------------   |  |                               |
             |                           |   -------------------------------
              ---------------------------





Monitoring calls table then looks like:




 -------- -------- -------- --------
| HUBR1  | HUBR2  | HUBR3  | HUBR4  |
|--------+--------+--------+--------|
| NotAVL | NotAVL | NotAVL | NotAVL | --> (1)
|--------+--------+--------+--------|
|      0 |      0 |      0 |      0 |
|--------+--------+--------+--------|
|      3 |      2 |      4 |      3 |
|--------+--------+--------+--------|
|     10 |      9 |     10 |      9 |
|--------+--------+--------+--------|
|     20 |     20 |     21 |     20 |
|--------+--------+--------+--------|
|     31 |     31 |     32 |     32 |
|--------+--------+--------+--------|
|     42 |     43 |     44 |     44 |
|--------+--------+--------+--------|
|     50 |     51 |     50 |     50 |
|--------+--------+--------+--------|
|     62 |     62 |     63 |     63 |
|--------+--------+--------+--------|
|     74 |     75 |     76 |     76 |
|--------+--------+--------+--------|
|     94 |     94 |     95 |     94 |
|--------+--------+--------+--------|
|    100 |    100 |    100 |    100 |
|--------+--------+--------+--------|
|    100 |    100 |    100 |    100 | --> (2)
|--------+--------+--------+--------|
|    104 |    103 |    103 | NotAVL |
|--------+--------+--------+--------|
|    109 |    109 |    109 | NotAVL |
|--------+--------+--------+--------|
|    126 |    126 |    125 | NotAVL |
|--------+--------+--------+--------|
|    141 | 1   43 |    141 | NotAVL |
|--------+--------+--------+--------|
|    157 |    156 |    157 | NotAVL |
|--------+--------+--------+--------|
|    174 |    173 |    175 | NotAVL |
|--------+--------+--------+--------|
|    190 |    190 |    189 | NotAVL |
|--------+--------+--------+--------|
|    207 |    206 |    207 | NotAVL |
|--------+--------+--------+--------|
|    219 |    219 |    220 | NotAVL |
|--------+--------+--------+--------|
|    232 |    232 |    233 | NotAVL |
|--------+--------+--------+--------|
|    233 |    233 |    234 | NotAVL |
|--------+--------+--------+--------|
|    233 |    233 |    234 | NotAVL | --> (3)
|--------+--------+--------+--------|
|    233 |    233 |    234 |      2 |
|--------+--------+--------+--------|
|    233 |    233 |    234 |     22 |
|--------+--------+--------+--------|
|    233 |    233 |    234 |     45 |
|--------+--------+--------+--------|
|    233 |    233 |    234 |     68 |
|--------+--------+--------+--------|
|    233 |    233 |    234 |     91 |
|--------+--------+--------+--------|
|    233 |    233 |    234 |    103 |
|--------+--------+--------+--------|
|    233 |    233 |    234 |    126 |
|--------+--------+--------+--------|
|    233 |    233 |    234 |    149 |
|--------+--------+--------+--------|
|    233 |    233 |    234 |    172 |
|--------+--------+--------+--------|
|    233 |    233 |    234 |    194 |
|--------+--------+--------+--------|
|    233 |    233 |    234 |    217 |
|--------+--------+--------+--------|
|    233 |    233 |    234 |    230 | --> (4)
|--------+--------+--------+--------|
|    250 |    250 |    250 |    249 |
|--------+--------+--------+--------|
|    265 |    266 |    265 |    264 |
|--------+--------+--------+--------|
|    275 |    276 |    275 |    274 |
|--------+--------+--------+--------|
|    275 |    276 |    275 |    274 |
|--------+--------+--------+--------|
|    275 |    276 |    275 |    274 |
|--------+--------+--------+--------|
|    275 |    276 |    275 |    274 |
 -------- -------- -------- --------

(1) start the hub domain and launch 400 calls
(2) stop on hub domain the gateway group connect to HUBR4 and launch 400 calls
(3) restart on hub domain the gateway group connect to HUBR4 and launch 400 calls

After (3) at the beginning only the number of calls made by HUBR4 increase till line (4).


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms