Virtualization
Virtualization
Hardware
Virtualization
Cloud and
• Virtualization
Virtual Workspaces:
– An abstraction of an execution environment that can be made dynamically available to
authorized clients by using well-defined protocols,
– Resource quota (e.g. CPU, memory share),
– Software configuration (e.g. OS).
• Implement on Virtual Machines (VMs):
– Abstraction of a physical host machine,
– Hypervisor intercepts and emulates instructions from VMs, and allows management of VMs,
– VMWare, Xen, KVM etc. App App App
• Provide infrastructure API: OS OS OS
Hypervisor
– Plug-ins to hardware/support
structures Hardware
Virtualized Stack
Need a virtualization software
VirtualBox
8
Architecture
9
Different types of
Virtualization
Each guest server runs on its own OS -- you can even have
one guest running on Linux and another on Windows.
Full Virtualization (Contd..)
As virtual servers run applications, the hypervisor relays resources
from the physical machine to the appropriate virtual server.
The term unmodified refers to operating system kernels which have not
been altered to run on a hypervisor.
• Pros
• Improved Performance
• Cons
• The downside of para-virtualization is that the guest must
be modified to integrate hypervisor awareness
OS-level Virtualization
• An OS-level virtualization approach doesn't use a hypervisor at all.
• The biggest limitation of this approach is that all the guest servers
must run the same OS.
Under shared kernel virtualization the virtual guest systems each have
their own root file system but share the kernel of the host operating
system.
• Examples
• Vmware ESX
• Citrix XenServer
• Oracle VM Server
Type 2 Hypervisor
• Installed over an operating System and are referred to as Type 2
Hypervisor or hosted Hypervisor.
• Hosted hypervisors are much easier to set up than bare metal
hypervisors because you have an OS to work with.
• These are also compatible with a broad range of hardware.
• Examples
• KVM
• Microsoft Hyper-V (run over Windows Server)
• VirtualBox
• Vmware Workstation
Type 1 Hypervisor vs. Type 2
Hypervisor
According to IBM, Type 1 hypervisors provide higher
performance, availability, and security than Type 2
hypervisors.
Benefits of Virtualization
• Resource Pooling (thus maximum resource utilization)
• Server Consolidation (thus saving energy and cost)
• VM Migration (Refers to moving a server environment from one place
to another)
• Load balancing
• Maintenance
• Failover
• Redundancy
• Isolated machines (Useful for testing operating systems and new
applications)
Load Balancing
• Load Balancing means the ability to spread the load of processing
over a number of separate systems for an overall performance
increase in processing incoming requests.