510 likes | 694 Views
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.
E N D
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
RogueWave Framework IBM Application Server Netscape Web Server Rational Modeling Times Ten Cache Novell Directory Microsoft Database Iona ORBs Borland Java Tool Actuate Reporting Plumtree Portals Cognos Analysis 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
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 Manage All Your Data Oracle9i App Server Oracle9i Database Server Clients Browser or Mobile Device
Management &Security e-Business Integration Portals J2EE & Internet Apps BusinessIntelligence Wireless Web Services Performance & Caching IFS
Table MultiMedia LOB XML Common Core: Open Standards, Browser based, Web Services HTTP Server W E B C A C H E Servlets / JSPs Portal Services Integration & Web Services Browser Perl/PHP/PLSQL Database Web- DAV Wireless Forms Reports/BI Services HTML Design Tools Transactional Java J2EE1.3EJBS: Session, Entity (BMP, CMP) Web Service Client at OtherCompany
X • X • X • X • X • X • X • X • X • X • X • X • X • X • X • X • X • X • X • X • Oracle9iAS Forms Services • Oracle9iAS Reports Services • Oracle9iAS Discoverer • Oracle9iAS Portal • Oracle9iAS Wireless • Oracle9iAS Containers for J2EE (OC4J) • Oracle9iAS Personalization • Oracle Enterprise Manager Web site • Oracle HTTP Server • Oracle9iASWeb Cache Oracle9i Application Server Components Installation Type • Business Intelligence and Forms • J2EE and Web Cache • Portal and Wireless Component
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 Data SourcesWebServices Wireless &Mobile Load Balancers (or Web Cache) Apache Web Servers w/ Load Balancing Internet / intranet Users Cluster 2 J2EE Application ‘B’ Session State Shared • Web Caches share cache content. Load balancing via: round-robin, weighted %, or last use. • 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) Oracle9i RAC Apache Web Servers w/ Load Balancing 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 Host 3 J2EE and Web Cache SSO Portal and Wireless OID Oracle9iAS Metadata Repository Host 2 Business Intelligence and Forms OMS J2EE and Web Cache
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 Node/Host 2 Infrastructure SSOOIDOMS Oracle9iASMetadataRepository Node/Host 3
How does Web Caching Work? Application Servers BEA Oracle9iASWebCache IBM Database Microsoft Disk Subsytem JSP 9iAS Content Generation Delivery and assemble
How does Web Caching Work? Application Servers BEA Oracle9iASWebCache IBM Database Microsoft Disk Subsytem JSP 9iAS Content Generation Delivery and assemble
Web Cache Content Generation Delivery and assemble Application Servers Content Delivery Network BEA Content Generation Delivery and assemble IBM Database Microsoft Disk Subsytem JSP 9iAS Distributed Web Caches
9i Network Load Balances over Application Server OHS / OC4J Oracle9i Database ClientBrowser Oracle9iAS Web Cache 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
9i 9i Network 9i WebCache Clustering for Resilience OracleReal Application Clusters Oracle9iAS Clusters ClientBrowser Load Balancer • Failure and Recovery Detection Database Cluster Web Cache Cluster Web & J2EEClusters Increase Capacity, Availability and Scalability
9i 9i Network 9i Request to B; A is the owner Intra-Cache Communication –“Greedy” Caching OracleReal Application Clusters Oracle9iAS Clusters A Client Browser Load Balancer B C Web Cache Cluster Database Cluster Web & J2EEClusters Request to A; A is the owner “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
Internet Automatic Content Compression Improves Performance Using GZIP, a 20K HTML file becomes ~4K Accept-Encoding: gzip ClientBrowser Oracle9iAS Web Cache Auto Compression of Both Cacheable and Non-cacheable Content Benefits Bandwidth Savings Network Latency
Node A Node B Node C Node D No Single Point of Failure for 9i Platform Web Server Cluster App Server Cluster DB Cluster (Persistent State) J D B C HTTP Server J2EE State J D B C Web Cache Or Hardware load balancer HTTP Server J2EE State J D B C HTTP Server State J2EE Load Balancing/ Failover Load Balancing/ Failover Load Balancing/ Failover J D B C HTTP Server J2EE
Cluster Islands Oracle9iAS Cluster Oracle9iAS Instance #1 Oracle9iAS Instance #2 OHS OHS OC4J Instance OC4J Instance DEFAULT_ISLAND OC4J Process OC4J Process OC4J Process Any Name OC4J Process OC4J Process OC4J Process
Node A Node B Node C Node D Cluster Islands Keep Java Application State Web Server Cluster App Server Cluster (Session State) DB Cluster (Persistent State) J D B C HTTP Server J2EE State J D B C Web Cache Or Hardware load balancer HTTP Server J2EE State J D B C HTTP Server State J2EE Load Balancing/ Failover Load Balancing/ Failover Load Balancing/ Failover J D B C HTTP Server J2EE
Oracle9iAS Terminology FW/LB/Web Cache • 9iAS Instance: • Managed 9iAS processes ($OH) OHS OHS • Component Instance: • Identically configured components OC4J OC4J OC4J OC4J • Cluster: • Identical 9iAS Instances OC4J OC4J OC4J OC4J
1 2 3 5 1 2 4 3 5 4 OC4J OC4J Architecture: An iAS Instance • OHS • Apache WebServer • OC4J • Java Virtual Machine • OPMN - Process Mgmt • Death Detection [Ping] • (Re) start Processes • DCM - Distr. Configuration • Cluster-wide Deployment • Repository Interface • mod_oc4j • Load Balancing • Smart Config Update FW/LB/WC http 9iAS Instance events OHS OPMN events mod_oc4j DCM ajp events OC4J
OC4J OC4J OC4J OC4J OC4J OC4J Architecture: iAS Cluster http FW/LB/WC 9iAS Cluster OHS OHS OPMN OPMN events DCM DCM
3 6 1 5 4 Scenarios: Deploy to Cluster http FW/LB/WC 9iAS Cluster OHS OHS OPMN OPMN 2 DCM DCM Deploy OC4J OC4J OC4J OC4J OC4J OC4J
Oracle9iAS Hi-Availability Tool (iHAT) Free Download from otn.oracle.com
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 Cluster 2 Performance Monitor DB Cluster 3 Fault Monitor/ Alert Single Sign-On XML-based Config Info • Files • Instance Cloning LDAP Certificates Privileges Roles
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 OC4J OC4J 9iAS IDE Browser
Oracle9i Oracle9iASMetadataRepository Oracle9iAS Security Architecture Oracle9iAS OC4J Portal OracleNet WebCache HTTPServer SSO OID
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 AlsoRaptorSecurity: Baltimore, Netegrity, Verisign, Entrust, SmartTrust, RSA, POS Data, WindowsSystems 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 2000, NT, XP Linux SuSE, RedHat Major Unix Solaris, AIX, HP-UX, Tru64 In Any Configuration 64 Bit OS 32 Bit OS On Any HW Architecture SMP 4,6,8,12,6,32 CPUs Blades Racks 1-2 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