SlideShare a Scribd company logo
1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Real World ADF Design & Architecture Principles
Server Topologies
ORACLE
PRODUCT
LOGO
15th Feb 2013 v1.0
3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Learning Objectives
•  At the end of this module you should be able to:
–  Identify a WLS topology that suits your requirements
–  Understand the restrictions of ADF Runtime Libraries & how this
impacts your WLS topology
–  Appreciate that high availability is a sliding scale of requirements
and can raise the costs of your systems significantly
Image: imagerymajestic/ FreeDigitalPhotos.net
4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Program Agenda
•  Server Topology Introduction
•  WebLogic Server Topology
•  System Topology
5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Server Topology Introduction
•  Investigate WLS server topologies and “system” topologies for ADF
•  Learning path
–  Start with overly simplistic development topologies to assist learning
–  Progress to considering production topologies
•  We will consider ADF infrastructure only
–  No other Java EE (e.g. JMS) or FMW components (e.g. MDS or WebCenter)
6 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
WLS Topology Challenges & Considerations
•  How to support?
–  Scaling
–  Application failover and high availability
–  Fine grained JVM tuning per application
•  How to control?
–  Security
–  Maintenance costs
–  License costs
7 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Program Agenda
•  Server Topology Introduction
•  WebLogic Server Topology
•  System Topology
8 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
WLS Quick Refresher
•  Hosts = physical or virtual machines
•  Domains = cross server configurations
•  Managed servers = run applications
•  AdminServer = administrates managed
servers
•  Node manager = starts managed servers
(not considered beyond here)
•  JVM per managed server
•  Cluster = collection of managed servers
Image: Oracle Fusion Middleware 11g Architecture and Management – McGraw Hill Oracle press
9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Minimal “Developer PC” Topology
•  1 ADF application
•  1 WLS “AdminServer” (~managed server)
•  1 WLS Machine
•  1 ADF Runtime version
•  1 WLS Domain
MachineY
AdminServer
ADF Runtimes
V12.1.2
ADF v12.1.2
Application1
DomainA
10 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Minimal “Developer PC” Topology
•  Advantages
–  Little server configuration and maintenance
–  JVM can be tuned to single application
–  Low license costs
•  Disadvantages
–  Really only suitable for Developer PCs
–  Security risk in AdminServer used for applications
–  No clustering, no high availability
–  Application not tested for clustering
11 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Multiple Application Topology
•  >1 ADF applications
•  1 WLS “AdminServer”
•  1 WLS Machine
•  1 ADF Runtime version
•  1 WLS Domain
Challenge addressed: Support multiple ADF applications
MachineX
AdminServer
ADF v12.1.2
Application1
ADF v12.1.2
Application2
ADF v12.1.2
Application3
ADF Runtimes
v12.1.2
DomainA
12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Multiple Application Topology
•  Advantages
–  Little server configuration and maintenance
–  Running multiple applications
–  Low license costs with one physical machine.
•  Disadvantages
–  Really only suitable for Developer PCs
–  Security risk in AdminServer used for applications
–  No clustering, no high availability
–  Application not tested for clustering
–  Can’t support multiple ADF Runtimes
–  Host bounce reboots all applications
–  One JVM has to cater for all application, can’t be tuned for 1 app
13 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Multiple ADF Runtimes Topology
ADF Runtimes v12.1.2.0.0
•  Only 1 version of ADF Runtimes can
be installed in a domain
•  = (1 Domain + 1 Machine + Managed
Server) x ADF Runtime versions
•  ADF applications must be deployed
to domain of same ADF Runtime
version
Challenge addressed: Supporting multiple ADF applications on different
ADF Runtime versions
DomainA
MachineX
AdminServer
ADF Runtimes
v12.1.2
ADF v12.1.2
Application1
ADF v12.1.2
Application2
DomainB
MachineY
AdminServer
ADF Runtimes
V11.1.1.6
ADF v11.1.1.6
Application3
14 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Multi-ADF Runtimes Topology
•  Advantages
–  Run multiple applications on separate domains
–  Host bounce limited to smaller subset of applications
•  Disadvantages
–  Security risk in AdminServer used for applications
–  No clustering, no high availability
–  Application not tested for clustering
–  JVM configuration still can’t be tuned for 1 app
–  Licensing costs
–  Maintenance costs
15 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Split AdminServer Topology
ADF Runtimes v12.1.2.0.0
•  AdminServer split from Managed Server
•  Managed Server hosts ADF application
•  AdminServer still runs on same physical
host to reduce license cost
•  Can be turned off when not in use
Challenge addressed: Reserving AdminServer for administration,
creating separate managed server for application(s)
DomainA
MachineX
AdminServer ServerA_X_1
ADF Runtimes
v12.1.2
ADF v12.1.2
Application1
16 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Split AdminServer Topology
•  Advantages
–  AdminServer can be shutdown and restarted separate to application’s managed
server, enhancing security if needed
–  JVM for manager server can be tuned for ADF application only
•  Disadvantages
–  No clustering, no high availability
–  Application not tested for clustering
17 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Single Machine Cluster Topology
DomainA
MachineX
Cluster
AdminServer ServerA_X_1 ServerA_X_2
ADF Runtimes v12.1.2
ADF v12.1.2
Application1
Instance2
ADF v12.1.2
Application1
Instance1
•  Managed servers host same ADF
applications
•  Applications share state through
serialization
Challenge addressed: graceful application state failover
18 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Single Machine Cluster
•  Advantages
–  If application fails can switch over to other application instance on cluster
–  Allows you to test failover – making it suitable for test environments
–  Low license costs
•  Disadvantages
–  If machine/host fails, all applications and state are lost
–  Overhead of running 2 JVMs on one machine
–  No scalability benefits
19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Multi Machine Cluster Topology
DomainA
MachineY
Cluster
AdminServer ServerA_Y_1 ServerA_Z_2
ADF Runtimes v12.1.2
ADF v12.1.2
Application1
Instance2
ADF v12.1.2
Application1
Instance1
•  Managed servers host same ADF
applications, applications share state
through serialization
•  Applications are split across machines
•  Automatically restart failed nodes with
node manager
Challenge addressed: graceful application failover and scalability
MachineZMachineX
20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Multi Machine Cluster
•  Advantages
–  If application fails can switch over to other application instance on cluster
–  Additional machines increase scalability of applications
•  Disadvantages
–  Configuration and maintenance
–  Hardware & license costs
21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Program Agenda
•  Server Topology Introduction
•  WebLogic Server Topology
•  System Topology
22 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
System Topologies
•  Consider suitable production topologies
•  Ignored discussing logical “VM” and physical hosts
•  WLS topologies have been diagrammatically simplified to hide detail
•  No consideration of high availability at the persistence layers
23 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
System Topology Challenges & Considerations
•  Scalability
•  High availability and failover
•  Security
•  Compression and caching
•  Others?
24 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Assumptions
•  Following slides assume Oracle products will be used for all parts of the
solution stack
•  3rd party products can be substituted, product names will vary
•  High availability of the Oracle RDBMS and Oracle Identity Management
solutions will not be considered
25 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Low Volume Topology
•  1 server is sufficient for load
•  No interest in HA or failover
•  WLS is authenticating/authorizing client via LDAP
RDBMS	
  
