Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Oracle 9iAS Enterprise Technology Centre Oracle Corporation Agenda Introduction 9iAS architecture & installation options Web content cache & load balancing Web/Java applications & J2EE Management Application deployment Security Additional features Technology Trends Internet Is Ubiquitous Applications Accessed via Internet / Browser Applications Deployed on Application Servers Applications Built to Internet Standards Information/Data stored in Databases Typical ‘N’-Tier System Architecture Technology Challenges Middleware Complexity Growing – – Too Many Pieces Complex support, licensing, architecture, integration etc Complex to Develop – Too Many Tools Unreliable When Deployed – Fragile Infrastructure Expensive to Manage – Software Cost, Management Cost RogueWave IBM Framework Application Server Netscape Web Server Rational Modeling Times Ten Cache Novell Microsoft Directory Database Iona Borland Actuate ORBs Java Tool Reporting Plumtree Cognos Portals Analysis Oracle’s Vision – Simplify the Complex Consolidate Data to Database Servers – Lower Cost, Better Information Consolidate Applications to Application Servers – Lower Cost, More Reliable Applications Run All Your Applications Clients Browser or Mobile Device Oracle9i App Server Manage All Your Data Oracle9i Database Server Three Technology Products 9iAS Comprises all Mid-tier components Management & Security e-Business Integration Portals J2EE & Internet Apps Business Intelligence Wireless Web Services IFS Performance & Caching Common Core: Open Standards, Browser based, Web Services Servlets / JSPs Browser HTML Design Tools Portal Services W E B C A C H E HTTP Server Integration & Web Services Perl/PHP/PLSQL Forms Wireless Reports/BI Services Database WebDAV Table MultiMedia LOB XML Web Service Client at Other Company Transactional Java J2EE1.3 EJBS: Session, Entity (BMP, CMP) Oracle9i Application Server Components J2EE and Web Portal and Cache Wireless Business Intelligence and Forms Oracle9iAS Web Cache X X X Oracle HTTP Server X X X Oracle9iAS Containers X X X X X X Oracle9iAS Portal X X Oracle9iAS Wireless X X for J2EE (OC4J) Oracle Enterprise Component Manager Web site Oracle9iAS Discoverer X Oracle9iAS Reports X Services Oracle9iAS Forms Services Oracle9iAS Personalization X X Architecture Should Address Downtime System Failure 9iAS High Availability Infrastructure Unplanned Downtime Human Error 9iAS Distributed Config Management System Maintenance Planned Downtime Application Maintenance 9iAS Hot Deployments Remove Single Points of Failure with Clustering Browser Cluster 1 J2EE Application ‘A’ Session State Shared Wireless & Mobile Load Balancers (or Web Cache) Data Sources WebServices Apache Web Servers w/ Load Balancing Internet / intranet Users • Web Caches share cache content. Load balancing via: round-robin, weighted %, or last use. Cluster 2 J2EE Application ‘B’ Session State Shared • Apache maps application/ requests to clusters. • Clusters share application session state via IP multicast. Clustering Provides High Availability Browser Cluster 1 J2EE Application ‘A’ Session State Shared Wireless & Mobile Load Balancers (or Web Caches) Apache Web Servers w/ Load Balancing Oracle9i RAC Internet / intranet Users – Automatic addition of application servers to clusters – Automatic application deployment to clusters – Transparent re-routing around failed instances and session affinity Oracle9iAS Infrastructure – – The Oracle9iAS Infrastructure consists of: Oracle9iAS Metadata Repository Oracle Internet Directory Oracle9iAS Single Sign-On Oracle Management Server The database contains a collection of schemas and metadata that enables the deployment of Oracle9iAS components. Oracle9iAS and Infrastructure Enables the deployment of Single Sign-On, Oracle Internet Directory, Oracle Management Server, and Oracle9iAS instance clustering. Multiple installations of Oracle9iAS can share one Oracle9iAS Infrastructure. Host 1 J2EE and Web Cache Host 3 SSO Portal and Wireless Host 2 Business Intelligence and Forms J2EE and Web Cache Oracle9iAS Metadata Repository OID OMS Oracle9iAS Farms Farm Node B Node A J2EE and Web Cache J2EE and Web Cache J2EE and Web Cache J2EE and Web Cache Portal and Wireless Portal and Wireless Node/Host 1 Infrastructure Node/Host 2 Oracle9iAS Metadata Repository SSO OID OMS Node/Host 3 WebCache for Maximum Availability How does Web Caching Work? Application Servers BEA Oracle9iAS WebCache IBM Microsoft Disk Subsytem JSP 9iAS Content Generation Delivery and assemble Database How does Web Caching Work? Application Servers BEA Oracle9iAS WebCache IBM Microsoft Disk Subsytem JSP 9iAS Content Generation Delivery and assemble Database Web Cache Content Generation Delivery and assemble Content Delivery Network Application Servers BEA Content Generation Delivery and assemble IBM Microsoft Disk Subsytem JSP 9iAS Distributed Web Caches Database Load Balances over Application Server OHS / OC4J Client Browser Oracle9iAS Web Cache Oracle9i Database 9i Network GET test.jsp Data Center • • • • Stateful: cookies and session-IDs used to maintain server affinity Stateless: weighted round-robin algorithm Layer 7 status checking for failure/recovery detection Connection pooling for TCP connection reuse WebCache Clustering for Resilience Oracle9iAS Clusters Oracle Real Application Clusters 9i Client Browser Load Balancer 9i Network 9i • Failure and Recovery Detection Web Cache Cluster Web & J2EE Clusters Database Cluster Increase Capacity, Availability and Scalability Intra-Cache Communication – “Greedy” Caching Oracle Real Application Clusters Oracle9iAS Clusters Client Browser Load Balancer Network 9i A 9i B 9i C Web Cache Cluster Request to A; A is the owner Request to B; A is the owner Web & J2EE Clusters Database Cluster “Greedy” Caching: B now has A’s content Surge Protection Resilience to DoS attacks Buffers load on backend servers Monitors and ensures performance Forwards on requests when appropriate Ensures backend servers not swamped and service requests in required timeframe Automatic Content Compression Improves Performance Using GZIP, a 20K HTML file becomes ~4K Accept-Encoding: gzip Client Browser Internet Oracle9iAS Web Cache Auto Compression of Both Cacheable and Non-cacheable Content Benefits Bandwidth Savings Network Latency WebServer & Java Applications for Maximum Availability No Single Point of Failure for 9i Platform Web Server Cluster App Server Cluster HTTP Server Web Cache Or Hardware load balancer Load Balancing/ Failover J2EE HTTP Server J2EE HTTP Server J2EE Load Balancing/ Failover HTTP Server State J D B C State J D B C State J D B C DB Cluster (Persistent State) Load Balancing/ Failover J2EE J D B C Node A Node B Node C Node D Cluster Islands Oracle9iAS Cluster Oracle9iAS Instance #1 Oracle9iAS Instance #2 OHS OHS OC4J Instance OC4J Instance OC4J OC4J Process Process DEFAULT_ISLAND OC4J Process OC4J OC4J Process Process Any Name OC4J Process Cluster Islands Keep Java Application State Web Server Cluster App Server Cluster (Session State) HTTP Server Web Cache Or Hardware load balancer Load Balancing/ Failover J2EE HTTP Server J2EE HTTP Server J2EE Load Balancing/ Failover HTTP Server State J D B C State J D B C State J D B C DB Cluster (Persistent State) Load Balancing/ Failover J2EE J D B C Node A Node B Node C Node D Oracle9iAS Terminology FW/LB/Web Cache OHS OC4J OC4J OC4J OC4J OHS OC4J OC4J OC4J OC4J 9iAS Instance: Managed 9iAS processes ($OH) Component Instance: Identically configured components Cluster: Identical 9iAS Instances Architecture: An iAS Instance FW/LB/WC 1 OHS •Apache WebServer 2 OC4J • Java Virtual Machine 3 OPMN - Process Mgmt • Death Detection [Ping] • (Re) start Processes 4 DCM - Distr. Configuration • Cluster-wide Deployment • Repository Interface 5 mod_oc4j • Load Balancing • Smart Config Update http 9iAS Instance OHS mod_oc4j 1 events 5 OPMN 3 events DCM4 ajp events OC4J OC4J OC4J 2 Architecture: iAS Cluster http FW/LB/WC OHS OPMN DCM OC4J OC4J OC4J events 9iAS Cluster OPMN OHS DCM OC4J OC4J OC4J Scenarios: Deploy to Cluster http FW/LB/WC OHS OPMN 9iAS Cluster 6 2 1 OHS OPMN 3 DCM DCM 5 4 OC4J OC4J OC4J Deploy OC4J OC4J OC4J Oracle9iAS Hi-Availability Tool (iHAT) Free Download from otn.oracle.com Management for Maximum Availability Enterprise Manager Single Point of Administration – – Manage Oracle9iAS, Oracle9iDB from a Browser Across All Services Complete Monitoring – Status, Resources, Faults, Performance Complete Management – Create, Configure, Monitor, Deploy Apps, … Complete Cluster Management – Create, Configure, Start, Monitor, Deploy Apps, .. Manage the Whole Cluster from one Tool Cluster 1 Single Station Administration Performance Monitor Cluster 2 DB Cluster 3 Fault Monitor/ Alert Single Sign-On LDAP Certificates Privileges Roles XML-based • Files Config Info • Instance Cloning Application Deployment for Maximum Availability JDeveloper IDE for Java & WebServices Auto Compile, Generate & Deploy UML Modeling Wizards for all J2EE Applications Integrated Profiling and Debugging Hot Deployment of Java for Availability No Downtime – Site stays up – – When deploying java applications When configuring Propagates to all Application Servers in Farm Flexibility of Deployment: JDeveloper, Manually or through Enterprise Manager Java ear IDE OC4J OC4J 9iAS Browser Security for Maximum Availability Oracle9iAS Security Architecture Oracle9iAS OC4J Portal Web Cache HTTP Server Oracle Net SSO OID Oracle9iAS Metadata Repository Oracle9i Other Features for Maximum Availability Pre-tested in Oracle Labs Check Point Firewall-1 NG Cisco CSS 11050 Cisco Catalyst 6506 W Cisco Pix 520 F5 Networks BIG-IP 520 & 540 F5 Networks BIG-IP SSL Accelerator Nortel Alteon ACEdirector SonicWall SSL-R3 plus Also Raptor Security: Baltimore, Netegrity, Verisign, Entrust, SmartTrust, RSA, POS Data, Windows Systems Management: BMC, Computer Associates, Compuware, Quest, Mercury Interactive, HP Openview What are Certified Configurations In conjunction with partners e.g. HP, Dell, Sun. Certified on O/S version with Oracle software Pre-Installed, tested, configured Ready to plug-in Deploy on Any OS/Hardware Any OS Windows Linux Major Unix 2000, NT, XP SuSE, RedHat Solaris, AIX, HP-UX, Tru64 In Any Configuration 32 Bit OS 64 Bit OS On Any HW Architecture 1-2 CPUs Blades Racks SMP 4,6,8,12,6,32 CPUs With Zero Application Code Change 100% Adherence to Open Standards 100% Network Standards Compliant 100% J2EE Standards Compliant 100% Web Services Standards Compliant 100% XML Standards Compliant 100% Wireless Standards Compliant 100% Security Standards Compliant 100% Directory Standards Compliant Mid-Tier Maximum Availability Summary Webcache OC4J Management Security Hot Deployment After lunch well look at HA from Database Tier