1 / 34

Ashesh Parekh Principal Product Manager Oracle Application Server Oracle Corporation

Ashesh Parekh Principal Product Manager Oracle Application Server Oracle Corporation. Oracle Application Server 10 g High Availability. Agenda. Oracle Application Server High Availability Overall Availability Features Infrastructure Availability

zoltin
Download Presentation

Ashesh Parekh Principal Product Manager Oracle Application Server Oracle Corporation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Ashesh ParekhPrincipal Product Manager Oracle Application Server Oracle Corporation

  2. Oracle Application Server 10g High Availability

  3. Agenda • 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

  4. Agenda • 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

  5. HA 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

  6. Oracle Application Server HA System Failure Load balancers, Clusters, OPMN UnplannedDowntime Data Failure& Disaster Disaster Recovery, Backup & Recovery Human Error B&R, Configuration “undo” SystemMaintenance Rolling Upgrades PlannedDowntime Data Maintenance Shouldn’t be any (data in database)

  7. Key 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

  8. Core 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

  9. Backup 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

  10. Clients Load Balancer Load Balancer DR Sync MT 1 MT 2 MT 2* MT 1* DR Sync Infra DR Sync Infra* Primary Site Standby Site Disaster Recovery • Site-to-site DR • Active/Standby DR using: • Virtual hostnames • Backup and recovery to synchronize primary & standby sites • Data Guard for Infrastructure database

  11. Disaster 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 DR Sync Infra Primary Site Standby Site

  12. Rolling Upgrades 4 1 2 3 Clients Clients Clients Clients X X MT902 MT902 MT902 MT902 MT904 MT902 MT904 MT902 Infra902 Infra902 Infra902 Infra902

  13. Rolling Upgrades – contd. 7 5 6 .) Clients Clients Clients X X MT904 MT904 MT904 MT904 MT904 MT904 X Infra902 Infra902 Infra904

  14. Agenda • 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

  15. Infrastructure 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

  16. Cold 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

  17. Cold 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

  18. Middle 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 Node A MT 2 Node B ActiveInfra InactiveInfra Virtual Hostname Hardware cluster Localstorage B Localstorage A Sharedstorage $OH_A $OH_B $OH_INFRA

  19. Middle 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 Node A MT 1 MT 2 Node B InactiveInfra ActiveInfra Virtual Hostname Hardware cluster Localstorage B Localstorage A Sharedstorage $OH_A $OH_B $OH_INFRA

  20. Active 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_H1 $O_H2 Infra DB files

  21. Active 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_H1 $O_H2 Infra DB files

  22. IM Service Replication MT 1 W A N MT 2 • 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 1 SSO 2 OID 1 OID 2 DataReplication DB1 DB2 San Francisco London

  23. Metadata 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 OHS OC4J SSO IdentityMgmt Infrastructure DB2 InfrastructureMetadata Repository DB1 Pre-existing RAC DB

  24. Agenda • 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

  25. Middle 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

  26. Transparent 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)

  27. Load Balancing Scale middle-tier ‘linearly’ Session Replication Configuration Cloning Deploy across clusters Oracle Application Server Clusters HTTP Request HTTP Request Load Balancer LB-1 LB-1 Web Cache WC-1 WC-2 WC-3 OHS Instances OHS OHS OHS OC4J Instances Beta Prod Beta Prod Beta Prod OC4J Islands IB1 IP3 IB1 IP3 IP4 IP1 IP2 OC4J Processes 2 3 1 1 2 3 4 2 3 Cluster, Instances, and Islands

  28. Middle Tier Clusters Load Balancer / Web Cache OHS with Load Balancing Infrastructure Cluster Oracle Application Server 10g Portal, Forms, Reports, and other Middle Tiers • Configuration: • Load Balancer • Web Cache Clusters • Multiple Middle Tiers • Infrastructure CFC or Active Failover Cluster • Backend RAC DB

  29. Oracle Application Server Future Roadmap • Active Failover Cluster enhancements • Improve Cloning capabilities • Disaster Recovery enhancements • Maximum Availability Architecture (MAA)

  30. Cohesive HA: MAA Application Server Application Server WAN Traffic Manager Dedicated Network Data Guard RAC RAC Primary Site Secondary Site

  31. Resources • Oracle Technology Network (OTN): • http://otn.oracle.com/products/ias/hi_av/content.html • http://otn.oracle.com/deploy/availability/content.html • http://otn.oracle.com/deploy/availability/htdocs/maa.htm • Oracle Application Server 10g (9.0.4) Documentation: • High Availability Guide, Install Guide, Admin Guide • Oracle University Curriculum: • Admin courses, OUOnline courses

  32. Summary • 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

More Related