LDAP	
  
Managed
Server
WLS Domain
Client(s)	
  
26 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Managed
Server
WLS Domain
Non Clustered Scalable Topology
•  Scalability achieved by adding separate servers (physical)
•  Load balancer splits requests and provides client session affinity
•  Load balancer can be a hardware appliance or software HTTP proxy
•  Application failover is not a requirement
RDBMS	
  
Client(s)	
  
Managed
Server
WLS Domain
LDAP	
  
Load	
  
Balancer	
  
27 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
High Volume Topology
RDBMS	
  
Client(s)	
  
WLS Domain
LDAP	
  
Load	
  
Balancer	
  
Cluster
Managed
Server(s)
Web	
  
Cache	
  
HTTP	
  
Server	
  
HTTP	
  
Server	
  
•  HTTP servers offload processing from WLS including compression, SSL
termination (if not done at the LB)
•  Web cache (or CDN) allows offloaded processing for serving static content
•  Oracle Traffic Director can replace both these functions
•  WLS Clustering gives high availability and failover
Web	
  
Cache	
  
28 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Active Active Topology
RDBMS	
  
Client(s)	
  
WLS Domain
LDAP	
  
Local	
  
Load	
  
Balancer	
  
Cluster
Managed
Server(s)
HTTP	
  
Server	
  
