Oracle VM Workshop Applica>on Driven Virtualiza>on Simon COTER Principal Product Manager Oracle VM & VirtualBox simon.coter@oracle.com hnps://blogs.oracle.com/scoter November 25th, 2015 Copyright 2014 Oracle and/or its affiliates. All rights reserved. 2
Safe Harbor Statement The following is intended to outline our general product direc>on. It is intended for informa>on purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or func>onality, and should not be relied upon in making purchasing decisions. The development, release, and >ming of any features or func>onality described for Oracle s products remains at the sole discre>on of Oracle. 3
Oracle VM Architecture Market Drivers 4
Oracle VM Components Server Virtualiza7on and Management Oracle VM Manager Manage hundreds or thousands of servers Centralized Java-based web browser management console Advanced virtualiza>on management including Dynamic Resource Scheduling (DRS), HA, Dynamic Power Management (DPM) and more Oracle VM Server Installs on bare-metal servers in about a minute Supports all major x86 guest opera>ng systems: Solaris x86 Oracle Linux both paravirtualized and hardware virtualized guests Microsoh Windows includes Oracle VM Tools (Op>mized Drivers) 5
Oracle VM Manager VM Manager VM Manager GUI OVM Core API WebLogic Applica7on Server MySQL Database User Interface Management Engine Applica7on Server Persistent Object Storage VM Manager Applica7on Deployed on a standalone Oracle Linux host Can be deployed standalone or as a VM itself (once bootstrapped) Built as a standard N->er applica>on U>lizes proven Oracle technologies for highavailability, backup, and disaster recovery 6
Oracle VM Manager Architecture VM Manager VM Manager GUI OVM Core API WebLogic Applica7on Server User Interface Management Engine Applica7on Server AJAX-based web interface Designed using Oracle ADF Usable from any planorm (Windows, Linux, Solaris, Mac) All calls run through CORE MySQL Database Persistent Object Storage 7
Oracle VM Manager Architecture VM Manager VM Manager GUI OVM Core API WebLogic Applica7on Server User Interface Management Engine Applica7on Server Installed with VM Manager UI Common point of communica>on for all Oracle VM interfaces Provides CORE for use with VM Manager Web UI, Enterprise Manager 12c, REST API, SOAP API, OVM CLI MySQL Database Persistent Object Storage 8
Oracle VM Manager Architecture VM Manager VM Manager GUI OVM Core API WebLogic Applica7on Server User Interface Management Engine Applica7on Server Weblogic Bundled with Oracle VM and Installed Automa>cally Allows integra>on with LDAP/AD or stand-alone users MySQL Database Persistent Object Storage 9
Oracle VM Manager Architecture VM Manager VM Manager GUI OVM Core API User Interface Management Engine MySQL Embedded Database MySQL EE licenses included Same-server or standalone installa>on op>ons WebLogic Applica7on Server Applica7on Server MySQL Database Persistent Object Storage 10
Oracle VM Server Xen Hypervisor Server Bare-metal hypervisor Approximately 400MB on-disk size Supports boot from local disk, network, and SAN Management Agent Hardware Configura7on Management Console VM Server Oracle VM Agent Storage Connect Linux Dom0 Networking Hypervisor Xen 4.x 11
Oracle VM Server Architecture VM Server Private API connec>on to VM Manager U>lizes dedicated management network Maintains local copy of all configura>on Management Agent Hardware Configura7on Storage Connect Oracle VM Agent Networking Management Console Linux Dom0 Hypervisor Xen 4.x 12
Oracle VM Server Architecture VM Server Hardware configura>on from VM Manager via the agent Network crea>on, configura>on, and assignment Storage Connect plugins allow direct virtualiza>on management of storage Generic plugins allow standard storage management Management Agent Hardware Configura7on Management Console Hypervisor Oracle VM Agent Storage Connect Linux Dom0 Xen 4.x Networking 13
Oracle VM Server Architecture VM Server Based on Oracle Linux Small on-disk footprint Direct logins discouraged SDK available to partners for driver and Storage Connect plugin development Management Agent Hardware Configura7on Storage Connect Oracle VM Agent Networking Management Console Linux Dom0 Hypervisor Xen 4.x 14
Oracle VM Server Architecture VM Server Open-source Xen Hypervisor Developed in-house (not a Citrix clone) Xen 4.1 (3.1-3.2) Xen 4.3 (3.3) Dom0 based on Oracle Linux with UEK and na>ve Xen Linux support Key Oracle contribu>ons and configura>on Management Agent Hardware Configura7on Management Console Storage Connect Oracle VM Agent Linux Dom0 Networking Hypervisor Xen 4.x 15
Oracle VM Pools and Repositories VM Manager Server Cluster: Boot from disk SAN, or Net HA domain Repositories: SAN (dedicated) or NAS (shared) Storage of VMs, Templates, and ISO images Pool Repository Pool Storage: PoolFS SAN or NAS Stores a copy of pool policy data 12-15GB 16
Oracle VM Network and Storage Control VM Manager Network Management Segregated networks for Guest VM, Storage, Management, Live Migra>on, HA Heartbeats Bridging and bonding VLANs Storage Management Supports Oracle and 3 rd party storage Op>onal delega>on of storage ac>ons to virtualiza>on admins Exposed, operated from the Manager UI Advanced storage func>onality including more than just provisioning 17
Deploying Oracle VM Market Drivers 18
Oracle VM Networks OVM Server Guest VM Guest VM Guest VM OVM Server Guest VM Logical Network Virtual NICs in Guest VMs Ties to physical network on the fly Will be changed after migration Sun Storage Shared Storage Partner Storage Physical Network Physical Network Ports in OVM Servers Physically Wired Connects all physical hardware Network Components Switches, Firewalls OVM servers OVM manager Storage Devices 19
Example Network Setup Fibre Channel HBA eth0 NFS eth1 HBA eth0 eth1 iscsi eth0 eth0 eth1 eth1 eth2 eth2 Server Pool 1 eth3 eth3 eth0 eth0 eth1 eth1 eth2 eth2 eth3 eth3 Server Pool 2 eth0 eth0 eth1 eth1 eth2 eth2 HBA HBA External Network Oracle VM Manager Management Virtual Machine Heartbeat / migrate Ethernet storage Fibre Channel
Storage Repositories Provides storage for: Virtual machine shared/non-shared disks Templates ISOs Virtual Assemblies Shared by one or more server pools Dependent on storage type file server repositories can be shared across storage pools 21
Oracle VM Opera>ons 22
Oracle VM: Architecture Overview Oracle VM Manager Browser UI Manage mul>ple server pools Create, configure, clone, share, boot, migrate VMs Convert other virtual machine formats Oracle VM Servers Networks Separate Guest HA Live Migra>on Storage Management Server pools HA groups Resource groups Live Migra>on groups Shared Storage NFS, Fibre Channel, iscsi Support heterogeneous configura>ons Share storage between mul>ple pools and clusters. Ability to share raw device between VMs Shared Storage Sun Storage Partner Storage Virtual Machines Oracle Solaris Oracle Linux / Red Hat CentOS / SuSe Microsoh Windows
Oracle VM Manager 24
Oracle VM Server 25
The Oracle Virtualiza>on Vision: Faster, Easier Deployment App Store Automa7on Consumer Devices VM VM Enterprise Sohware Delivery Cloud VM VM VM VM Deployment Policies Configura7on Metadata Virtual Network Config Automa7on Datacenter Future direc*on subject to change without prior no*ce. 26
Applica>on-Driven vs. Tradi>onal Virtualiza>on Top Down vs. Bo[om Up Tradi7onal Virtualiza7on No unified management disparate tools and views need coordina>on Several vendors to manage leads to finger poin>ng and the blame game Integra>on is up to the user constant comparisons of HCLs and version compa>bility tests Solaris Business Applica>ons Middleware Database Linux Windows Hypervisor X86 Hardware Management Mgmt. Mgmt. Mgmt. Mgmt. 27
Applica>on-Driven vs. Tradi>onal Virtualiza>on Top Down vs. Bo[om Up Business Applica>ons Applica7on-Driven Virtualiza7on Solaris Middleware Database Linux Hypervisor Windows Management Unified management tools and single-pane-of-glass views Reduced vendor footprint for lower management requirements Integrated and ready-to-use x86 Hardware 28
Oracle VM Templates Pre-installed/configured virtual machines Opera>ng system (most are PVM) Virtual Disk(s) Applica>ons Setup script hnp://edelivery.oracle.com/linux (Login required) Dras>cally reduces produc>on implementa>on cycle 29
edelivery Template Site 30
Impor>ng Oracle VM Templates Templates on edelivery are delivered as.zip files Oracle VM Manager can import:.zip.tgz.img,.vm.cfg Import mul>ple files as separate URLs 31
Crea>ng a Virtual Machine Methods Template Create your own Download from Oracle Obtain from an ISV, etc. Clone an exis>ng machine ISO ANached to a VM (HVM) NFS or HTTP (HVM/PVM) 32
Virtual Machine QoS Processor Cap % Increase/decrease when a VM receives scheduled >me Defaults to 100% Priority The CPU priority of the VM Defaults to 50% Stored in the VM s vm.cfg file Hypervisor uses these parameters to ensure scheduling 33
Deploy Faster with Oracle VM Templates Rapid Applica7on Deployments VM VM Sohware Delivery Cloud Download from Oracle Pre-built, pre-configured VM Complete Single Instance OR Clusterware, ASM, RAC installa>on (11gR2 or 12c) Enterprise Manager DBControl or DBExpress in 12c VM VM VM VM Deployment Policies Configura7on Metadata Virtual Network Config Automa7on Datacenter Deploy in Oracle VM Download in Oracle VM Run Manager and Customize or Oracle Enterprise Manager Run in your environment in minutes Deploy in Oracle VM Pool Customize templates into Golden Masters 100% reproducible environments 34
Q&A Copyright 2014 Oracle and/or its affiliates. All rights reserved. 35