11
Virtual Appliances for Applications High Performance, High Density & Operationally Efficient Java Virtualization
Axel GrossePrincipal Sales ConsultantServer Technologies Competence Center – FMW Mitte
2
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions.The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
3
Cloud auf dem Peak der Hype Kurve
Source: Gartner "Hype Cycle for Cloud Computing, 2009" Research Note G00168780
4
SaaS, PaaS und IaaS
Anwendungen als Service für Endbenutzer im Netzwerk
Infrastructure as a Service
Platform as a Service
Software as a Service
Entwicklungs- und Deployment Plattformen als Service im Netzwerk
Server, Storage und Netzwerk Hardware samt dazugehöriger Software als Service im Netzwerk
5
Public Clouds und Private Clouds
INTERNET
Public Clouds
IaaS
PaaS
SaaSINTRANET
Private Cloud
Benutzer
• Externer Anbieter
• Weniger Aufwand
• Weniger Einfluss auf
•Sicherheit
•Verfügbarkeit
•...
• Eigene IT als Anbieter
• Mehr Aufwand
• Mehr Einfluss
IaaS
PaaS
SaaS
6
Cloud Computing: Oracle’s Perspektive
• Basiert auf neuen Ideen und Möglichkeiten, basiert jedoch auf etablierter Technologie
• Interessante Vorteile begleitet von ernstzunehmenden Bedenken
• Unternehmen werden einen Mix von Public und Private Clouds nutzen
77
Application Infrastructure Evolving From Silos to Grid… Physical to Virtual
8
EnterpriseApplications
Middleware
Database
OperatingSystem
Virtualization
Oracle Virtualization
Platform as a ServiceProducts
Infrastructureas a ServiceProducts
Software as a ServiceOfferings &Infrastructure
Oracle Virtualization Strategy
• Only vendor to provide an integrated solution• Virtualization and enterprise
workloads managed together
• End-to-end management • Enterprise Manager integration
across virtualized portfolio
• Optimized full stack performance• Optimizing application, middleware,
and database virtualization
EnterpriseManager
E-Business Suite, PeopleSoft, Siebel, JD E, Oracle Fusion
WebLogic Server, SOA Suite, WebCenter,
Coherence
Oracle Database,Oracle TimesTen
Enterprise LinuxSolaris
Oracle VM
9
Oracle Cloud Platform für PaaS
Platform as a Service
Infrastructure as a Service
Oracle VM for x86
Operating Systems: Oracle Enterprise Linux
Cloud Management
Oracle Enterprise Manager
Configuration Mgmt
Lifecycle Management
Application PerformanceManagement
Application QualityManagement
Database Grid
Application Grid
Shared Services
Integration SecurityProcess Mgmt User Interaction:WebCenter
OELinuxOracle SolarisOracle VM for SPARC (LDom)Solaris Containers
Servers
Storage
Physical and VirtualSystems Management
Ops Center
Oracle ApplicationsThird Party Applications
ISVApplications
JRo
ck
it V
E
1010
Oracle Application Grid
EfficiencyLowest operational
costs
CompetitivenessOutperform with speed and
flexibility
SimplificationBest foundation for entire software stack
Coherence
TuxedoWebLogic Server
Application Grid
ApplianceSOA
ServicePackaged
AppLegacy
Custom App
C /C++ / Cobol
Virtual
Enterprise Manager
Physical JRockit / Hotspot
1111
Oracle Virtual Environmentfor Fusion Middleware
EfficiencyLowest operational
costs
CompetitivenessOutperform with speed and
flexibility
SimplificationBest foundation for entire software stack
Application Grid
ApplianceSOA
ServicePackaged
AppLegacy
Custom App
C /C++ / Cobol
OEL
Enterprise Manager
JRockit Virtual EditionJRockit / Hotspot
WebLogic Server
1212
Operational complexity
Customer Challenge
Product MotivationHigh Performance, More Dense and Efficient Virtualized Java
Simplified and efficient Java EE
virtualization
Oracle’s Solution Product
Poor virtualization performance
High performance and high density
Java virtualization
WebLogic Server with JRockit Virtual
Edition
13
Oracle JRockit Virtual EditionOptimized Java Infrastructure
• Runs natively on hypervisor• More efficient use of hardware
resources• Higher density• Better performance
• Reduced operational cost• Simpler patching• Improved security
• Custom Java appliances• Building blocks for larger
assemblies
• Simple deployment
Traditional Virtualized Java Execution Stack
Guest Operating System
Hypervisor
Bare Metal Hardware
Java Virtual Machine
WebLogic Server
14
Oracle JRockit Virtual EditionOptimized Java Infrastructure
• Runs natively on hypervisor• More efficient use of hardware
resources• Higher density• Better performance
• Reduced operational cost• Simpler patching• Improved security
• Custom Java appliances• Building blocks for larger
assemblies
• Simple deployment
Bare Metal Hardware
Optimized Java Execution Stack
Oracle VM
JRockit Virtual Edition
WebLogic Server with JRockit Virtual Edition
15
JRockit –VE f
WebLogic Server
with JRockit Virtual Edition
Oracle VM
Bare Metal Hardware
WebLogic Server
JRockit Virtual EditionHow does it work?
• TCP/IP: Network communication• Scheduler: Runs Java threads. Single
process• File System: Local [virtual] disk• HW: Hardware device interaction. Network
card, virtual screen, etc.
JRockit –VE OS Layer
TCP/IP File System
Scheduler H/W
16
HowToCreate a JRockit VE for OVM
• Step 1 of 3• Create a sample brief configuration file by
running the following command.
java -jar jrockitve-imagetool.jar -c [config.xml] [vm_name]
17
HowToCreate a JRockit VE for OVM
• Step 2 of 3• Modify
configuration file with your Requirements
<jrockitve-imagetool-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="jrockitve-imagetool-config.xsd" version="5.0"> <jrockitve-config memory="256 MB" cpus="1"> <storage> <disks> <disk id="root" size="256 MB"/> </disks> <mounts> <mount> <mount-point>/</mount-point> <disk>root</disk> </mount> </mounts> </storage> <vm-name>default-vm</vm-name> <java-arguments>HelloWorld</java-arguments> <network> <nics> <nic type="bridged"/> </nics> </network> </jrockitve-config></jrockitve-imagetool-config>
Full Config File Example
18
HowToCreate a JRockit VE for OVM
• Step 3 of 3• To assemble a virtual machine image,
run the following command:
java -jar jrockitve-imagetool.jar -a config.xml output_dir ovm
• A virtual machine image, which consists of two files – system.img and vm.cfg,
1919
WebLogic Server with JRockit Virtual Edition
• Standard WebLogic Server • Running on JRockit VE
• Simplified and efficient virtualized Java EE• Administration and management
is virtualization aware
• Increased performance and density• Virtualized Java EE
applications run faster and with more instances on the same hardware
Virtualized Managed
Server
Virtualized Managed
Server
Virtualized Managed
Server
JRockit VE JRockit VE JRockit VE
WebLogic Cluster
Hypervisor
Virtualized Resource Pool
20
Builds on Customer’s WebLogic Investment
• Leverage existing tools and scripts• WLST Scripts• JRockit Mission Control• JRockit Real Time• Enterprise Manager
• Lifecycle management integrated into Oracle VM Manager• Node manager integration
• Re-use of existing skills• Identical programming paradigm
(Java EE)
2121
Simplified: WebLogic Server with JRockit Virtual Edition
(Approximate Numbers) Linux JeOS WebLogic with
JRockit VE
Config. Files 1000 200 1
Commands 3000 500 10
Command Params. 50,000 10,000 100
Admin Tools 500 200 1
Boot Time (s) 50 30 1
Size (MB) 1000 200 2
Reduction Ratio from Linux 1 ~2 ~300
2222
Performance: WebLogic Server with JRockit Virtual Edition
Performance Issue StandardJVM / OS
WebLogic with JRockit Virtual
Edition
Java Aware Scheduling? No Yes
Kernel Mode Transitions? Many Very few
Shorter Switching Times? No Yes
Optimize size of Heap No Yes
Shorter I/O Path? No Yes
2323
Operational complexity
Deployment complexity
Uncontrolled configuration
Customer Challenge
Product MotivationHigh Performance, More Dense and Efficient Virtualized Java
Simplified and efficient Java EE
virtualization
Virtual Assembly
Builder
Oracle’s Solution Product
Poor virtualization performance
Application-aware virtualization
Virtual appliances & assemblies
High performance and high density
Java virtualization
WebLogic Server with JRockit Virtual
Edition
2424
Assembly of Appliances
Oracle Virtual Assembly Builder
• Application-aware virtualization• Package software components into
collections of software appliances
• Standardized building blocks• Create multi-tier application
assemblies using virtualized appliances
• Simplified and rapid provisioning• Single step, template-based
deployment of multi-tier applications to virtualized environments
WLS WLSSOA Svc
Web
RAC RAC
WebWeb
Cache
2525
Assembly of Appliances
Why an Assembly of Appliances?
• Repeatedly provision entire application environments• Allowing customization without adding
complexity
• Reduce configuration errors• Change only what needs customization
• Reuse standardized building blocks• Turn infrastructure into appliances
• Accelerate deployment of new applications• Single step, template-based
deployments
WLS WLSSOA Svc
Web
RAC RAC
WebWeb
Cache
2626
Assembly Structure
Assembly
Metadata…….…….
Assembly Metadata Appliance Metadata
• Component-specific default config. params.
• User-specified & dynamic late binding parameters
• Input/output connections
• Scaling requirements
• VM resource requirements
• Deployment plan for entire N-tier application
• Wiring connections describing relationships of multiple Appliances
• Appliance start-order dependencies
• SLA and policy framework
• Input/output connections
Appliance
• Bootable VM disk image containing all necessary s/w required to run single component instance
• Optimized for Oracle software
• Templatized for repeatable deployment into Assembly
• Final configuration completed upon start-up
Appliances
Web Server
WebLogic Server
Database
Assembly Metadata
Appliance Metadata
Software Component
JRockit VE
Operating System
27
Oracle Virtual Assembly Builder Tool
Assemblies,Appliances
Catalog
Deployment Resource
Pools
Assembly Editor
PropertiesInspector
2828
Oracle Virtual Assembly Process Flow
Development& Test Production
Assembly Catalog
WLS
WLS
SOA
Svc
Web
RAC
RAC
Web
Select Appliances Introspect System
Create Assembly
Publish Assembly
Deploy Assembly
29
Support for Standards
• Infrastructure layer• Ongoing standardization of
the IaaS layer formats (OVF), models and protocols
• Application platform layer• Direction going forward• Natural step to application
centric deployment and management
• Java Community Processopportunities
30
Customer Proof Points WebLogic Server with JRockit Virtual Edition
• 1000’s of WebLogic Server instances currently in production• Successful migration test application• Debugging with JRockit Mission Control• Configuration with WebLogic Server Administration Console
• Developed comprehensive performance benchmark for WebLogic Server with JRockit Virtual Edition
• CERN keen on reducing patching efforts / costs through the use of assemblies
Oracle Confidential – Do Not Distribute
TP Group
• Currently running critical WebLogic Server apps on VMWare• Considering switching to Oracle VM• Tested complex network configurations with multiple NICs with
VLAN and 4 server cluster configurations and live migrations
3131
CERN and WebLogic Server Virtual Edition
"We have tested the Oracle WebLogic Server with Oracle JRockit Virtual Edition in the context of the CERN Openlab partnership and we have found impressive benefits for our organization. This solution significantly simplifies the maintenance of our middleware solutions and provides a cost-effective scalability on demand as it runs without a guest operating system. Overall, WebLogic Server with JRockit Virtual Edition will allow us to respond faster to the request of our users”
- Carlos Garcia Fernandez, Computer Scientist, CERN
32
Key Takeaway Messages
• Application aware virtualization• Virtual appliances & assemblies• Simplified and operationally efficient Java
EE virtualization• Higher performance, higher density for Java
virtualization
33
Oracle Cloud PlatformA future Hardware View
Exadata
Oracle VM for x86
Cloud Management
Oracle Enterprise Manager
Configuration Mgmt
Lifecycle Management
Application PerformanceManagement
Application QualityManagement
Database Grid
Oracle Enterprise Linux
Servers
Storage
Physical and VirtualSystems Management
Ops Center
Oracle Applications
Data as a ServiceISVApplications
JRockit VE
Application Grid
Virtual Assembly Mgmt
3434