HTTP	
  
Server	
  
RDBMS	
  
WLS Domain
LDAP	
  
Local	
  
Load	
  
Balancer	
  
Cluster
Managed
Server(s)
HTTP	
  
Server	
  
HTTP	
  
Server	
  
Global	
  
Load	
  
Balancer	
  
•  Off site disaster recovery
•  http://bit.ly/N7EiWa
Web	
  
Cache	
  
Web	
  
Cache	
  
Web	
  
Cache	
  
Web	
  
Cache	
  
29 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Secure Topology
RDBMS	
  
WLS Domain
LDAP	
  
Cluster
Managed
Server(s)
HTTP	
  
Server	
  
HTTP	
  
Server	
  
Firewall
•  Internet delivered applications will use firewalls to isolate the external
resources from the outside.
•  More than one firewall can be used to create a DMZ in case the first firewall
is penetrated
DMZ
Firewall Firewall
Client(s)	
  
Load	
  
Balancer	
  
Web	
  
Cache	
  
Web	
  
Cache	
  
30 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
SSL Termination?
RDBMS	
  
WLS Domain
LDAP	
  
Cluster
Managed
Server(s)
HTTP	
  
Server	
  
HTTP	
  
Server	
  
DMZ
Firewall Firewall
Client(s)	
  
Load	
  
Balancer	
  
Web	
  
Cache	
  
Web	
  
Cache	
  
Image: imagerymajestic/ FreeDigitalPhotos.net
What are viable locations
to terminate the SSL?
Do we need SSL
on the inside too?
31 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Conclusion
•  “High availability” as a requirement isn’t a yes or no answer
–  It’s a sliding scale of options
–  The higher the HA requirement
• The more complex server topologies and configuration you require
• The higher your license costs
• The more staff you require to maintain the setup
32 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Further Reading
•  Understanding WLS Domains http://bit.ly/USU7lX
•  FMW High Availability Guide http://bit.ly/VHJhjn
33 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

More Related Content

What's hot (20)

PDF
Oracle ADF Architecture TV - Development - Version Control
Chris Muir
 
PDF
Oracle ADF Architecture TV - Design - ADF BC Application Module Design
Chris Muir
 
PDF
Oracle ADF Architecture TV - Development - Programming Best Practices
Chris Muir
 
PDF
Oracle ADF Architecture TV - Deployment - Deployment Options
Chris Muir
 
PDF
Oracle ADF Architecture TV - Design - Project Dependencies
Chris Muir
 
PDF
Oracle ADF Architecture TV - Design - Designing for Internationalization
Chris Muir
 
PDF
Oracle ADF Architecture TV - Development - Logging
Chris Muir
 
PDF
Oracle ADF Architecture TV - Design - Application Customization and MDS
Chris Muir
 
PDF
Oracle ADF Architecture TV - Design - ADF Reusable Artifacts
Chris Muir
 
PDF
Oracle ADF Architecture TV - Design - ADF Architectural Patterns
Chris Muir
 
PDF
Oracle ADF Architecture TV - Design - Service Integration Architectures
Chris Muir
 
