Compaq Reliable Transaction Router Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Software Compaq Reliable Transaction Router. Compaq Reliable Transaction Router User's Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 78
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
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
Vista de página 0
1 2 3 4 5 6 ... 77 78

Resumo do Conteúdo

Página 1 - GettingStarted

ReliableTransactionRouterGettingStartedOrder Number: AA-RLE1A-TEJanuary 2001This document introduces Reliable Transaction Router and describes itsconc

Página 2

Figure 1 RTR Reading PathCoverletterZKO-GS015-99AISPD ReleaseNotesGettingStartedSystem ManagerApplication ProgrammerInstallationGuideMigrationGuideSys

Página 3 - Contents

1IntroductionThis document introduces RTR and describes RTR concepts. It isintended for the system manager or administrator and for theapplication pro

Página 4

RTR Continuous Computing ConceptsRTR Continuous Computing ConceptsRTR provides a continuous computing environment that isparticularly valuable in finan

Página 5

RTR TerminologyRTR TerminologyThe following terms are either unique to RTR or redefined whenused in the RTR context. If you have learned any of these t

Página 6

RTR TerminologyRTR ApplicationAn RTR application is user-written software that executeswithin the confines of several distributed processes. The RTRapp

Página 7 - Document Structure

RTR TerminologyFigure 1–2 Server SymbolChannelRTR expects client and server applications to identify themselvesbefore they request RTR services. Durin

Página 8 - Related Documentation

RTR TerminologyFigure 1–3 Roles SymbolsFEBETRFacilityThe mapping between nodes and roles is done using a facility.An RTR facility is the user-defined n

Página 9 - Reading Path

RTR TerminologyFigure 1–5 Components in the RTR EnvironmentLKG-11203-98WIUser Accounts FacilityFE TR BEGeneral Ledger FacilityClientapplicationServera

Página 10 - If V2 to V3

RTR Terminologymessaging, RTR ensures that a transaction is ‘‘all or nothing’’—either fully completed or discarded; either both the checkingaccount de

Página 11 - Introduction

RTR TerminologyFigure 1–6 Two-Tier Client/Server EnvironmentLKG-11204-98WIDatabase ServerDMApplication Presentation and Business Logic(ODBC Model)Figu

Página 12 - 1–2 Introduction

© 2001 Compaq Computer CorporationCompaq, the Compaq logo, AlphaServer, TruCluster, VAX, and VMS Registeredin U. S. Patent and Trademark Office.DECnet,

Página 13 - RTR Terminology

RTR TerminologyAll components can reside on a single node but are typicallydeployed on different nodes to achieve modularity, scalability,and redundan

Página 14 - RTR Application

RTR Terminologysingle node configuration can be useful during development, butwould not normally be used when your application is deployed.Figure 1–9 R

Página 15 - RTR configuration

RTR TerminologyIn this example, the frontend with the client and the routerreside on one node, and the server resides on the backend.Frequently, route

Página 16 - Facility

RTR TerminologyFigure 1–12 Standby Server ConfigurationLKG-11210-98WITRBEDBBEServerServerPrimaryServerStandbyServerTransactionalshadowingTo increase tr

Página 17 - Transactional

RTR TerminologyFigure 1–13 Transactional Shadowing ConfigurationLKG-11211-98WITRBEBEServerServerPrimaryServerShadowServerFEWith transactional shadowing

Página 18 - Controller

RTR Server TypesFigure 1–14 Two Sites: Transactional and Disk Shadowing with Standby ServersLKG-11212-98WIDiskShadowingFETRBEBEBEBETRTransactionalShad

Página 19 - Introduction 1–9

RTR Server Types• Concurrent servers• Callout serversThese are described in the next few paragraphs. You specifyserver types to your application in RT

Página 20 - 1–10 Introduction

RTR Server Typesone node can contain the primary servers for one key range andstandby servers for another key range to balance the load acrosssystems.

Página 21 - Introduction 1–11

RTR Server TypesFigure 1–16 shows a simple shadow configuration. The main(BE) Server at Site 1 and the shadow server (Shadow) at Site2 both receive eve

Página 22 - 1–12 Introduction

RTR Server Typeschannels within a single process or as one channel in separateprocesses.Figure 1–17 Concurrent ServersBEServer1A-NServer2Server3Server

Página 23 - RTR Journal

ContentsPreface ... vii1 IntroductionReliable Transaction Router . . ... 1–1

Página 24 - 1–14 Introduction

