“Oracle WebLogic Server 12c: Orientando al Cloud”
-
Upload
oracle-espana -
Category
Technology
-
view
580 -
download
5
Transcript of “Oracle WebLogic Server 12c: Orientando al Cloud”
Cloud Application
Foundation Rethinking Cloud Infrastructure with
WebLogic Server 12c
Jesús María Guerra
[email protected] | @OracleJMGuerra
6 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
• Complete
• Open
• Integrated
• Best in Class
Oracle Cloud Application Foundation Foundation for Oracle Fusion Middleware in the Cloud
User Engagement
Identity Management & Security
Business Process
Management
Content
Management
Business
Intelligence
Service Integration Data Integration
Development
Tools
Enterprise
Management
Web Social Mobile
Cloud Application
Foundation Cloud Application
Foundation
Cloud Application Foundation
Traffic Director/Web Tier
WebLogic
Server Coherence Tuxedo
Virtual Assembly Builder
7 | © 2011 Oracle Corporation – Proprietary and Confidential
Oracle WebLogic Suite Best of breed, fully integrated components
WebLogic Server
Java EE: Reliability, Availability, Scalability & Performance
Coherence EE
High Performance, Reliable, Scale Out for Java, C++, .NET
JRockit Real Time
High Performance JVM with Extreme Low Latency
Ente
rpri
se M
anag
er
Ad
min
an
d O
pe
rati
on
s D
evelo
pm
en
t Too
ls
JD
evelo
per/E
clip
se
Java EE/ISV Apps
SOA Suite
WebCenter Suite
Content Management Suite
Identity Management Suite
Business Intelligence Suite
8 | © 2011 Oracle Corporation – Proprietary and Confidential
Deploy/Run on
Conventional Systems
Deploy/Run on High
Performance
Engineered Systems
Deploy/Run on Private
and Public Clouds
Cloud
Application
Foundation
Cloud
Application
Foundation
Ready for Cloud Optimized for
Engineered Systems Industry’s top choice for
Conventional Systems
Cloud
Application
Foundation
Is Standards Based and Portable Conventional, Engineered and Public Cloud
9 | © 2011 Oracle Corporation – Proprietary and Confidential
WebLogic is no longer fat and is free for development
10 | © 2011 Oracle Corporation – Proprietary and Confidential
Oracle Enterprise Pack for Eclipse Do you miss something?
14 | © 2011 Oracle Corporation – Proprietary and Confidential
Declarative and visual development
Integration with Apple Xcode and Android SDK
Consistent tooling
Task Flows
Data Controls
Packaging
Deployment
Debugging
Mobility Integrated Development Environment
Focused on Productivity
15 | © 2011 Oracle Corporation – Proprietary and Confidential
TopLink Data Services Provide Enterprise Data Access with no Server-Side programming
• Problem: Simplify access to enterprise data sources
• Solution: Auto-generate RESTful interfaces to enterprise data
• Benefit: Client data access and notifications with no server programming
WebLogic Server
JPA
Clients
HTTP/S JSON/XML
Change Notification
Database
Stand
ard clien
ts: HTM
L5,
REST, JSO
N/X
ML
ADF Mobile
TopLink Data Services
16 | © 2011 Oracle Corporation – Proprietary and Confidential
HA with Web Tier Load Balancing Surviving a Failed HTTP Server
• Load balancing
– Round robin
• Supported Web servers
– IIS, SunOne, Apache
• Multi-machine cluster aware
• Uses HTTP piggy backing
• Failure aware
• Failed WLSs removed from cluster
• Restarted WLSs added to cluster
• Routing
– Static routing
• Lightweight solution – HTTPClusterServlet hosted on a WebLogic instance
17 | © 2011 Oracle Corporation – Proprietary and Confidential
HA with WebLogic State Replication Surviving a Failed WebLogic Server
18 | © 2011 Oracle Corporation – Proprietary and Confidential
HA with Whole Server Migration Application and Resource Recovery with Continuous Capacity
• Automatic migration of failed servers within a cluster
• Effectively a server restart and recovery on another
machine
19 | © 2011 Oracle Corporation – Proprietary and Confidential
Exalogic GridLink Unique Oracle RAC integration and OLTP fault tolerance
• Dynamic load balancing of requests to RAC nodes • RAC node transaction affinity for data locality • Maximum JDBC performance with SQLNet over native
InfiniBand protocol (SDP) for Exadata • Instant load balancing and failover with RAC changes
GridLink
WebLogic
GridLink
WebLogic
80% 20%
RAC Node Load Aware
Connection Requests
GridLink
WebLogic
GridLink
WebLogic
RAC Node Affinity
For Transactions
XA
GridLink
WebLogic
GridLink
WebLogic
Continuous Connections
Even with RAC Changes
20 | © 2011 Oracle Corporation – Proprietary and Confidential
WebLogic Server 12.1.2 and Database 12c Continuous Availability, Performance at Scale, Multi-Tenancy
• WebLogic Server with Database 12c
– WebLogic 10.3.6, 12.1.1 – certification
– WebLogic 12.1.2 - new feature integration
• Continuous Availability capabilities
– Transaction Guard and Application Continuity
• Multi-Tenant Database Support
– Pluggable Databases running in Database Container
• New scalability integration - Middle Tier
Performance at Cloud Scale
– Database Resident Connection Pools
• Multi-Site Availability
– Global Data Services
DBMS Resident
Connection Pool
Multi-Tenant Database
Replay
Read/Write
Based on Transaction
Guard Information
WebLogic
Domain 1
WebLogic
Domain 2
WebLogic
Domain n … 100’s
PDB 1 PDB 2 PDB 3 PDB 4
21 | © 2011 Oracle Corporation – Proprietary and Confidential
• How it works
• Create cluster with dynamic servers based on server template
• Servers inherit attributes from template
• Rules for calculating server-specific attributes
• Server name, listen ports, machines…..
• “N” servers available in the configuration
• Configuration changes are dynamic
• Start /stop servers to scale cluster
• Supported with
• Console, WLST, Enterprise Manager
• Elastic JMS (not WSM, ASM, UOO, UOW, SAF)
• Managed Coherence Servers
Server 1
Dynamic Cluster 1
Server 2
Server Template
Server 3 Server 4
Server 5 Server 6
Server 7 Server 8
Scale to “N” Managed Servers
Dynamic Clusters Scale Clusters by Changing one Parameter
22 | © 2011 Oracle Corporation – Proprietary and Confidential
HA with Side by Side Deployment Zero Application Downtime
Newer version of application deployed side-by-side with older version in same JVM
Clients already connected continued to be served by older version
New clients connect to newer version
• Test versions before opening up to users
• Rollback to previous versions
• Automatic retirement – graceful or timeout
24 | © 2011 Oracle Corporation – Proprietary and Confidential
Scalability Chasm
• Data Demand
outpacing
Data Supply
• Rate of growth outpacing
ability to cost effectively
scale applications 1011000101100101110110010110010111000111011001
10110001011000101110110010110010111000111011001011101100
Application Servers
Web Servers
Ever Expanding Universe of Users
Data Supply
Data Demand
25 | © 2011 Oracle Corporation – Proprietary and Confidential
10110001011001011101100101100101110001110
101100010110010111011001011001011100011101111110001110
Application Servers
Web Servers
Ever Expanding Universe of Users
Oracle Coherence as Data Broker
• Oracle Coherence
brokers Data Supply
with
Data Demand
• Scale out
Data Grid in middle tier
using
commodity hardware
Data Sources
Data Supply
Data Demand
Java Objects
27 | © 2011 Oracle Corporation – Proprietary and Confidential
Coherence Use Case #1
TopLink/EclipseLink/Hibernate with Coherence Cache
28 | © 2011 Oracle Corporation – Proprietary and Confidential
Coherence Use Case #2
Example of Standard Cluster Topology
29 | © 2011 Oracle Corporation – Proprietary and Confidential
Optimized Web Tier Topology Separate traffic processing, session management
30 | © 2011 Oracle Corporation – Proprietary and Confidential
Typical Process for Deploying Applications 1-3 Weeks From “Go” to Ready
Start 1-2 Days 1 Day 1-5 Days 1-2 Days 1-5 Days
Platform Team Application/DBA Team
31 | © 2011 Oracle Corporation – Proprietary and Confidential
Deploying Applications With Virtualization There is Little Benefit to DBAs and App Owners
Start 1-2 Days 1 Day 1-5 Days OS-Only VM Template
Automated Process Manual Configuration Process
Platform Team Application/DBA Team
32 | © 2011 Oracle Corporation – Proprietary and Confidential
Deploying Applications With Templates Now App Owners and DBAs can be part of the process
Start 1-2 Days 1 Day 1-5 Days Full Application VM Template
Automated Process Manual Configuration
Process
Platform Team Application/DBA Team
33 | © 2011 Oracle Corporation – Proprietary and Confidential
Start-up in
Oracle VM Pool
Oracle VM Templates for Applications
Rapid Deployment; 100+ Templates Available
• Pre-built, pre-configured, production-ready VMs
• Apps, Databases, Middleware, OS; Siebel CRM, Oracle RAC, More…
• Near zero knowledge of OS, Application installation required
• Automate deployment of a complete production ready 8 node RAC cluster in
minutes through a simple single configuration file
Import to
Oracle VM
Manager
Oracle VM
Servers
Server
Pool 2 Customize & Save
as Golden Image
File
Siebel
CRM
Download
File
Siebel
CRM
VM 1
Siebel
CRM
Software Delivery Cloud
34 | © 2011 Oracle Corporation – Proprietary and Confidential
Assemblies: Package Multi-Tier Enterprise Apps
Capture Complete
Application Topology
Package Into
Single Assembly
Metadata
Oracle Virtual Assembly
Builder Studio
35 | © 2011 Oracle Corporation – Proprietary and Confidential
Deploy
Provision
Test
Change
& Patch
Configure
Monitor
Lifecycle
Management
Easy Integration: Oracle Enterprise Manager
Oracle
Enterprise
Manager 12c
Application Driven Full Stack Management
Oracle VM
Servers
Full management functionality • Everything you can do from Oracle VM
Manager
• Integrated life-cycle management
Easy integration • New- or existing Oracle VM Manager
instance
• Just point Enterprise Manager instance to
Oracle VM Manager instance
• No migration or re-discovery required
• No new EM agent deployments required
Easy to use, flexible access • Access from EM GUI or Manager GUI or both
• Use one GUI if the other is off-line
• EM GUI for application admins, Oracle VM
Manager GUI for virtualization admins
36 | © 2011 Oracle Corporation – Proprietary and Confidential
Standardize Multi-tier Application Deployment to
the Cloud
Assembly Admin
creates assembly
OHS OHS
WLS WLS
Coh
WLS
Coh
DB
Reference system
Assembly Archive
Upload
assemblies
1 2
3
OVAB
Studio
OHS
WLS
Coherence
Software
Library
x86 H/W
Linux
x86 H/W
OVM Manager
OVS
OVM Resource Pool
Deploy,
undeploy
assemblies
4
5
Discover application
components and assembly
topology with EMCC
Oracle Enterprise Manager
37 | © 2011 Oracle Corporation – Proprietary and Confidential
Self-Service Access
• Infrastructure-as-a-Service
(IaaS)
– x86 and SPARC
• Platform-as-a-Service (PaaS)
– Database (DBaaS), Java,….
– Physical and virtual environment
support
• Out-of-box Portal and APIs
Self-Service Freedom, Professional Control
38 | © 2011 Oracle Corporation – Proprietary and Confidential
Meter, Charge and Optimize Cloud Services
• Application-to-Disk resource
metering
• Chargeback/Showback
• Oracle Billing and Revenue
Management (BRM)
Integration
• Optimize performance,
capacity, QoS, costs…
39 | © 2011 Oracle Corporation – Proprietary and Confidential
Challenges in App Server Management
1. Managing App Servers performance & availability
– Across the enterprise
– Across multiple domains
2. Enterprise Java Application performance & availability
– Business transactions span shared components / services
– Deployed across several tiers in different containers
3. Control over changes that
– Affect application availability
– May not be authorized
– Lead to compliance & security concerns
4. Administrative tasks to clone & scale up that are
– Time consuming
– Error prone
More Business Downtime
+ Higher IT costs
+ Less Agility
Result
40 | © 2011 Oracle Corporation – Proprietary and Confidential
Fixing Problems
The “Intermittent Cycle”…
SLA Breach •[Sun 04.32]
Server restart •[Sun 05.12]
Analyze logs •[Mon 09.30]
Turn on detailed logging •[Tue 13.00]
Analyze logs •[Fri 09.00]
Turn off detailed logging •[Fri 12.00]
…or “Better use the Flight Recorder”
41 | © 2011 Oracle Corporation – Proprietary and Confidential
WebLogic Management via Enterprise Manager
• Performance Monitoring and Diagnostics
– Manage across multiple domains
– Improve performance and availability of Java EE and web service
applications
– Diagnose performance problems across tiers
– Trace business transactions in the context of the payload
• Configuration Management
– Track and maintain configurations
– Minimize/eliminate downtime due to infrastructure changes
– Comply with security and compliance standards
• Lifecycle Management
– Automate time consuming, manual installation and configuration
process
– Reduce human error in building new environments
– Streamline communication with support when encountering bugs
Reduce IT operational cost and improve Quality of Service
Configuration Management
Lifecycle Management
Performance Monitoring
and Diagnostics
Development
Test Production
42 | © 2011 Oracle Corporation – Proprietary and Confidential
Centralized Mgmt & Out-of-box Monitoring • Manage multiple domains
centrally
• Monitoring spans:
– Clusters and servers
– Applications (servlets, JSPs, EJBs)
– Resources (JDBC connection pool,
data sources)
• Predefined metrics
– Performance and availability
– Real-time monitoring
– Historical monitoring for trending and
reporting
• Monitor all applications, all domains
from one console
43 | © 2011 Oracle Corporation – Proprietary and Confidential
Composite Application Management Increase efficiency and productivity
• Provides single dashboard with
complete visibility (e.g. incidents,
performance, compliance) across
multi-tier composite application
• Supports all major target types with
specialized regions for JVMs,
services, SLAs and Coherence
• Regions can be customized and
personalized to display any relevant
metric
• Routing topology view displays all
target relationships
44 | © 2011 Oracle Corporation – Proprietary and Confidential
Centralized Incident and Problem Management
• Centralized incident management for the Cloud
– View, manage, diagnose and resolve incidents from one console
• Support for incident lifecycle operations
– Assign, acknowledge, prioritize, track status, escalate, suppress
• Accelerated resolution with “My Oracle Support” integration
• Integrated with Helpdesk
– Out-of-box connectors for Remedy, HP Service
45 | © 2011 Oracle Corporation – Proprietary and Confidential
Asset Discovery & Tracking
• Automated, daily collection of
configuration data
– Applications, resources, JMS
configuration, etc.
– Installations & patches
• Customize frequency of
collection
• Detect real-time change
– Reconcile change with
change management system
– Authorized vs. unauthorized
• Know what you have – effective use
of your assets
46 | © 2011 Oracle Corporation – Proprietary and Confidential
Enhanced Compliance Management for WLS
• Former BEA Guardian
signatures integrated into EM
• Configuration Change Console
integrated into EM
– Create user-defined
compliance…
• Rules: checks/tests performed
against specific target types
• Standards: collection of rules
associated to multiple targets
• Frameworks: conceptual ‘folders’
map standards to real-world
structure of compliance
frameworks (PCI, COBIT, HIPAA,
CIS, etc.)
• Ensure compliance to best practices,
industry standards
47 | © 2011 Oracle Corporation – Proprietary and Confidential
Clone WebLogic Domain from Software Library • Create components in
Software Library for
Middleware Home binaries
and/or WebLogic Domain
configuration
• Clone such components to
new hardware
• Specify domain
configuration such as listen
addresses, ports, data
sources, JMS stores,
security store/providers
• Expanded OS platform
support
48 | © 2011 Oracle Corporation – Proprietary and Confidential
Deploy/Undeploy Java EE Applications
• New deployment procedure
automates deploying, redeploying,
undeploying application(s) to/from
domain(s)
• Include archive, deployment plan,
pre/post deployment scripts,
additional files as part of operation
• Specify staging mode, start mode,
whether to deploy archive as library
• Reduce need for multiple
administration consoles
49 | © 2011 Oracle Corporation – Proprietary and Confidential
Moving to WebLogic: Migration Effort Average of 5 applications migrated
22 JBoss AS 7
6.5 WebLogic 12c
Total Days/Man effort based
on a true end-to-end
migration of 5 production
applications from JBoss 4/5
to JBoss 7 and to WebLogic
12c. Results are average per
application
Average Total Days/Man per App
50 | © 2011 Oracle Corporation – Proprietary and Confidential
Migration Comparison Aggregated Results from JBoss 4/5 to JBoss 7 & WebLogic 12c
51 | © 2011 Oracle Corporation – Proprietary and Confidential
…and still improving…
Oracle WebLogic Server 12c – Over 200 New Features
Java EE 6
• JSP 2.1, JSF 2.0
• EJB 3.1, JPA 2.0
• Context and Dependency
Injection
• Restful Web Services
Developer
• JDeveloper
• Eclipse
• NetBeans
• Maven
Java SE
• Java SE 6
• Java SE 7
Database
• GridLink – Session
Affinity
• GridLink – Transaction
Affinity
• GridLink – Fast
Connection Failover
Performance
• SPECjEnterprise World
Records– EjOPS Overall,
EjOPS/Core,
EjOPS/Processor
Traffic Management
• Software Load Balancer
• Traffic Shaping
• SSL Termination
Enterprise Scale
• Database Transaction
Logs
• Database Store
Performance
Enterprise Manager 12c
• Cloud Management
• Middleware Diagnostics
Advisor
• Incident Management
• Java EE App Provisioning
Distributed Caching
• Coherence Transactions
• Coherence Rest
• Coherence Query Explain
Plan
Cloud
• Optimized WebLogic
Virtual Appliances
• Coherence Exalogic
Exabus
• WebLogic Elastic
Message Overflow
• Coherence Elastic Data
• Exalogic HTTP, JMS and
Web Service
Performance
• TopLink Partitioned Data
Security Updates
• New Certification
Validation
• New SPNEGO Update
• New RSA Update
• New JSSE Support
51 | © 201 Oracle Corporation – Proprietary and Confidential – Do Not Distribute until December 1, 2011 at 8:00 am EST