PDF
Oracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
Chris Muir
 
PDF
Oracle ADF Architecture TV - Design - Task Flow Transaction Options
Chris Muir
 
PPTX
Oracle REST Data Services
Chris Muir
 
PDF
Oracle ADF Architecture TV - Design - Designing for Security
Chris Muir
 
PDF
Oracle ADF Architecture TV - Design - Task Flow Overview
Chris Muir
 
PPTX
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with Oracle
Chris Muir
 
PDF
Oracle ADF Architecture TV - Design - Usability and Layout Design
Chris Muir
 
PDF
Oracle ADF Architecture TV - Design - Task Flow Data Control Scope Options
Chris Muir
 
PDF
Oracle ADF Architecture TV - Design - ADF Service Architectures
Chris Muir
 
Oracle ADF Architecture TV - Development - Version Control
Chris Muir
 
Oracle ADF Architecture TV - Design - ADF BC Application Module Design
Chris Muir
 
Oracle ADF Architecture TV - Development - Programming Best Practices
Chris Muir
 
Oracle ADF Architecture TV - Deployment - Deployment Options
Chris Muir
 
Oracle ADF Architecture TV - Design - Project Dependencies
Chris Muir
 
Oracle ADF Architecture TV - Design - Designing for Internationalization
Chris Muir
 
Oracle ADF Architecture TV - Development - Logging
Chris Muir
 
Oracle ADF Architecture TV - Design - Application Customization and MDS
Chris Muir
 
Oracle ADF Architecture TV - Design - ADF Reusable Artifacts
Chris Muir
 
Oracle ADF Architecture TV - Design - ADF Architectural Patterns
Chris Muir
 
Oracle ADF Architecture TV - Design - Service Integration Architectures
Chris Muir
 
Oracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
Chris Muir
 
Oracle ADF Architecture TV - Design - Task Flow Transaction Options
Chris Muir
 
Oracle REST Data Services
Chris Muir
 
Oracle ADF Architecture TV - Design - Designing for Security
Chris Muir
 
Oracle ADF Architecture TV - Design - Task Flow Overview
Chris Muir
 
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with Oracle
Chris Muir
 
Oracle ADF Architecture TV - Design - Usability and Layout Design
Chris Muir
 
Oracle ADF Architecture TV - Design - Task Flow Data Control Scope Options
Chris Muir
 
Oracle ADF Architecture TV - Design - ADF Service Architectures
Chris Muir
 

Similar to Oracle ADF Architecture TV - Deployment - System Topologies (20)

PDF
Enterprise Deployments: The Real World of Best Practices
Simon Haslam
 
PDF
Oracle WebLogic 11g Topology
Rakesh Gujjarlapudi
 
PPT
Clustering van IT-componenten
Richard Claassens CIPPE
 
PPTX
Oracle Virtualization Manager Solution.pptx
FabriceBah1
 
PDF
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
JUG Genova
 
PPTX
High Availability and Disaster Recovery Topologies - OMF Canberra June 2014
Joelith
 
PDF
Oracle Fusion Middleware Infrastructure Best Practices
Revelation Technologies
 
PDF
Database failover from client perspective
Priit Piipuu
 
PDF
Oracle Drivers configuration for High Availability
Ludovico Caldara
 
PPT
Oracle 10g Application Server
Mark J. Feldman
 
PDF
Experiences from DevOps production: Deployment, performance, failure.
Server Density
 
PDF
Oracle Web Logic server
Rakesh Gujjarlapudi
 
PDF
Oracle COTS Applications on AWS
Tom Laszewski
 
PPTX
Virtualization 2011 v1
Pini Cohen
 
PDF
F428435966 odtug web-logic for developers
Meng He
 
PPT
R12 d49656 gc10-apps dba 08
zeesniper
 
PPTX
Immutable Infrastructure: the new App Deployment
Axel Fontaine
 
PDF
Oracle WebLogic 12c New Multitenancy features
Michel Schildmeijer
 
