Compaq Reliable Transaction Router Manuel utilisateur

ReliableTransactionRouter
GettingStarted
Order Number: AA-RLE1A-TE
January 2001
This document introduces Reliable Transaction Router and describes its
concepts for the system manager, system administrator, and applications
programmer.
Revision/Update Information: This is a new manual.
Software Version: Reliable Transaction Router Version 4.0
Compaq Computer Corporation
Houston, Texas

© 2001 Compaq Computer Corporation
Compaq, the Compaq logo, AlphaServer, TruCluster, VAX, and VMS Registered
in U. S. Patent and Trademark Office.
DECnet, OpenVMS, and PATHWORKS are trademarks of Compaq Information
Technologies Group, L.P.
Microsoft and Windows NT are trademarks of Microsoft Corporation.
Intel is a trademark of Intel Corporation.
UNIX and The Open Group are trademarks of The Open Group.
All other product names mentioned herein may be trademarks or registered
trademarks of their respective companies.
Confidential computer software. Valid license from Compaq required for
possession, use, or copying. Consistent with FAR 12.211 and 12.212,
Commercial Computer Software, Computer Software Documentation, and
Technical Data for Commercial Items are licensed to the U.S. Government
under vendor’s standard commercial license.
Compaq shall not be liable for technical or editorial errors or omissions
contained herein.
The information in this publication is subject to change without notice and
is provided ‘‘AS IS’’ WITHOUT WARRANTY OF ANY KIND. THE ENTIRE
RISK ARISING OUT OF THE USE OF THIS INFORMATION REMAINS
WITH RECIPIENT. IN NO EVENT SHALL COMPAQ BE LIABLE FOR
ANY DIRECT, CONSEQUENTIAL, INCIDENTAL, SPECIAL, PUNITIVE OR
OTHER DAMAGES WHATSOEVER (INCLUDING WITHOUT LIMITATION,
DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION
OR LOSS OF BUSINESS INFORMATION), EVEN IF COMPAQ HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THE FOREGOING
SHALL APPLY REGARDLESS OF THE NEGLIGENCE OR OTHER FAULT
OF EITHER PARTY AND REGARDLESS OF WHETHER SUCH LIABILITY
SOUNDS IN CONTRACT, NEGLIGENCE, TORT OR ANY OTHER THEORY
OF LEGAL LIABILITY, AND NOTWITHSTANDING ANY FAILURE OF
ESSENTIAL PURPOSE OF ANY LIMITED REMEDY.
The limited warranties for Compaq products are exclusively set forth in
the documentation accompanying such products. Nothing herein should be
construed as constituting a further or additional warranty.
This document was prepared using VAX DOCUMENT, Version 2.1.

Contents
Preface ..................................................... vii
1 Introduction
Reliable Transaction Router . . ........................... 1–1
RTR Continuous Computing Concepts . . ................... 1–2
RTR Terminology . . ................................... 1–3
RTR Server Types . ................................... 1–15
RTR Networking Capabilities ........................... 1–23
2 Architectural Concepts
The Three-Layer Model ................................ 2–1
RTR Facilities Bridge the Gap ........................... 2–3
Broadcasts .......................................... 2–3
Flexibility and Growth ................................. 2–3
Transaction Integrity .................................. 2–4
The Partitioned Data Model . . ........................... 2–5
Object-Oriented Programming ........................... 2–5
Objects .......................................... 2–7
Messages ........................................ 2–8
Class Relationships ................................ 2–8
Polymorphism . ................................... 2–9
Object Implementation Benefits ....................... 2–9
XA Support ......................................... 2–10
iii

3 Reliability Features
Servers . . ........................................... 3–1
Failover and Recovery ................................. 3–2
Router Failover ................................... 3–2
Recovery Scenarios. ................................... 3–2
Backend Recovery ................................. 3–3
Router Recovery .................................. 3–3
Frontend Recovery ................................ 3–3
4 RTR Interfaces
RTR Management Station . . . ........................... 4–2
RTR Command Line Interface ........................ 4–2
Browser Interface.................................. 4–7
Application Programming Interfaces . . . ................... 4–7
RTR Object-Oriented Programming Interface . . .......... 4–7
RTR C Programming Interface ....................... 4–9
5 The RTR Environment
The RTR System Management Environment ................ 5–1
Monitoring RTR ................................... 5–4
Transaction Management . ........................... 5–4
Partition Management . . . ........................... 5–5
The RTR Runtime Environment ......................... 5–5
What’s Next? ........................................ 5–7
Glossary
Index
Examples
2–1 Objects-Defined Sample . . ........................... 2–8
iv

