HP Reliable Transaction Router User Manual

Page 36

Advertising
background image

RTR Server Types

Figure 1–18 Bank Partitioning Example

VM-0837A-AI

TR

BE

Server

application

BE

Server

application

BE

Server

application

BE

Server

application

BE

Server

application

Accounts

1-19,999

Accounts

20,000-

39,999

Accounts

40,000-

69,999

Accounts

70,000-

89,999

Accounts

90,000-

99,999

You can assign a partition name in your application program

or have it set by the system manager. Note that sometimes the

terms key range and partition are used as synonyms in code

examples and samples with RTR, but strictly speaking, the

key range defines the partition. A partition has both a name,

its partition name, and an identifier generated by RTR — the

partition ID. The properties of a partition (callout, standby,

shadow, concurrent, key segment range) can be defined by

the system manager with a CREATE PARTITION command.

For details of the command syntax, refer to the HP Reliable

Transaction Router System Manager’s Manual.
A significant advantage of the partitioning shown in the bank

example is that you can add more account numbers without

making changes to your application; you need only add another

server and disk drive for the new account numbers. For example,

say you need to add account numbers from 90,000 to 99,999 to

the basic configuration of Figure 1–18, Bank Partitioning

Example. You can add these accounts and bring them on line

1–24 Introduction

Advertising