Introduction To Virtualization
Introduction To Virtualization
Computing
Content
• Introduction to Virtualization
• Why Virtualization
• Role of Virtualization in Cloud Computing
• Benefits of Virtualization
• Advantages and Disadvantages of Virtualization.
• VMM- Virtual Machine Monitor (Hypervisor)
• Types of Virtualization
• Full and Para Virtualization
• Server/Hardware Virtualization
• Network Virtualization
• Storage Virtualization
• Hardware Support for Virtualization.
• Case Study: Xen, KVM, HyperV and VMWare
Virtualization
Defenition : Virtualization is a framework or methodology of dividing the resources of a computer into multiple
execution environments, by applying one or more concepts or technologies such as hardware and software
partitioning, timesharing, partial or complete machine simulation, emulation, and quality of service.
OR
Virtualization is the enabling technology and creates virtual machines that allows a single machine to act
as if it were many machines.
Virtualization hides the physical characteristics of computing resources from their users, be they applications,
or end users. This includes making a single physical resource (such as a server, an operating system, an
application, or storage device) appear to function as multiple virtual resources; it can also include making
multiple physical resources (such as storage devices or servers) appear as a single virtual resource.
Why Virtualization
• Consolidate the workloads of several under-utilized servers to fewer machines, perhaps a single machine.
• Provides emulation of hardware, or hardware configuration that you do not have (such as multiple processors).
• Virtual machines can be used to run multiple operating systems simultaneously. Some such systems may be hard or impossible to
run on newer real hardware.
• Allow for powerful debugging and performance monitoring. Operating systems can be debugged without losing productivity.
• Virtual machines can isolate what they run, so they provide fault and error containment.
• Virtual machines are great tools for research and academic experiments. They encapsulate the entire state of a running system. The
state also provides an abstraction of the workload being run.
• Virtualization can enable existing operating systems to run on shared memory multiprocessors.
• Virtual machines can be used to create arbitrary test scenarios, and can lead to effective quality assurance.
Role of Virtualization in Cloud Computing
• Virtualization plays a major role in cloud computing as it provides virtual storage and computing
services to the cloud clients which is only possible through virtualization.
physical space needed in data centers. Resource Management, Migration, Maintainability, High availability and Fault tolerance are other
benefits
Advantages :
• It optimizes hardware resource utilization
• Saves energy and costs and makes it possible to run multiple applications and various operating systems on the same SERVER at
the same time.
• It increases the utilization, efficiency and flexibility of existing computer hardware.
• Provides ability to manage resources effectively.
• Increases efficiency of IT operations.
• Provides for easier backup and disaster recovery.
• Increases cost savings with reduced hardware expenditure.
Disadvantages of virtualization are almost negligible when compared to the multiple advantages it offers.
• Software licensing costs.
Virtual Machine Monitor
• Virtual Machine Monitor (VMM) is a software program that enables the creation, management and
governance of virtual machines (VM) and manages the operation of a virtualized environment on top of a
physical host machine.
Hypervisor: A hypervisor or virtual machine monitor (VMM) is computer software, firmware or hardware that
creates and runs virtual machines. A computer on which a hypervisor runs one or more virtual machines is
called a host machine, and each virtual machine is called a guest machine.
Examples of this type of hypervisor include VMware Fusion, Oracle Virtual Box, Oracle VM for x86,
Solaris Zones, Parallels and VMware Workstation
Virtual Machine Monitor- Hypervisor
Hypervisor Types:
Fig: Virtualization
Full and ParaVirtualization
The main difference between full virtualization and paravirtualization in Cloud is that full virtualization allows multiple guest operating
system to execute on a host operating system independently while paravirtualization allows multiple guest operating systems to run on
host operating systems while communicating with the hypervisor to improve performance.
Difference Between Full Virtualization and Paravirtualization in Cloud
• Definition
Full virtualization is a common and cost-effective type of virtualization in which computer service requests are separated from the physical
hardware that facilitates them while paravirtualization is an enhancement of virtualization technology in which a guest OS is recompiled
prior to installation inside a virtual machine.
• Functionality
Thus, the main difference between full virtualization and paravirtualization is that full virtualization allows guest operating systems to
execute independently while paravirtualization allows guest operating systems to communicate with the hypervisor.
• Accessing hardware
In full virtualization, guest operating system issues hardware calls to access hardware, whereas, in paravirtualization, guest operating
system directly communicates with the hypervisor using drivers. Hence, this is also a difference between full virtualization and
paravirtualization.
• Performance
Performance is another difference between full virtualization and paravirtualization. Performance is higher in paravirtualization than in full
virtualization.
Server Virtualization
Server virtualization is a partition of physical servers into multiple virtual
servers.
Here, each virtual server is running its own operating system and
applications.
It can be said that server virtualization in cloud computing is the masking of
server resources.
The single physical server is divided into multiple isolated virtual servers, with
the help of software.
We can use server virtualization in IT infrastructure, this can reduce cost by
increasing the utilization of existing servers. Server virtualization generally
benefits from small to medium scale applications.
Benefits:
• Economical
• Quick Deployment and Provisioning
• Disaster Recovery
• Increase Productivity
Network Virtualization
In early 2000 it became obvious that hardware support for virtualization was necessary, and Intel and AMD started work on
the first-generation virtualization extensions of the x86 architecture. In 2005 Intel released two Pentium 4 models supporting VT-
x, and in 2006 AMD announced Pacifica and then several Athlon 64 models.
The challenges to virtualizing Intel architectures and then presents VT-x and VT-i virtualization architectures for x86 and
Itanium architectures, respectively. Software solutions at that time addressed some of the challenges, but hardware solutions
could improve not only performance but also security and, at the same time, simplify the software systems.
• Ring deprivileging.
• Ring aliasing.
• Address space compression.
• Nonfaulting access to privileged state.
• Guest system calls.
• Interrupt virtualization.
• Access to hidden state.
• Ring compression.
• Frequent access to privileged resources increases VMM overhead.
• A major architectural enhancement provided by the VT-x is the support for two modes of operations and a new data structure
called the virtual machine control structure (VMCS), including host-state and guest-state areas
VMX root- Intended for VMM operations and very close to the x86 without VT-x.
(a) The two modes of operation of VT-x, and the two operations to transit from one to another.
(b) The VMCS includes host-state and guest-state areas that control the VM entry and VM exit transitions.
Advantages of Virtualization
1. Reduced Cost
2. Efficient Hardware Utilization
3. Virtualization leads to better resource Utilization and Increase
Performance
4. Testing for software development
5. Increase Availability
6. Save energy
7. Shifting all your Local Infrastructure to Cloud in a day
8. Possibility to Divide Services
9. Running Application not supported by the host
Disadvantages of Virtualization
1. Extra Costs
2. Software Licensing
Assignment : Prepare a CASE Study on following
report every group next meeting:
•Xen
•KVM
•VMWare
•Hyper-V
Thank
you ..!