Types of Virtualization Technology
Types of Virtualization Technology
They support only one operating system as base and guest OS in a single
server. You have to choose a single OS such as either Windows and Linux.
All the OS in the container should be same version and should have same
patch level of the base OS. If the base OS crash, all the virtual container
become unavailable.
Advantages of OS virtualization
Application
They are great for isolating applications, web hosting and training. Popular
OS virtualized products are OpenVZ and Virtuozzo.
Hardware emulator
In hardware emulation, a specialized software, which is also known as
hypervisor, creates hardware emulation for OS in a single server. They can
host different types of OS in a single server. The OS loaded into each virtual
machine works as a standalone and unmodified OS. When a VM (virtual
machine) is running, the hypervisor make changes to the part of the OS that
make system calls. Hypervisor changes the OS by entering a piece of code
—which is known as binary translation- to the OS when it is running. Binary
translation takes place in four parts of the OS ( memory, processor, network,
storage) that interact with the hardware.
Advantage
You do not have to modify the OS and applications to run on the virtual
environment.
Types of hypervisor
The two classes of hypervisor are: type 1 and type 2. Type 1 hypervisor is
also known as bare-metal implementation because they sit directly on the top
of hardware, without needing any operating system. Since they can directly
communicate with hardware resources, they are much faster than type 2
hypervisor.
Advantage of type 1: if a single virtual machine crash, it does not affect the
rest of the guest operation system. Therefore, they are considered more
secure than type 2. Since they generate less overhead, type 1 hypervisor is
much faster than its counterpart.
Advantage of type 2: in type 2 hypervisor, the OS takes care of all the
hardware. That is why a type 2 hypervisor can support a wide range of
hardware. Besides, installing a type 2 is much easier than that of type 1.
Disadvantage of type 2: they have more points of failure since anything that
affect the stability of the base operating system can also affect the guest OS
and the virtual machine. When the base OS needs a reboot, all the VM will
also be rebooted.
Paravirtualization
Unlike hardware emulation, paravirtualization does not emulate hardware
environment in software, instead it coordinates or multiplexes access to
hardware resources in favor of virtual machine.
Operating system It creates an abstracted view of the OS including root OpenVZ, Virtuozzo,
virtualization file system, process table etc. They are suitable for Sun Solaris
version is necessary.
server
paravirtualization It multiplexes the access to hardware resources, offers Xen( open source)
emulation
Application of virtualization