Title: Oracle Application Server 10g (9.0.4) High Availability
1(No Transcript)
2Ashesh ParekhPrincipal Product Manager Oracle
Application Server Oracle Corporation
3Oracle Application Server 10g High Availability
4Agenda
- Oracle Application Server High Availability
- Overall Availability Features
- Infrastructure Availability
- Cold Failover Cluster and Active Failover Cluster
- Identity Management Replication and RAC
- Middle Tier Availability
- J2EE Application High Availability
- Portal, Forms, Reports and other Middle Tiers
- Summary
5Agenda
- Oracle Application Server High Availability
- Overall Availability Features
- Infrastructure Availability
- Cold Failover Cluster and Active Failover Cluster
- Identity Management Replication and RAC
- Middle Tier Availability
- J2EE Application High Availability
- Portal, Forms, Reports and other Middle Tiers
- Summary
6HA Architectural Overview
Web Users
Middle Tier Clusters
Load Balancer / Web Cache
Oracle Database
Wireless Mobile
OHS with Load Balancing
Infrastructure Cluster
Client
Oracle Application Server 10g
RAC
End-to-end High Availability
7Oracle Application Server HA
System Failure
Load balancers, Clusters, OPMN
Data Failure Disaster
UnplannedDowntime
Disaster Recovery, Backup Recovery
Human Error
BR, Configuration undo
SystemMaintenance
Rolling Upgrades
PlannedDowntime
Data Maintenance
Shouldnt be any (data in database)
8Key Messages
- Key feature of Grid Computing
- Workload and Resource Management
- End-to-End High Availability
- Self Healing
- No single point of Failure
- Clustering
- Minimal planned or unplanned downtime
- Rolling Upgrades
- Disaster Recovery for MT as well as Infrastructure
9Core HA features of OracleAS
- OracleAS Process Monitoring and Notification
service (OPMN) - Enables Self Healing
- Process Monitoring (Death detection and Re-start)
- Distributed Configuration Manager (DCM)
- File-based repository or database-based
repository - Consistent configuration management prevents
human errors
10Backup and Recovery
- Backup and Recovery Tool
- For Middle Tiers as well as Infrastructure
- Incremental backup and recovery
- Point-in-time recovery
- DCM Archival and Recovery
- Revert to a previous configuration
- Low overhead, quick undo
- Works with DCM-managed components
- Ideal for quick recovery from human error
11Disaster Recovery
- Site-to-site DR
- Active/Standby DR using
- Virtual hostnames
- Backup and recovery to synchronize primary
standby sites - Data Guard for Infrastructure database
12Disaster Recovery
Clients
- Site-to-site DR
- Active/Standby DR using
- Virtual hostnames
- Backup and recovery to synchronize primary
standby sites - Data Guard for Infrastructure database
Load Balancer
Load Balancer
DR Sync
MT 1
MT 2
MT 2
MT 1
DR Sync
Infra
Infra
DR Sync
Primary Site
Standby Site
13Rolling Upgrades
Clients
Clients
Clients
Clients
X
X
MT902
MT902
MT902
MT902
MT904
MT902
MT904
MT902
Infra902
Infra902
Infra902
Infra902
14Rolling Upgrades contd.
.)
Clients
Clients
Clients
X
X
MT904
MT904
MT904
MT904
MT904
MT904
X
Infra902
Infra902
Infra904
15Agenda
- Oracle Application Server High Availability
- Overall Availability Features
- Infrastructure Availability
- Cold Failover Cluster and Active Failover Cluster
- Identity Management Replication and RAC
- Middle Tier Availability
- J2EE Application High Availability
- Portal, Forms, Reports and other Middle Tiers
- Summary
16Infrastructure High Availability
- Critical Services
- Identity Management Services for SSO/OID
- Metadata Repository Services for Portal,
Wireless, Discoverer, etc. - Management Services for Enterprise Manager
- HA Options
- Cold Failover Cluster (CFC)
- Active Failover Cluster (AFC)
- Identity Management (IM) Replication
- Install Metadata Repository in existing RAC DB
17Cold Failover Cluster
- Active/Passive setup
- Single Install
- On shared disk
- Using virtual hostname IP
- Cluster vendors supported
- Sun, HP, Red Hat, IBM, Veritas, Fujitsu-Siemens,
Windows, etc.
Clients
MT
MT
- OID
- SSO
- DAS
- Infra DBinstance
ActiveInfra
InactiveInfra
V. Host
Hardware cluster
Sharedstorage
ORACLE_HOME
18Cold Failover Cluster
- Active/Passive setup
- Single Install
- On shared disk
- Using virtual hostname IP
- Cluster vendors supported
- Sun, HP, Red Hat, IBM, Veritas, Fujitsu-Siemens,
Windows, etc.
Clients
MT
MT
- OID
- SSO
- DAS
- Infra DBinstance
InactiveInfra
ActiveInfra
V. Host
Hardware cluster
Sharedstorage
ORACLE_HOME
19Middle Tiers on Cold Failover Cluster
- No Failover of Middle Tiers
- Use LBR to route requests
- Middle Tiers use physical hostname
- On local disk
- Infrastructure uses virtual hostname
- On Shared disk
Clients
Load Balancer
MT 1
MT 2
Node A
Node B
ActiveInfra
InactiveInfra
Virtual Hostname
Hardware cluster
Localstorage B
Localstorage A
Sharedstorage
OH_A
OH_B
OH_INFRA
20Middle Tiers on Cold Failover Cluster
- No Failover of Middle Tiers
- Use LBR to route requests
- Middle Tiers use physical hostname
- On local disk
- Infrastructure uses virtual hostname
- On Shared disk
Clients
Load Balancer
MT 1
MT 2
Node A
Node B
InactiveInfra
ActiveInfra
Virtual Hostname
Hardware cluster
Localstorage B
Localstorage A
Sharedstorage
OH_A
OH_B
OH_INFRA
21Active Failover Cluster
Clients
- Active/Active setup
- High 9s uptime
- Single Install
- DB (RAC) on shared disk
- Rest-of-infra on local disks
- Requires load balancer
- Limited Release in 9.0.4
MT
MT
Load Balancer
OID 1 SSO 1 DAS 1 DB instance 1
OID 2 SSO 2 DAS 2 DB instance 2
ActiveInfraNode 1
ActiveInfraNode 2
Hardware cluster
Localstorage
Localstorage
Sharedstorage
O_H2
O_H1
Infra DB files
22Active Failover Cluster
Clients
- Active/Active setup
- High 9s uptime
- Single Install
- DB (RAC) on shared disk
- Rest-of-infra on local disks
- Requires load balancer
- Limited Release in 9.0.4
MT
MT
Load Balancer
OID 1 SSO 1 DAS 1 DB instance 1
OID 2 SSO 2 DAS 2 DB instance 2
ActiveInfraNode 1
ActiveInfraNode 2
Hardware cluster
Localstorage
Localstorage
Sharedstorage
O_H2
O_H1
Infra DB files
23IM Service Replication
MT 1
MT 2
W A N
- Multiple IM Middle Tiers
- Multiple OID
- Multiple IM DBs (kept synchronized using
Replication) - Ideal for geographically dispersed sites
Local DNS
Local DNS
IdentityMgmtMT 1
IdentityMgmtMT 2
SSO 2
SSO 1
OID 2
OID 1
DataReplication
DB1
DB2
London
San Francisco
24Metadata Repository in existing RAC DB
- Install MR in existing RAC database
- No database in the Infrastructure installation
- Provides HA for MR, but not for the rest of
Infrastructure (IM)
MT
IdentityMgmt
OHS OC4J SSO
Infrastructure
DB2
InfrastructureMetadata Repository
DB1
Pre-existing RAC DB
25Agenda
- Oracle Application Server High Availability
- Overall Availability Features
- Infrastructure Availability
- Cold Failover Cluster and Active Failover Cluster
- Identity Management Replication and RAC
- Middle Tier Availability
- J2EE Application High Availability
- Portal, Forms, Reports and other Middle Tiers
- Summary
26Middle Tier High Availability
- Web Cache clusters provide redundancy and fault
tolerance - OHS/mod_oc4j load balancing and smart routing
- weighted, metrics-based, round robin, random
- local affinity
- File based repository for OC4J clusters
- EJB Client Proxy
- Auto-rerouting of requests from EJB Clients
- Hot Deployment of J2EE applications
27Transparent Application Failover (TAF)
- TAF of JDBC connections to RAC database
- Supported with JDBC Thick driver (OCI driver)
- Define oracle.jdbc.OracleOCIFailover Interface
for stateful applications (to handle state
restore) - Configuration modes
- Basic Method re-connect upon failure
- Pre-connect Method maintain backup (shadow)
connection to another instance for faster TAF - For non RAC database auto-retry (with timeout)
28Oracle Application Server Clusters
HTTP Request
HTTP Request
- Load Balancing
- Scale middle-tier linearly
- Session Replication
- Configuration Cloning
- Deploy across clusters
Load Balancer
LB-1
LB-1
Web Cache
WC-1
WC-3
WC-2
OHS Instances
OHS
OHS
OHS
OC4J Instances
Beta
Prod
Beta
Prod
Beta
Prod
OC4J Islands
IB1
IB1
IP3
IP3
IP4
IP1
IP2
OC4J Processes
1
1
2
3
2
3
4
2
3
Cluster, Instances, and Islands
29Portal, Forms, Reports, and other Middle Tiers
- Configuration
- Load Balancer
- Web Cache Clusters
- Multiple Middle Tiers
- Infrastructure CFC or Active Failover Cluster
- Backend RAC DB
30Oracle Application Server Future Roadmap
- Active Failover Cluster enhancements
- Improve Cloning capabilities
- Disaster Recovery enhancements
- Maximum Availability Architecture (MAA)
31Cohesive HA MAA
Application Server
Application Server
WAN Traffic Manager
Dedicated Network
Data Guard
RAC
RAC
Primary Site
Secondary Site
32Resources
- Oracle Technology Network (OTN)
- http//otn.oracle.com/products/ias/hi_av/content.h
tml - http//otn.oracle.com/deploy/availability/content.
html - http//otn.oracle.com/deploy/availability/htdocs/m
aa.htm - Oracle Application Server 10g (9.0.4)
Documentation - High Availability Guide, Install Guide, Admin
Guide - Oracle University Curriculum
- Admin courses, OUOnline courses
33Summary
- End-to-End High Availability
- No Single Point of Failure
- Self Healing
- Quick Recovery
- Ease of Configuration
- Minimize human errors
- Rolling Upgrades
- Minimal planned or unplanned downtime
34(No Transcript)