Compaq Reliable Transaction Router manual Failover and Recovery, Recovery Scenarios

Page 46

Failover and Recovery

Failover and Recovery

 

RTR provides several capabilities to ensure failover and recovery

 

under several circumstances.

Router Failover

Frontend nodes automatically connect to another router if the

 

one being used fails. This reconnection is transparent to the

 

application.

 

Routers are responsible for coordinating the two-phase commit

 

for transactions. If the original router coordinating a transaction

 

fails, backend nodes select another router that can ensure correct

 

transaction completion.

Backend

Transactions in the process of being committed at the time of a

Restart

failure are recovered from RTR's disk journal. Recovery could be

Recovery

with a concurrent server, a standby server, or a restarted server

 

created when the failed backend restarts.

 

Correct ordering of the execution of transactions against the

 

database is maintained.

Transaction

Transaction messages which are lost in transit are re-sent when

Message

possible. The frontend and backend nodes keep an in-memory

Replay

copy of all active messages for this purpose.

Link Failure

In the event of a communications failure, RTR tries to reconnect

Recovery

the link or links until it succeeds.

Recovery Scenarios

This section describes how RTR recovers from different hardware and software failure. For additional information on failure and recovery scenarios, see the RTR Application Design Guide.

3–2Reliability Features

Image 46
Contents Reliable Transaction Router Getting Started Page Contents Reliability Features Figures Page Purpose of this Document PrefaceDocument Structure Related Documentation For all usersReading Path Readers CommentsIf V2 to System Manager Application Programmer= 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 Application Presentation Database ServerBusiness 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 GrowthObject-Oriented Programming Partitioned Data ModelPartitioned 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 ServersRecovery Scenarios Failover and RecoveryFailover 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 Client Application RTR Runtime EnvironmentOptional 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 controllerTransactional message Two-phase commitTransactional shadowing Index Index-1Index-2