Professional Documents
Culture Documents
1202 02 02 Chen VirtualizationTechnology
1202 02 02 Chen VirtualizationTechnology
1202 02 02 Chen VirtualizationTechnology
Agenda
Virtualization Overview Types of Virtualization Using Virtualization for Network Architecture Design Using Virtualization for Service Development
Virtualization Overview
Partitioning
Run multiple OS on one physical machine Lowers operational costs, fewer servers to manage Maintain flexibility of choice in OS and software, Supports legacy and new apps Fully utilize server resources Support HA as shared data is cluster-ready for failover and redundancy
Isolation
Isolate faults and security at the hardware level Dynamically control CPU, memory, disk and network resources per virtual machine Guarantee service levels
Encapsulation
Encapsulate the entire state of the virtual machine in hardwareindependent files Save the virtual machine state as a snapshot in time Re-use or transfer whole virtual machines with a simple file copy Speeds deployment
Virtualization Overview
Benefits of virtualization
Server Consolidation
Increase server utilization and Reduce capital, hardware management, power, space, heat costs
Instant Provisioning
Easily create new virtual machines and reallocate resources (memory, processor, IO) between running virtual machines
Business Continuity (Backup and Redundancy) Test, Development, Demonstrations and Training Enterprise Desktop Management Legacy OS support and Legacy App Migration
Virtualization tradeoffs
There is a performance tradeoff
Applications that used to own the whole processor must now share it Hypervisor adds some runtime overhead too Full virtualization without hardware support means software emulation
Types of Virtualization
Different scope of virtualization
Desktop Virtualization (MS-VDI, MS-RDS, VMware VDI) Server Virtualization (VMware, MS Hyper V, Xen) Network Virtualization (VLAN, VRF, vNIC, VN-link/VNtag) Embedded Virtualization (Embedded Xen on ARM platforms) Storage Virtualization
Types of Virtualization
Emulation/Hardware Emulation
The virtual machine simulates the complete hardware.
Allowing an unmodified "guest" OS for a completely different CPU to be run. Examples include PPC version of Virtual PC, QEMU, Dynamips.
App Guest OS App Guest OS App Guest OS Hardware VM2
Full/Native Virtualization
the virtual machine simulates enough hardware to allow an unmodified "guest" OS (one designed for the same CPU) to be run in isolation. Typically, many instances can be run at once. Examples include VirtualBox, VMware, Microsoft Hyper-V.
App Guest OS App Guest OS Mgmt
Types of Virtualization
Para Virtualization
VM does not simulate hardware
Use special API that a modified guest OS must use Examples include VMware ESX Server, Xen.
App Modified Guest OS App Modified Guest OS Mgmt
OS-Level Virtualization
OS allows multiple secure virtual servers to be run Guest OS is the same as the host OS, but appears isolated, apps see an isolated OS Examples are Linux-VServer, OpenVZ, Solaris Containers, and FreeBSD Jails.
Virtual Private Server Virtual Private Server Virtual Private Server
Types of Virtualization
Application-Level Virtualization
Application is gives its own copy of components that are not shared (E.g., own registry files, global objects) This virtual environment acts as a layer between the application and the operating system. Eliminates application conflicts and application-OS conflicts. Examples include the Sun Java Virtual Machine.
AP-1 VM-1 AP-2 VM-2 AP-3 VM-3
IOS
Dynamips
IOS
Pemu
IOS
JUNOS
VMware
Windows XP (regedit)
C:\Program Files\Dynamips>dynamips e C:\getmac (winxp pro) f0/0 = NIO_gen_eth:\Device\NPF_{DE476606-C18A-44F0-A661-761CA5BAA700}
Intel Architecture
Linux (ifconfig )
f0/0 = NIO_linux_eth:eth0
Freebsd (ifconfig )
f0/0 = NIO_gen_eth:em0
10
11
LAN segments
Bandwidth Packet Loss
12
VMnet3
VMnet4 R2 VMnet5 VMnet6 VMnet7
Eth1
Eth Guest 2 Cisco IDS Eth1 Eth Guest 3 Linux
R1
VMnet9
13
Virtualization Scenarios
Solution Case Study for Training Prove Of Concept testing IPv6 environment speeds deployment Honeypots and Honeynet for security study
Service Development
Client Desktop Simulator
Windows 98 (Hyper-V, VMware) Windows 2000 (Hyper-V, VMware) Windows XP (Hyper-V, VMware) Windows XP sp2 (Hyper-V, VMware) Windows 7 (Hyper-V, VMware) Mac OS X 10.6 Snow Leopard (VMware)
14
Service Development
App Development Environment Trend
SDK + tools chain (compiler + debugger)
IDE (Editor + SDK + tools chain) IDE (Editor+ SDK + tools chain + emulator)
Eclipse + Android SDK + Phone Emulator (Qemu)
15
16
Service Development
Virtualization for Testing
Simplified Administration and Quick Deployment Portability (Moving / Copying VMs)
For troubleshooting and recreating defects Load-balancing
17
It can work in a client / server mode, with Dynagen running on your workstation communicating with Dynamips running on a back-end server.
Nvram Nvram Disk3 Nvram Disk2 Nvram Disk1 Disk0 Bootflash Bootflash Ghost(4) Ghost(3) Bootflash Bootflash Ghost(2) Ghost(1)
Sample2.net
Dynamips Server
Sample4.net
18
Dynamips Server Dynamips Server Dynamips Server Dynamips Server Dynamips Server
Disk0
Dynagen
Disk3
Nvram Disk4
Ghost(4)
Bootflash Ghost(5)
Sample1.net
19
Thanks