Skip to Content
Oracle Parallel Processing
book

Oracle Parallel Processing

by Tushar Mahapatra, Sanjay Mishra
August 2000
Intermediate to advanced
288 pages
7h 50m
English
O'Reilly Media, Inc.
Content preview from Oracle Parallel Processing

Failover Methods

Three methods are commonly used to implement application failover:

  • Connection-time failover using Net8

  • Transparent Application Failover (TAF) using Net8 and OCI8

  • Failover using a three-tier architecture

The failover methods discussed here are equally applicable to OPS environments, environments that use standby databases, and environments that use replicated databases as a basis for failover.

Connect-Time Failover with Net8

Connect-time failover refers to application failover when it occurs during new connection attempts to a database. Using Net8, you can configure a service so that if a connection to the primary database is not successful, the connection is automatically routed to an alternate database. Net8 configuration in support of connect-time failover involves making appropriate entries in each client’s tnsnames.ora file or in your Oracle Names server. Because clients go through Net8 to connect to a database, connect-time failover can be completely transparent to your applications.

tnsnames.ora configuration

On client machines, Net8 uses a configuration file named tnsnames.ora to translate a database service name into a specific hostname, port number, and instance name. When you connect to a service, Net8 reads this file to find out where that service resides. For any given service, you can define alternate database instances in order to implement connect-time failover. When you do this, any new connections to a service are first attempted using the first database ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Oracle Streams 11g Data Replication

Oracle Streams 11g Data Replication

Kirtikumar Deshpande

Publisher Resources

ISBN: 156592701XCatalog PageErrata