BEA Logo BEA Tuxedo Release 8.0

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

   Tuxedo Documentation   |   Administering a BEA Tuxedo Application at Run Time   |   Local Topics   |   Previous Topic   |   Next Topic   |   Contents

 


How to Change Factory-based Routing (FBR) for an Interface

Note: For detailed information about factory-based routing for a distributed BEA Tuxedo CORBA application, refer to the Scaling, Distributing, and Tuning CORBA Applications guide.

To change the factory-based routing for a CORBA interface, complete the following steps:

  1. Start a tmconfig session.

  2. Select the ROUTING section of the configuration file (choice #7 on the menu of configuration file sections).

  3. Using the FIRST and NEXT operations, select the entry for which you want to change the FBR.

  4. Select the UPDATE operation.

  5. Enter y (for yes) when prompted to say whether you want to start editing.
    Do you want to edit(n)? y

  6. Change the relevant fields to values such as those shown in the middle column in the following table: :

    Field

    Sample Value

    Meaning

    TA_ROUTINGNAME

    STU_ID

    Name of the routing section.

    TA_FIELD

    student_id

    The value of this field is subject to the criterion (specified in the TA_RANGES field); that is, the value of this field determines the routing result.

    TA_RANGES

    100001-100050:ORA_GRP1,100051-*:ORA_GRP2

    The routing criterion being used.


     

The value of the TA_RANGES field is the routing criterion. For example, assume that our modest student enrollment before the update allowed for a routing criterion of student IDs between 100001-100005 to ORA_GRP1, and 100006-100010 to ORA_GRP2. In the change shown in the preceding table, if the value of student_id is between 100001-100050 (inclusive), requests are sent to the servers in ORA_GRP1. Other requests are sent to ORA_GRP2.

Note: Dynamic changes that you make to a routing parameter with tmconfig take effect on subsequent invocations and do not affect outstanding invocations.

You can also dynamically change the TA_FACTORYROUTING assignment in the INTERFACES section. For example:

  1. Start a tmconfig session.

  2. Select the INTERFACES section of the configuration file (choice #12 on the menu of configuration file sections).

  3. Using the FIRST and NEXT operations, select the interface entry for which you want to change the FBR. For example, if you defined a new factory-based routing criterion named CAMPUS in the ROUTING section, you could reassign a Registrar interface to this criterion.

  4. Select the UPDATE operation.

  5. Enter y (for yes) when prompted to say whether you want to start editing.
    Do you want to edit(n)? y

 

back to top previous page next page