Compaq Reliable Transaction Router manual Rtr Rtrstarttx/Chan=C

Page 54

RTR Management Station

RTR> RTR_RECEIVE_MESSAGE/CHANNEL=C/tim

[to get mt_opened or mt_closed] %RTR-S-OK, normal successful completion

channel name: C

 

msgsb

 

msgtype:

rtr_mt_opened

msglen:

8

message

 

status:

normal successful completion

reason:

Ox00000000

RTR> RTR_START_TX/CHAN=C

%RTR-S-OK, normal successful completion

RTR> RTR_SEND_TO_SERVER/CHAN=C "Kathy's text today." [text sent to the server] %RTR-S-OK, normal successful completion

RTR> show transaction

Frontend transactions on node NodeA in group "username" at Mon Aug 28 15:05:43 2000

Tid

Facility

FE-User

State

63b01d10,0,0,0,0,2e59,43ea2002

DESIGN

username.

SENDING

Router transactions on node NodeA in group "username" at Mon Aug 28 15:06:43 2000:

63b01d10,0,0,0,0,2e59,43ea2002 DESIGN username. SENDING

Backend transactions on node NodeA in group "username" at Mon Aug 28 15:06:43 2000:

63b01d10,0,0,0,0,2e59,43ea2002

DESIGN

username.

SENDING

RTR> RTR_RECEIVE_MESSAGE/TIME=0/CHAN=C

 

 

 

 

 

 

[The following lines arrive at the client from RTR after the user

 

 

 

 

enters commands at the server.]

 

%RTR-S-OK, normal successful completion

 

 

channel name: C

 

 

 

 

 

 

 

msgsb

 

 

 

 

 

 

 

 

msgtype:

rtr_mt_reply

 

 

 

msglen:

 

25

 

 

 

 

 

 

usrhdl:

 

0

 

 

 

 

 

 

tid:

 

63b01d10,0,0,0,0,2e59,43ea2002

 

message

 

 

 

 

 

 

 

 

offset

bytes

 

 

 

 

 

text

000000

41 6E

64 20 74 68 69 73 20

69 73 20 6D 79 20 72

And this is my r

000010

65 73

70

6F 6E

73 65

2E 00

 

esponse..

RTR> RTR_ACCEPT_TX/CHANNEL=C %RTR-S-OK, normal successful completion

RTR> show transaction

Frontend transactions on node NodeA in group "username" at Mon Aug 28 15:17:45 2000

Tid

Facility

FE-User

State

63b01d10,0,0,0,0,2e59,43ea2002

DESIGN

username.

VOTING

Router transactions on node NodeA in group "username" at Mon Aug 28 15:17:45 2000:

63b01d10,0,0,0,0,2e59,43ea2002 DESIGN username. VOTING

Backend transactions on node NodeA in group "username" at Mon Aug 28 15:17:45 2000:

63b01d10,0,0,0,0,2e59,43ea2002 DESIGN

username.

COMMIT

4–6RTR Interfaces

Image 54
Contents Reliable Transaction Router Getting Started Page Contents Reliability Features Figures Page Preface Purpose of this DocumentDocument Structure Related Documentation For all usersReading Path Readers CommentsSystem Manager Application Programmer If V2 to= Tutorial Introduction Reliable Transaction RouterRTR Continuous Computing Concepts RTR Continuous Computing ConceptsRTR Terminology RTR TerminologyClient Symbol Server Symbol Roles Symbols Components in the RTR Environment Nontransactional messaging Transaction ID Controller Database Server Application PresentationBusiness Logic Odbc Model PC Browser RTR FrontendBrowser Journal11 RTR Deployed on Three Nodes 12 Standby Server Configuration 13 Transactional Shadowing Configuration RTR Server Types RTR Server TypesStandby server Standby in a cluster 15 Standby Servers 16 Shadow Servers 17 Concurrent Servers Server1 Server2 Server3 Server4Transaction Partition a19 Bank Partitioning Example Standby Server Configurations Anonymous clients Tunnel RTR Networking Capabilities RTR Networking CapabilitiesPage Architectural Concepts Three-Layer ModelThree-Layer Model Three Layer ModelFlexibility and Growth RTR Facilities Bridge the GapBroadcasts RTR Facilities Bridge the GapTransaction Integrity Flexibility and GrowthPartitioned Data Model Object-Oriented ProgrammingPartitioned Data Model Object-Oriented Programming Partitioned Data ModelObjects Functional and Object-Oriented Programming ComparedMessages Class Relationships Example 2-1 Objects-Defined SamplePolymorphism Object Implementation Benefits XA Support XA SupportReliability Features ServersFailover and Recovery Recovery ScenariosFailover and Recovery Backend Recovery Router Recovery Frontend Recovery Recovery ScenariosPage RTR Interfaces RTR Management Station RTR Management Station RTR Create Facility DESIGN/ALLROLES=NODEA RTR RTRRECEIVEMESSAGE/TIME=0 RTR RTRSTARTTX/CHAN=C Application Programming Interfaces InterfaceApplication Programming Interfaces RTR Browser InterfaceRTR C Example of an open channel call in an RTR client program RTR Environment RTR System Management EnvironmentRTR System Management Environment RtrcomservRTR System Management Environment Management Station Running Browser SoftwareMonitoring RTR RTR Runtime Environment RTR Runtime Environment Client ApplicationOptional External Applet Not Running Whats Next? Whats Next?Page Glossary Callout server BranchBroadcast ChannelData marshalling Common classesConcurrent server Data objectEvent Fault tolerantEndian Event drivenJournal FrontendInquorate Key rangeMultichannel MessageMessage handler MultithreadedProperties PrimaryProcess Property classesRTR configuration RollbackRouter RTR environmentTransaction ShadowStandby Transaction controllerTwo-phase commit Transactional messageTransactional shadowing Index Index-1Index-2