PDF
Application-Driven Virtualization: Architectural Considerations
Bob Rhubart
 
PDF
Con3928 horton session con3928 fusion app on-premise installation lessons lea...
Berry Clemens
 
Enterprise Deployments: The Real World of Best Practices
Simon Haslam
 
Oracle WebLogic 11g Topology
Rakesh Gujjarlapudi
 
Clustering van IT-componenten
Richard Claassens CIPPE
 
Oracle Virtualization Manager Solution.pptx
FabriceBah1
 
Server Day 2009: Oracle/Bea Fusion Middleware by Paolo Ramasso
JUG Genova
 
High Availability and Disaster Recovery Topologies - OMF Canberra June 2014
Joelith
 
Oracle Fusion Middleware Infrastructure Best Practices
Revelation Technologies
 
Database failover from client perspective
Priit Piipuu
 
Oracle Drivers configuration for High Availability
Ludovico Caldara
 
Oracle 10g Application Server
Mark J. Feldman
 
Experiences from DevOps production: Deployment, performance, failure.
Server Density
 
Oracle Web Logic server
Rakesh Gujjarlapudi
 
Oracle COTS Applications on AWS
Tom Laszewski
 
Virtualization 2011 v1
Pini Cohen
 
F428435966 odtug web-logic for developers
Meng He
 
R12 d49656 gc10-apps dba 08
zeesniper
 
Immutable Infrastructure: the new App Deployment
Axel Fontaine
 
Oracle WebLogic 12c New Multitenancy features
Michel Schildmeijer
 
Application-Driven Virtualization: Architectural Considerations
Bob Rhubart
 
Con3928 horton session con3928 fusion app on-premise installation lessons lea...
Berry Clemens
 
Ad

Recently uploaded (20)

PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Ad