RTR Server TypesFigure 1–18 A Callout ServerTransactionToPartition ATRCalloutServerApplicationServerBEUser Accounts FacilityLKG-11276-98WIAuthenticati

Página 25 - RTR Server Types

RTR Server TypesPartitionWhen working with database systems, partitioning the databasecan be essential to ensuring smooth and untrammeledperformance w

Página 26 - Standby in a

RTR Server Typesbut strictly speaking, the key range defines the partition. Apartition has both a name, its partition name, and an identifiergenerated b

Página 27

RTR Networking CapabilitiesFigure 1–20 Standby with PartitioningLKG-11214-98WIRouter1-199991-199991-199991-19999Accounts:1-1999920000-3999920000-39999

Página 29 - Callout server

2Architectural ConceptsThis chapter introduces concepts on basic transaction processingand RTR architecture.The Three-Layer ModelRTR is based on a thr

Página 30 - User Accounts Facility

The Three-Layer ModelFigure 2–1 The Three Layer ModelDBBEServerBEServerTRFEClientFEClientFEClientDBTerminalsFrontends (FE) Routers (TR)Backends (BE)Da

Página 31 - Key range

RTR Facilities Bridge the GapRTR Facilities Bridge the GapMany applications can use RTR at the same time withoutinterfering with one another. This is

Página 32 - Anonymous clients

Flexibility and Growth• User access patterns• The volume of dataSince an RTR-based system can be built using multiple systemsat each functional layer,

Página 33 - RTR Networking Capabilities

The Partitioned Data ModelThe Partitioned Data ModelOne goal in designing for high transaction throughput isreducing the time that users must wait for

Página 34

3 Reliability FeaturesServers . . ... 3–1Failover and Recovery ... 3–2Router Fai

Página 35 - Architectural Concepts

Object-Oriented ProgrammingFigure 2–2 Partitioned Data ModelDBBEServerBEServerTRFEClientFEClientFEClientDBTerminalsFrontends (FE) Routers (TR)Backends

Página 36 - ZKO-GS011-99AI

Object-Oriented ProgrammingTable 2–1 Functional and Object-Oriented ProgrammingComparedFunctional Programming Object-Oriented ProgrammingA program con

Página 37

Object-Oriented ProgrammingExample 2–1 Objects-Defined SampleDog.h:class Dog{ ...};main.cpp:#include "Dog.h"main(){Dog King;Dog Fifi;}Message

Página 38 - Transaction Integrity

Object-Oriented ProgrammingPolymorphismPolymorphism is the ability of objects, inherited from a commonbase or parent class, to respond differently to

Página 39 - Object-Oriented Programming

XA SupportXA SupportThe XA interface is part of the X/Open DTP (DistributedTransaction Processing) standard. It defines the interface thattransaction m

Página 40

3Reliability FeaturesReliability in RTR is enhanced by the use of:• Concurrent servers• Standby servers• Shadow servers• Callout servers• Router failo

Página 41 - Architectural Concepts 2–7

Failover and RecoveryFailover and RecoveryRTR provides several capabilities to ensure failover and recoveryunder several circumstances.Router Failover

Página 42 - Relationships

Recovery ScenariosBackendRecoveryIf standby or shadow servers are available on another backendnode, operation of the rest of the system will continue

Página 44 - XA Support

4RTR InterfacesRTR provides interfaces for management and applicationprogramming.You manage RTR with a management interface from the RTRmanagement sta

Página 45 - Reliability Features

Figures1 RTR Reading Path ... x1–1 Client Symbol . ... 1–41–2 Server Symbol . ...

Página 46 - Recovery Scenarios

The RTR application programming interfaces are identicalon all hardware and operating system platforms that supportRTR. The object-oriented API is ful

Página 47 - Reliability Features 3–3

RTR Management StationThe user is called user, the facility being defined is calledDESIGN, a client and a server are established, and a testmessage con

Página 48

RTR Management Station[The user issues the following commands on the serverapplication where RTR is running on the backend.]$ RTRCopyright Compaq Comp

Página 49 - RTR Interfaces

RTR Management StationRTR> RTR_RECEIVE_MESSAGE/CHAN=S%RTR-S-OK, normal successful completionchannel name: Smsgsbmsgtype: rtr_mt_msg1msglen: 19usrhd

Página 50 - RTR Management Station

RTR Management StationRTR> RTR_RECEIVE_MESSAGE/CHANNEL=C/tim[to get mt_opened or mt_closed]%RTR-S-OK, normal successful completionchannel name: Cms

