Виртуализация приложений: какой из вариантов виртуализации подходит именно вам Филипп Торчинский Sun Microsystems 1 1
Oracle + Sun Complete, Integrated Systems Customer Benefits: Standards-based Innovation delivered faster Better performance, reliability, security Shorter deployment times Easier to manage and upgrade Lower cost of ownership Reduced change management risk One-stop support Reduced down time 2
3
Agenda Virtualization Technologies Hard Partitions, Resource Management Virtual Machines - Type-1: Oracle VM Server (SPARC, former LDOMs), Oracle VM server (x86, dom0 is Linux) - Type-2: VirtualBox OS Virtualization Selecting a Virtualization Approach Demonstration 4
Industry s Most Complete Virtualization Portfolio SERVER VIRTUALIZATION DESKTOP VIRTUALIZATION STORAGE VIRTUALIZATION Exadata ASM Storage Connect Oracle VM Logical Domains Solaris Containers Dynamic Domains Virtual Desktop Infrastructure Sun Ray Secure Global Desktop VirtualBox Open Storage 5
Solaris Server Virtualization Complete Portfolio Meets Broad Enterprise Demands Oracle Solaris Containers Available for all Solaris x86/x64, SPARC CMT, M-Series Native, bare metal performance High SMP scalability Consolidate older Solaris versions Dynamic Domains Available for M-Series Highest isolation dedicated hardware Bare metal level performance & high SMP scalability No software single point of failure Run multiple OS versions on the same system Committed to continued development and support 6
Oracle VM Server Virtualization Platform Choice & Flexibility Solaris Oracle VM Server for SPARC SPARC (CMT) Hardware Evolution of Solaris Logical Domains; Integration with Oracle VM family Highly efficient hypervisor for Sun Chip Multithreading (CMT) servers Multiple, independent Solaris OS instances Solaris Linux Windows Oracle VM Server for x86 x86/x64 Hardware High performance hypervisor for x86/x64 architecture Supported guests: Linux, Windows, Solaris (new) Roadmap: uniform, integrated virtualization management across SPARC CMT and x86/x64 through Oracle VM Manager 7
Oracle VM VM Infrastructure Oracle VM Server Oracle VM Server SPARC x86 8
Oracle VM Servers Making Software Easier to Deploy, Manage, and Support 9
Grid Virtualization Platform: Oracle VM Server Virtualization and Management For both Oracle and non-oracle applications Oracle VM Server for x86/x64 Oracle VM for SPARC Oracle VM Manager Oracle Enterprise Manager Grid Control The only server virtualization software supported and certified with Oracle products Free license High performance Enterprise-quality support Faster application deployment Integrated full-stack management 10
Grid Virtualization Platform: Oracle VM Server Virtualization and Management Oracle VM Manager & Enterprise Manager Manage hundreds- or thousands of servers Central Java management server Web browser-based management console Advanced virtualization management including Live Migration, HA / auto-restart, loadbalancing Oracle VM Server Installs on bare-metal servers in about a minute Guest operating systems: Coming! Solaris on x86 Enterprise Linux Support for paravirtualized- and hardwarevirtualized kernels & drivers Microsoft Windows Incl. With Oracle VM Tools (PV drivers) 11
Faster Application Deployment Oracle VM Templates & Validated Configurations 12
Deploying to the Grid Oracle VM Templates Save Time Ready-to-run virtual machines containing enterprise software Implementation time for using Oracle VM Templates Required only 1/6 of the usual time required for set up a major reduction in man hours*. Using normal physical environment Using Oracle Enterprise Manager Template 1400 1400 1200 1200 1000 1000 confirm operation initial setup 800 apply patch install software confirm environ. 600 install OS 800 600 400 400 200 200 0 0 Time(m) 83% Faster Deployment! confirm operation initial setup apply prepare download Time(m) * Source: K.K. Ashisuto, an IBM Japan, Ltd. Solution partne 13
Oracle VM Templates Rapid Application Deployment E-Delivery Download from Oracle Pre-built, pre-configured VM Complete app, middleware, DB installation Complete Siebel CRM, Database 11g, Enterprise Manager Save days or weeks in installation and configuration time Siebel CRM Siebel CRM VM 1 VM 2 Customize & Save as Golden Images VM VM VM Oracle VM Server Pool Siebel CRM File Start-Up in Oracle VM Pool Import to Oracle VM Manager Oracle VM Servers NAS, SAN, iscsi VM 14
Testing: Oracle Validated Configurations Pre-tested, validated, and supported Linux architectures on Oracle VM Software, hardware, storage, drivers, networking components Best practices for Linux deployment on Oracle VM Real-world testing of complete stack Many configurations published, freely available for download Oracle DB, Oracle AS Linux OS Oracle VM & Server Hardware Storage oracle.com/technology/tech/linux Oracle Validated Configurations offer faster deployments while lowering infrastructure costs 15
Virtual Desktop Desktop to Datacenter Solutions 16
Oracle Virtual Desktop Infrastructure (VDI) Server Hosted Desktops Virtual Desktop Infrastructure Software VDI style desktops to users on any client device Brokering, management, hosting, and access all-in-one I DV el c ar O Secure Global Desktop Software Presents applications and data residing on nearly any server, any OS to nearly any client device or virtual desktop Highly secure, remote access Sun Ray Thin Clients The highest security endpoint device for a Windows, Linux or Solaris desktop Outstanding mobility with integrated smart card session access 17
Oracle Virtualization End-To-End, Application To Disk Solutions Siebel Contact Center Entire desktop Enterprise applications Industry applications Oracle Sun Ray Thin Client Oracle VDI Software Solaris Linux Windows Sun Storage 7000 Unified Storage Systems Oracle Solaris Sun x86/x64 or SPARC Servers Oracle VM VDI Servers x86/x64 Servers Oracle Virtual Desktop Roadmap: Oracle VM Server support for Oracle VDI 18
Roadmap Oracle VM 19
Oracle VM 2.2 Current Release Oracle VM Server & Manager 2.2 Live VM Migration Dynamic load balancing at power-on HA support: server failure, guest failure, in-guest clusterware Logical resource partitioning Server pools Advanced networking: Internal bridge and VLAN support NIC Teaming/bonding Multipath storage support Active/active & active/passive Host and guest patching on-line via Unbreakable Linux Network Rapid application deployment: Oracle VM Templates: ready-to-run VMs VM lifecycle management VM cloning High performance Latest Xen hypervisor 3.4 OCFS2 for rapid VM provisioning Intel Nehalem /AMD Istanbul support Green Features, and More CPU Power Management Memory Management Enhanced resource management setting CPU capping for VM Importing Virtual Iron VHD images into Oracle VM 20
Oracle VM Roadmap Oracle VM Server for SPARC Integration of Logical Domains in the Oracle VM family Management via Oracle VM Manager Storage Connect advanced storage management 21
Oracle VM VirtualBox Workstation Support for x86/x64 hardware Support for Solaris, Linux, Windows, Mac OS hosts and guests Roadmap: Planned Oracle VM x86/x64 Server and VirtualBox workstation VM interoperability Planned Oracle VM VirtualBox workstations to support running Oracle VM Templates Oracle VM Templates Deploy VM Server User developed VMs Develop Evaluate Test 22
Oracle Solaris Containers 23
Solaris Zones (aka Containers) Resource and namespace isolation Calendar Server Web Server Database Solaris 10 Container Solaris 10 Container Application Very scalable Single OS eliminates redundant administration Solaris 10 Global OS Solaris 10 Kernel Server Hardware independent 24
Solaris Zones Overview Virtualize OS services to emulate an OS instance Isolates applications from each other Improve security by intrusion-isolation Boot and bring down zones independent of the OS instance Compatible with existing applications Builds upon existing resource management 25
Solaris Zones Single Application Consolidation 60 25 10 4 CPU Pool (FSS) Mail Server mail zone web2 zone 5 dns1 zone web1 zone Web DNS Server 2 Server Global Zone Web Server 1 Application OS 4 CPU Pool OpenSolaris Kernel Server 26
Solaris Zones Global Zone Test & Development Systems Web Service Version 2.0 Web Service Version 2.5 Web Service Version 3.0 Apache 1.3 IAS 4 Oracle 8i Apache 1.3 IAS 4 Oracle 9i Apache 2.0 GlassFish Oracle 10g Application OS app_ver2.0 zone app_ver2.5 zone app_ver3.0 zone OpenSolaris Kernel Server 27
Branded Zones Extension of the Zones infrastructure Allows creation of non-native zones Makes a zone look like some other system than the global zone Only supports user-land environments Still bound by constraints for running in a zone Each distinct zone type is called a Brand tx - Solaris Trusted Extensions s8 Solaris 8 Migration Assistant lx Solaris Containers for Linux Applications 28
Solaris Containers Security Reduce risk by isolating applications in separate containers - yet administer centrally Zones provide file, network, process, and resource isolation App Server Web Server DB Server Administer from a single Global Zone Application OS Server 29
Solaris 8 Migration Assistant (Etude) Physical to Virtual (P2V) Database Application Solaris 8 Application Database Application Solaris 10 Global Solaris 8 Container Solaris 10 Container OS BrandZ ZFS FMA DTrace Solaris 10 Kernel Server T2000/T5000 Mx000 Using Containers to help customers migrate to Solaris 10 30
Solaris 8 Migration Assistant Project Etude Many data centers have a long tail Many small, old systems that are necessary Difficult to migrate - running unsupported apps and hardware Migration to a new system not feasible Ideal candidates for consolidation on new hardware Solaris 8: largest platform for old Sun gear Solution to deal with the Solaris 8 tail Upgrade hardware and OS, run apps in the legacy S8 Eventually upgrade or replace apps on their own schedule 31
Solaris 8 Migration Assistant (cont.) Project Etude Etude Solaris 8 brand Solaris 8 environment in a Solaris 10 container Running inside a zone, so doesn't apply to all apps Targeted to old, unsupported apps (no ISV recertification) Allows consolidation of old apps on new hardware Not designed to solve all migration scenarios P2V tool Convert running system to an Etude zone 32
Solaris Containers for Linux Apps Enables Linux binary apps to run unchanged First supported non-native brand lx Support for Red Hat Enterprise Linux 3, CentOS Requires all of the files for the distribution/zone Sun provides no binaries or distribution No change to OS to run in branded zone Creates a zone for Linux app execution Zone has only Linux software, Linux init & scripts DTrace a Linux app: Linux PID and syscall providers DTrace runs in global zone 33
Agenda Virtualization Technologies Hard Partitions, Resource Management Virtual Machines - Type-1: Oracle VM Server (SPARC, former LDOMs), Oracle VM server (x86, dom0 is Linux) - Type-2: VirtualBox OS Virtualization Selecting a Virtualization Approach Demonstration 34
Selecting a Virtualization Approach OS Virtualization sweet spot is Uniform OS requirements (Solaris) Security and minimized environments Low overhead high performance Virtual Machine sweet spot is Different OS versions or even types on the same box Live Migration Independent patch schedules on the same system 35
Selecting a Virtualization Approach Decide what requirements are most critical Mix and match technologies to meet goals Customer Requirement Windows apps Linux apps Solaris 8 apps Hardware fault isolation Separate OS instances desired Single OS Most efficient administration Fine-grained resource management Fine-grained security control SPARC N/A N/A Containers Dynamic System Domains LDoms / Domains Containers Containers Containers x86 Oracle VM / VirtualBox Containers N/A N/A Oracle VM / VirtualBox Containers Containers Containers 36
Agenda Virtualization Technologies Hard Partitions, Resource Management Virtual Machines - Type-1: Oracle VM Server (SPARC, former LDOMs), Oracle VM server (x86, dom0 is Linux) - Type-2: VirtualBox OS Virtualization Selecting a Virtualization Approach Demonstration 37
38
Resources http://opensolaris.org http://sun.com/bigadmin SysAdmin Portal Zones, SMF, HCL, How-Tos, etc. http://developers.sun.com Communities, user groups, blogs D ow nl vi oad r tu al Vir b o tu x. alb or o g x! Solaris Developer Network http://docs.sun.com E.g., What's New in Solaris 10 39
Oracle Virtualization http://www.oracle.com/virtualization http://www.oracle.com/oraclevm http://www.oracle.com/sun Oracle VM OTN Forum Oracle Virtualization Blog, more 40
Thank you. Questions? 41