Oracle ADF Architecture TV - Deployment - System Topologies

  • 1. 1 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
  • 2. 2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Real World ADF Design & Architecture Principles Server Topologies ORACLE PRODUCT LOGO 15th Feb 2013 v1.0
  • 3. 3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Learning Objectives •  At the end of this module you should be able to: –  Identify a WLS topology that suits your requirements –  Understand the restrictions of ADF Runtime Libraries & how this impacts your WLS topology –  Appreciate that high availability is a sliding scale of requirements and can raise the costs of your systems significantly Image: imagerymajestic/ FreeDigitalPhotos.net
  • 4. 4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Program Agenda •  Server Topology Introduction •  WebLogic Server Topology •  System Topology
  • 5. 5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Server Topology Introduction •  Investigate WLS server topologies and “system” topologies for ADF •  Learning path –  Start with overly simplistic development topologies to assist learning –  Progress to considering production topologies •  We will consider ADF infrastructure only –  No other Java EE (e.g. JMS) or FMW components (e.g. MDS or WebCenter)
  • 6. 6 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. WLS Topology Challenges & Considerations •  How to support? –  Scaling –  Application failover and high availability –  Fine grained JVM tuning per application •  How to control? –  Security –  Maintenance costs –  License costs
  • 7. 7 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Program Agenda •  Server Topology Introduction •  WebLogic Server Topology •  System Topology
  • 8. 8 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. WLS Quick Refresher •  Hosts = physical or virtual machines •  Domains = cross server configurations •  Managed servers = run applications •  AdminServer = administrates managed servers •  Node manager = starts managed servers (not considered beyond here) •  JVM per managed server •  Cluster = collection of managed servers Image: Oracle Fusion Middleware 11g Architecture and Management – McGraw Hill Oracle press
  • 9. 9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Minimal “Developer PC” Topology •  1 ADF application •  1 WLS “AdminServer” (~managed server) •  1 WLS Machine •  1 ADF Runtime version •  1 WLS Domain MachineY AdminServer ADF Runtimes V12.1.2 ADF v12.1.2 Application1 DomainA
  • 10. 10 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Minimal “Developer PC” Topology •  Advantages –  Little server configuration and maintenance –  JVM can be tuned to single application –  Low license costs •  Disadvantages –  Really only suitable for Developer PCs –  Security risk in AdminServer used for applications –  No clustering, no high availability –  Application not tested for clustering
  • 11. 11 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Multiple Application Topology •  >1 ADF applications •  1 WLS “AdminServer” •  1 WLS Machine •  1 ADF Runtime version •  1 WLS Domain Challenge addressed: Support multiple ADF applications MachineX AdminServer ADF v12.1.2 Application1 ADF v12.1.2 Application2 ADF v12.1.2 Application3 ADF Runtimes v12.1.2 DomainA
  • 12. 12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Multiple Application Topology •  Advantages –  Little server configuration and maintenance –  Running multiple applications –  Low license costs with one physical machine. •  Disadvantages –  Really only suitable for Developer PCs –  Security risk in AdminServer used for applications –  No clustering, no high availability –  Application not tested for clustering –  Can’t support multiple ADF Runtimes –  Host bounce reboots all applications –  One JVM has to cater for all application, can’t be tuned for 1 app
  • 13. 13 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Multiple ADF Runtimes Topology ADF Runtimes v12.1.2.0.0 •  Only 1 version of ADF Runtimes can be installed in a domain •  = (1 Domain + 1 Machine + Managed Server) x ADF Runtime versions •  ADF applications must be deployed to domain of same ADF Runtime version Challenge addressed: Supporting multiple ADF applications on different ADF Runtime versions DomainA MachineX AdminServer ADF Runtimes v12.1.2 ADF v12.1.2 Application1 ADF v12.1.2 Application2 DomainB MachineY AdminServer ADF Runtimes V11.1.1.6 ADF v11.1.1.6 Application3
  • 14. 14 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Multi-ADF Runtimes Topology •  Advantages –  Run multiple applications on separate domains –  Host bounce limited to smaller subset of applications •  Disadvantages –  Security risk in AdminServer used for applications –  No clustering, no high availability –  Application not tested for clustering –  JVM configuration still can’t be tuned for 1 app –  Licensing costs –  Maintenance costs
  • 15. 15 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Split AdminServer Topology ADF Runtimes v12.1.2.0.0 •  AdminServer split from Managed Server •  Managed Server hosts ADF application •  AdminServer still runs on same physical host to reduce license cost •  Can be turned off when not in use Challenge addressed: Reserving AdminServer for administration, creating separate managed server for application(s) DomainA MachineX AdminServer ServerA_X_1 ADF Runtimes v12.1.2 ADF v12.1.2 Application1
  • 16. 16 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Split AdminServer Topology •  Advantages –  AdminServer can be shutdown and restarted separate to application’s managed server, enhancing security if needed –  JVM for manager server can be tuned for ADF application only •  Disadvantages –  No clustering, no high availability –  Application not tested for clustering
  • 17. 17 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Single Machine Cluster Topology DomainA MachineX Cluster AdminServer ServerA_X_1 ServerA_X_2 ADF Runtimes v12.1.2 ADF v12.1.2 Application1 Instance2 ADF v12.1.2 Application1 Instance1 •  Managed servers host same ADF applications •  Applications share state through serialization Challenge addressed: graceful application state failover
  • 18. 18 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Single Machine Cluster •  Advantages –  If application fails can switch over to other application instance on cluster –  Allows you to test failover – making it suitable for test environments –  Low license costs •  Disadvantages –  If machine/host fails, all applications and state are lost –  Overhead of running 2 JVMs on one machine –  No scalability benefits
  • 19. 19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Multi Machine Cluster Topology DomainA MachineY Cluster AdminServer ServerA_Y_1 ServerA_Z_2 ADF Runtimes v12.1.2 ADF v12.1.2 Application1 Instance2 ADF v12.1.2 Application1 Instance1 •  Managed servers host same ADF applications, applications share state through serialization •  Applications are split across machines •  Automatically restart failed nodes with node manager Challenge addressed: graceful application failover and scalability MachineZMachineX
  • 20. 20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Multi Machine Cluster •  Advantages –  If application fails can switch over to other application instance on cluster –  Additional machines increase scalability of applications •  Disadvantages –  Configuration and maintenance –  Hardware & license costs
  • 21. 21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Program Agenda •  Server Topology Introduction •  WebLogic Server Topology •  System Topology
  • 22. 22 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. System Topologies •  Consider suitable production topologies •  Ignored discussing logical “VM” and physical hosts •  WLS topologies have been diagrammatically simplified to hide detail •  No consideration of high availability at the persistence layers
  • 23. 23 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. System Topology Challenges & Considerations •  Scalability •  High availability and failover •  Security •  Compression and caching •  Others?
  • 24. 24 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Assumptions •  Following slides assume Oracle products will be used for all parts of the solution stack •  3rd party products can be substituted, product names will vary •  High availability of the Oracle RDBMS and Oracle Identity Management solutions will not be considered
  • 25. 25 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Low Volume Topology •  1 server is sufficient for load •  No interest in HA or failover •  WLS is authenticating/authorizing client via LDAP RDBMS   LDAP   Managed Server WLS Domain Client(s)  
  • 26. 26 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Managed Server WLS Domain Non Clustered Scalable Topology •  Scalability achieved by adding separate servers (physical) •  Load balancer splits requests and provides client session affinity •  Load balancer can be a hardware appliance or software HTTP proxy •  Application failover is not a requirement RDBMS   Client(s)   Managed Server WLS Domain LDAP   Load   Balancer  
  • 27. 27 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. High Volume Topology RDBMS   Client(s)   WLS Domain LDAP   Load   Balancer   Cluster Managed Server(s) Web   Cache   HTTP   Server   HTTP   Server   •  HTTP servers offload processing from WLS including compression, SSL termination (if not done at the LB) •  Web cache (or CDN) allows offloaded processing for serving static content •  Oracle Traffic Director can replace both these functions •  WLS Clustering gives high availability and failover Web   Cache  
  • 28. 28 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Active Active Topology RDBMS   Client(s)   WLS Domain LDAP   Local   Load   Balancer   Cluster Managed Server(s) HTTP   Server   HTTP   Server   RDBMS   WLS Domain LDAP   Local   Load   Balancer   Cluster Managed Server(s) HTTP   Server   HTTP   Server   Global   Load   Balancer   •  Off site disaster recovery •  http://bit.ly/N7EiWa Web   Cache   Web   Cache   Web   Cache   Web   Cache  
  • 29. 29 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Secure Topology RDBMS   WLS Domain LDAP   Cluster Managed Server(s) HTTP   Server   HTTP   Server   Firewall •  Internet delivered applications will use firewalls to isolate the external resources from the outside. •  More than one firewall can be used to create a DMZ in case the first firewall is penetrated DMZ Firewall Firewall Client(s)   Load   Balancer   Web   Cache   Web   Cache  
  • 30. 30 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. SSL Termination? RDBMS   WLS Domain LDAP   Cluster Managed Server(s) HTTP   Server   HTTP   Server   DMZ Firewall Firewall Client(s)   Load   Balancer   Web   Cache   Web   Cache   Image: imagerymajestic/ FreeDigitalPhotos.net What are viable locations to terminate the SSL? Do we need SSL on the inside too?
  • 31. 31 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Conclusion •  “High availability” as a requirement isn’t a yes or no answer –  It’s a sliding scale of options –  The higher the HA requirement • The more complex server topologies and configuration you require • The higher your license costs • The more staff you require to maintain the setup
  • 32. 32 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Further Reading •  Understanding WLS Domains http://bit.ly/USU7lX •  FMW High Availability Guide http://bit.ly/VHJhjn
  • 33. 33 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.