Página 51 - RTR Interfaces 4–3

RTR Management StationRTR> RTR_RECEIVE_MESSAGE%RTR-S-OK, normal successful completionchannel name: S...msgtype: rtr_mt_accepted...RTR> STOP RTRB

Página 52 - 4–4 RTR Interfaces

Application Programming InterfacesFigure 4–1 RTR Browser InterfaceSample C++ clientcodeExample of object creation in an RTR client program.//// Create

Página 53 - RTR Interfaces 4–5

Application Programming InterfacesSample C++server codeExample of object creation in an RTR server program.void CombinationOrderProcessor::StartProces

Página 54 - 4–6 RTR Interfaces

Application Programming InterfacesSample C clientcodeExample of an open channel call in an RTR client program:status = rtr_open_channel(&Channel,F

Página 55 - RTR Interfaces 4–7

5The RTR EnvironmentThe RTR environment has two parts:• The system management environment• The runtime environmentThe RTR System Management Environmen

Página 57 - Interface

The RTR System Management Environment• Handles all transactions and recoveryRTRACP handles interprocess communication traffic, networktraffic, and is th

Página 58 - Sample C server

The RTR System Management EnvironmentThe Command Server Process executes commands both locallyand across nodes. Commands that can be executed at the R

Página 59 - The RTR Environment

The RTR System Management EnvironmentMonitoring RTRRTR Monitor pictures or the RTR Monitor let you view thestatus and activities of RTR and your appli

Página 60 - 5–2 The RTR Environment

The RTR System Management EnvironmentPartitionManagementPartitions are subdivisions of a routing key range of values usedwith a partitioned data model

Página 61 - The RTR Environment 5–3

The RTR Runtime Environment• Server application• RTR shareable image, LIBRTR• RTR control process, RTRACP• RTR daemon, RTRDFigure 5–2 shows these comp

Página 62 - Management

What’s Next?What’s Next?This concludes the material on RTR concepts and capabilitiesthat all users and implementors should know. For moreinformation,

Página 64 - 5–6 The RTR Environment

GlossaryA few additional terms are defined in the Glossary to theReliable Transaction Router Application Design Guide.ACIDTransaction properties suppor

Página 65 - What’s Next?

branchA subdivision of a bank; perhaps in another town.broadcastA nontransactional message.callout serverA server process used for transactional authe

Página 66

common classesC++ foundation classes that can be used in both client and serverapplications.concurrent serverA server process identical to other serve

Página 67 - Glossary

PrefacePurpose of this DocumentThe goal of this document is to assist an experienced systemmanager, system administrator, or application programmer to

Página 68 - Glossary–2

endianThe byte-ordering of multibyte values. Big endian: high-orderbyte at starting address; little endian: low-order byte at startingaddress.eventRTR

Página 69 - Glossary–3

frontendFE, the physical node in an RTR facility where the clientapplication runs.FTPFile transfer protocol.inquorateNodes/roles that cannot participa

Página 70 - Glossary–4

messageA logical grouping of information transmitted between softwarecomponents, typically over network links.message handlerA C++ API-derived object

Página 71 - Glossary–5

primaryThe state of the partition servicing the original data store ordatabase. A primary has a secondary or shadow counterpart.processThe basic softw

Página 72 - Glossary–6

rollbackWhen a transaction has been committed on the primarydatabase but cannot be committed on its shadow, the committedtransaction must be removed o

Página 73 - Glossary–7

shadowThe state of the server process that services a copy of the datastore or primary database. In the context of RTR, the shadowmethod is transactio

Página 74 - Glossary–8

transactional messageA message containing transactional data.transactional shadowingA process by which identical transactional data are writtento sepa

Página 75 - Glossary–9

IndexAACID, 2–4Anonymous client, 1–22API, 4–1Applicationdistributed, 2–4software, 2–2Authentication, 1–20BBackend, 2–1loss, 3–3BE, 2–1Broadcast, 2–3CC

Página 76 - Glossary–10

NNetworkwide area, 1–18Nodes, 2–2OObject-oriented, 2–5OracleRDBMS, 2–10PParallel execution, 2–4Partitioned data model, 2–5Processesclient, 2–1server,

Página 77

Related DocumentationAdditional resources in the RTR documentation kit include:Document ContentFor all users:Reliable TransactionRouter Release NotesD

Página 78

Reader’s CommentsCompaq welcomes your comments on this guide. Please sendyour comments and suggestions by email to [email protected] include th

Comentários a estes Manuais

Sem comentários