About Application High Availability Levels
Depending on your application's high availability requirements, you can implement the level of high availability (HA) protection that you need.
HA protection levels are defined in the table below, and each increase in level builds upon the previous level.
HA Level | Configuration | Experience | Benefits |
---|---|---|---|
Level 1: Basic Application High Availability See Configuring Level 1: Basic Application High Availability |
Database or Security Administrator:
Application Developer:
Implementation effort: Minimal - estimated 1 hour for administrator, and less than 1 hour for developers |
Implementing Level 1 protection provides significant benefits compared to third party application failover solutions due to application + Oracle integration and intelligence to reduce application impact.
|
High availability with application automatically failing over and reconnecting
|
Level 2: Prepare Applications for Planned Maintenance See Configuring Level 2: Prepare Applications for Planned Maintenance |
Level 1 configuration + Application Developer:
Additional implementation effort for developers: Minimal effort with Oracle Connection pools - up to hours of effort when using an application server (or days when not using an application server depending on application complexity) for developers to identify connection tests used in the application and possibly create new ones in the database |
|
Workload moves gracefully across instances with a slight delay and no errors during planned maintenance |
Level 3: Mask Unplanned and Planned Failovers from Applications See Configuring Level 3: Mask Unplanned and Planned Failovers from Applications |
Level 1 and 2 configuration + "Application Continuity" Solution Database or Security Administrator:
Application Developers:
Additional implementation effort: Days to weeks of collaboration between developers and database administrators to review protection coverage (depending on application complexity) |
|
Masks unplanned and planned fail overs from applications
|
All of the HA Levels described in the table above are superior to connection management approaches using load balancers as single connection VIP endpoints for the following reasons:
- Smart Service Health and Intelligent Reconnect: Oracle Clusterware and Oracle Data Guard Broker closely monitor the health and state of the clusters and databases to ensure connections are routed to the database service that is opened on a primary.
- Transparent and Automatic Failover: There is no need to query the health of databases and decide which is the proper one to move a VIP; everything is transparent in the high availability approaches described in the table.
- Fast Notification and Automatic Connection Retries: The disconnection of already connected sessions is immediate, and happens intelligently when Oracle Clusterware and Data Guard Broker detect outages or role changes on the primary and standby databases.
Terms
The following terms are used throughout this document:
-
Draining: Move a connection from one instance to another available instance.
Draining to move sessions gracefully from one instance to another is used during planned maintenance and load rebalancing. The connection is moved when the application returns the connection to a pool and then obtains a new connection or another rule is satisfied.
-
Fail over: Reestablish an equivalent session at a new instance that offers the service.
Fail over occurs during unplanned outages and during planned maintenance when sessions do not drain within an allotted period of time. The application should not receive errors when Application Continuity is configured.
Software Recommendations
The following software is recommended for HA Level configurations:
- Oracle Real Application Clusters (Oracle RAC) and Oracle Clusterware (which provides services and infrastructure to efficiently manage outages), preferably with Oracle Grid Infrastructure (GI) release 19c or later
- Oracle Active Data Guard is recommended for protection from database, cluster, storage or site failures
- Oracle Database 19c client and database or a later long-term support version, with the most recent patch level