Intro Comparing and Contrasting Virtualization Technologies
Total Page:16
File Type:pdf, Size:1020Kb
Intro Comparing and Contrasting Virtualization Technologies 9304 Do you knowAbstract the differences Part 1 between Xen and VMware? Abstract Part Two Do you know when it is more advantageous to use one over the other? Abstract Part Three Virtualization can be a complicated subject with many different facets. It is not always easy to choose the strategy that best fits your needs. I am here to help [email protected] Worldwide Design Centers Poughkeepsie, NY Montpellier, France [email protected] [email protected] Makuhari, Japan Boeblingen, Germany 6 [email protected] [email protected] Worldwide Design Centers Our mission – To architect & design innovative end to end solutions with selected worldwide clients that leverage leading-edge IBM technologies to accelerate their IT transformation . Analysis Define and analyze various solution options that meet existing and future requirements . Assessment Review and validate a planned solution, strategy, IT transformation, or architecture, and provide recommendations and roadmaps . Design Define an architecture and high level design for an IT infrastructure to meet business requirements 7 There is no There is no free free lunch lunch Types of Virtualization Hardware Virtualization Partitioned Partitioned OS OS Partition Controller Application Application Physical Machine OS FullHardware Virtualization OS OS Application Application Application Fully Virtualized Hypervisor Physical Machine ModifiedPara Virtualization Modified Modified OS OS OS Application Application Application Para Virtualized Hypervisor Physical Machine Application Application Container Container Application Application Application Application Operating System Physical Machine Application Virtualization Machine Machine Machine Network Machine Machine Machine Network Virtualization Storage Virtualization Machine Machine Machine Storage Network Network Address Translation Machine Machine Machine Router The Internet VLAN Trunking/Tagging VLAN 1 VLAN 2 VLAN 3 Switch 1 Backbone Switch 2 VLAN 1 VLAN 2 VLAN 3 Virtual Private Network Machine Machine Machine V The Internet P N Machine Machine Machine Storage External Terabytes Worldwide 14000 12000 10000 8000 6000 4000 2000 0 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 Logical Volume Management VG LV (/root) LV (/) LV (/usr) PE PE PE PE PE PE PE PE PV PV hdisk hdisk NPIV VM VM VM VM WWPN WWPN WWPN WWPN SAN Fabric SAN Volume Controller Machine Machine Machine SAN Volume Controller DS4500 EMC DS800 Virtual Machines In 1974, GeraldPopek Popek and and Goldberg Robert Goldberg released an article titled “Formal Requirements for Virtualizable Third Generation Architectures” Equivalence Resource Control Efficiency Requirements ● Privileged instructions ● Control sensitive instructions ● Behavior sensitive instructions Hypervisors Trap and Emulate VM runs in user mode Virtual All privileged instructions cause traps Machine Load Add Store PrivOp Load Trap Hypervisor emulation code … Translate, Trap and Emulate VM runs in user mode Virtual Some IA-32 Instructions must be replaced with trap ops Machine Load Add Store TrapOp Hypervisor PrivOP emulation Load Trap … code Paravirtualization VM runs in normal mode Virtual OS in VM call hypervisor to access real resources Machine Load Add Store Hcall Load Call Hypervisor service … Direct Hardware Virtualization VM runs in normal mode Virtual Hardware provides the virtualization Hypervisor provides control Machine Load Add Store PrivOp Hypervisor Hypervisor Load Exit … service calls System x Virtualizing IA-32 • The IA-32 was not designed to be virtualized • Many protected instructions are not required to be executed in protected mode • There are a great deal of devices which must be supported VMware VMware Virtualization • CPU: Direct Execution w/ Binary Translation • MEM: Shadow Table w/ Ballooning Driver • I/O: Hosted Architecture or Limited Support VMware Architecture OS OS OS Application Application Application Trap VMM VMM VMM VMware Kernel Service Scheduler Memory Mgmt SCSI Ethernet Console CPUCPU MemoryMemory DiskDisk NetworkNetwork IA-32 CPUCPU MemoryMemory DiskDisk NetworkNetwork Hardware VMware Device Driver Model OS OS OS Virtual Virtual Virtual Device Device Device VMware Kernel Service Real Device Driver Console IA-32 Real Device Hardware Xen Xen Architecture OS OS OS Application Application Application Mod Mod Trap Call Call Xen Intel VT Hyper call AMD V CPUCPU MemoryMemory DiskDisk NetworkNetwork IA-32 CPUCPU MemoryMemory DiskDisk NetworkNetwork Hardware Xen Device Driver Model Dom 0 Dom U Real Front End Back End Driver Driver Driver XenBus Xen IA-32 Real Device Hardware KVM KVM Architecture OS OS Process Application Application QEMU I/O QEMU I/O Process Trap Trap KVM Driver Linux Kernel CPUCPU MemoryMemory DiskDisk NetworkNetwork IA-32 CPUCPU MemoryMemory DiskDisk NetworkNetwork Hardware KVM Device Driver Model Admin OS OS OS Real Virtual Virtual Driver Driver Driver KVM IA-32 Real Device Hardware Hyper V Hyper V Root OS Child OS Child OS Device Driver Device Driver Linux VSC VS Provider VS Client Hypercall Adapter Hyper V Hypervisor Physical Machine Hyper V Device Driver Root OS Child Os Real VSP VSC Driver VMBus Hyper V Device driver IA-32 Real Device Hardware System p PowerVM Power VM LPAR LPAR HypervisorLPAR AIX AIX Linux Power VM Hypervisor Physical Machine Power VM Micro LPAR LPAR LPAR LPAR partitioningLPAR LPAR AIX AIX Linux Linux AIX AIX 1CPU 2 CPU 2 CPU 3 CPU pool Power VM Hypervisor Physical Machine with 8 CPUs Power VM Virtual CPUs Pool of RealMicro CPUs partitioning LPAR VIOSLPAR LPAR VIOS AIX Linux Resource Resource Resource Resource Power VM Hypervisor Resource Resource Physical Machine Live Partition LAN Mobility Server 1 Server 2 LPAR VIOS VIOS LPAR Power VM Power VM SAN AIX AIX WPAR 1 WPAR 3 WPAR 4 WPAR 5 WPAR 2 WPAR Migration One AIX AIX WPAR 1 WPAR 3 WPAR 4 WPAR 5 WPAR 2 WPAR Migration Two AIX AIX WPAR 1 WPAR 4 WPAR 5 WPAR 2 WPAR 3 WPAR Migration Three AIX AIX WPAR 1 WPAR 4 WPAR 5 WPAR 2 WPAR 3 WPAR Migration Three System z Virtualizing System/360 System z VM LPAR LPAR LPARHypervisor z/VM Linux z/OS z/OS z/VSE z/VM Linux Linux z/TPF PR/SM Physical Machine Chip Design Affects Virtualization Cache Workload Speed Workload Workload Speed Cache Workload Workload Workload Design Differences Core Core Core Core Bus Core Core Core Core Core Core Core Core Bus Core Core Core Core Comparison of 64-way Machines Other System z System Assist Processors Application Processors Cross check processors Spares Application Processors DCSS and XIP LPAR z/VM Linux Linux Linux /xipfs /xipfs /xipfs Shared Segement HiperSockets LPAR LPAR z/VM Linux Linux z/OS Linux HiperSockets HiperSockets PR/SM Physical Machine VSwitch LPAR z/VM VM Linux Linux Controller VSwitch Port Port Multiplexer Port Port Port Port Port OSA OSA OSA OSA OSA NPIV LPAR LPAR LPAR z/VM Linux z/OS z/OS Linux WWPN WWPN WWPN WWPN SAN Fabric Other Types of Virtualization Emulation 3270 ScummVM Script Creation Utility for Maniac Mansion Wii Wine Chroot (jail) Grid If computers of the kind I have advocated become the computers of the future, then computing may someday be organized as a public utility just as the telephone system is a public utility... The computer utility could become the basis of a new and important industry. —John McCarthy, MIT Centennial in 1961 Cloud Logical Blocks of Cloud Computing Software as a Service (SAAS) Platform as a Service (PAAS) Infrastructure as a Service (PAAS) How do I choose? What are the pain points Cost Complexity Power Cooling People Maintenance Know your workload NewNew Problems Problems Utilization 120.00% 100.00% 80.00% 60.00% 40.00% 20.00% 0.00% Servers Storage Staff Network Management Challenges 300 250 cal ysi Ph l nd sica l a Phy 200 tua Vir 150 100 50 0 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 Agent Proliferation Where is my data ? Accountability Security Image Management Where to start ? Go for the low hanging fruit Development Test Quality Assurance Production The End Intro Comparing and Contrasting Virtualization Technologies 9304 Do you knowAbstract the differences Part 1 between Xen and VMware? Xen and Vmware are too of the main virtualization products available for the Intel space. But the end of this presentation, one should be able to understand some of the architectural differences between the platforms. Abstract Part Two Do you know when it is more advantageous to use one over the other? No company uses a single hardware platform. Therefore, there may be times when a company would want to use more than one hardware virtualizatoin technology. This presentation should help understand which platform provided the most advantage for a given application or workload. Abstract Part Three Virtualization can be a complicated subject with many different facets. It is not always easy to choose the strategy that best fits your needs. Making a choice is hard when you don't have the knowledge to make an informed decision. This pretension should help frame the question such that one can become better suited to make that decision. I am here to help [email protected] This is me. I am here to help. I include this chart so that people can have my email. The reason I created this presentation is based on the past few years working with customers. Helping them understand that there is a lot of virtualization out there. Although I might look young, I have been in the IT field for almost 15 years. Virtualization has been a core technology for me for most of it. Worldwide Design Centers Poughkeepsie, NY Montpellier, France [email protected] [email protected] Makuhari, Japan Boeblingen, Germany 6 [email protected] [email protected] The different places where I work. This slide is to show that the Design Center has a world wide presence, and that we can help customers in almost all geographies. Because we have such a wide reach, we have have insight into a wide variety of customer profiles.