Figures
1RTR Reading Path ................................. x
1–1 Client Symbol . ................................... 1–4
1–2 Server Symbol . ................................... 1–5
1–3 Roles Symbols . ................................... 1–6
1–4 Facility Symbol ................................... 1–6
1–5 Components in the RTR Environment .................. 1–7
1–6 Two-Tier Client/Server Environment ................... 1–9
1–7 Three-Tier Client/Server Environment.................. 1–9
1–8 Browser Applet Configuration ........................ 1–10
1–9 RTR with Browser, Single Node, and Database . .......... 1–11
1–10 RTR Deployed on Two Nodes ......................... 1–11
1–11 RTR Deployed on Three Nodes ....................... 1–12
1–12 Standby Server Configuration ........................ 1–13
1–13 Transactional Shadowing Configuration ................. 1–14
1–14 Two Sites: Transactional and Disk Shadowing with Standby
Servers .......................................... 1–15
1–15 Standby Servers ................................... 1–17
1–16 Shadow Servers ................................... 1–18
1–17 Concurrent Servers ................................ 1–19
1–18 A Callout Server .................................. 1–20
1–19 Bank Partitioning Example .......................... 1–21
1–20 Standby with Partitioning ........................... 1–23
2–1 The Three Layer Model . . ........................... 2–2
2–2 Partitioned Data Model . . ........................... 2–6
4–1 RTR Browser Interface . . ........................... 4–8
5–1 RTR System Management Environment ................ 5–3
5–2 RTR Runtime Environment .......................... 5–6
Tables
2–1 Functional and Object-Oriented Programming Compared . . . 2–7
v


Preface
Purpose of this Document
The goal of this document is to assist an experienced system
manager, system administrator, or application programmer to
understand the Reliable Transaction Router (RTR) product.
Document Structure
This document contains the following chapters:
• Chapter 1, Introduction to RTR, provides information on
RTR technology, basic RTR concepts, and RTR terminology.
• Chapter 2, Architectural Concepts, introduces the RTR
three-layer model and explains ths use of RTR functions and
programming capabilities.
• Chapter 3, Reliability Features, highlights RTR server types
and failover and recovery scenarios.
• Chapter 4, RTR Interfaces, introduces the management and
programming interfaces of RTR.
• Chapter 5, The RTR Environment, describes the RTR
system management and runtime environments, and
provides explicit pointers to further reading in the RTR
documentation set.
vii

Related Documentation
Additional resources in the RTR documentation kit include:
Document Content
For all users:
Reliable Transaction
Router Release Notes Describes new features, changes, and
known restrictions for RTR.
RTR Commands Lists all RTR commands, their
qualifiers and defaults.
For the system
manager:
Reliable Transaction
Router Installation
Guide
Describes how to install RTR on all
supported platforms.
Reliable Transaction
Router System
Manager’s Manual
Describes how to configure, manage,
and monitor RTR.
Reliable Transaction
Router Migration
Guide
Explains how to migrate from RTR
Version 2 to RTR Version 3 (OpenVMS
only).
For the application
programmer:
Reliable Transaction
Router Application
Design Guide
Describes how to design application
programs for use with RTR, illustrated
with both the C and C++ interfaces.
Reliable Transaction
Router C++
Foundation Classes
Describes the object-oriented C++
interface that can be used to implement
RTR object-oriented applications.
Reliable Transaction
Router C Application
Programmer’s
Reference Manual
Explains how to design and code RTR
applications using the C programming
language; contains full descriptions of
the basic RTR API calls.
You can find additional information on RTR and
existing implementations on the RTR web site at
http://www.compaq.com/rtr/.
viii

Reader’s Comments
Compaq welcomes your comments on this guide. Please send
Please include the document title, date from title page, order
number, section and page numbers in your message. For product
Conventions This manual adopts the following conventions:
Convention Description
New term New terms are shown in bold when
introduced and defined. All RTR terms
are defined in the glossary at the end of
this document or in the supplemental
glossary in the RTR Application Design
Guide.
User input
User input and programming examples
are shown in a monospaced font.
Boldface monospaced font indicates
user input.
Terms and titles Terms defined only in the glossary are
shown in italics when presented for
the first time. Italics are also used for
titles of manuals and books, and for
emphasis.
FE RTR frontend
TR RTR transaction router or router
BE RTR backend
Reading Path The reading path to follow when using the Reliable Transaction
Router information set is shown in Figure 1.
ix

Figure 1 RTR Reading Path
Cover
letter
ZKO-GS015-99AI
SPD Release
Notes
Getting
Started
System Manager Application Programmer
Installation
Guide
Migration
Guide
System
Manager's
Manual
Commands
If V2 to V3
= Tutorial
Application
Design
Guide
C++
Foundation
Classes
C Application
Programmer's
Reference
Manual
If C++
x
Ce manuel convient aux modèles suivants
1
Table des matières
Autres manuels Compaq Routeur réseau
Manuels Routeur réseau populaires d'autres marques

NETGEAR
NETGEAR FS526T - Switch Manuel utilisateur

Korenix
Korenix JetNet 5710G Series Manuel utilisateur

Automated Logic
Automated Logic ZN551 Manuel du propriétaire

Cisco
Cisco ASR 1000 Series Manuel de l'opérateur

EnGenius
EnGenius ESR-9710 Manuel utilisateur

Cisco
Cisco 805 Series Instructions d'utilisation et de sécurité














