Unit-1 Part-2
Unit-1 Part-2
Virtualization of CPU, Memory and I/O Devices, Virtual Clusters and Resource Management,
Virtualization for Data Center Automation
The main function of the software layer for virtualization is to virtualize the physical hardware of
a host machine into virtual resources to be used by the VMs.
Instruction set
The hardware on the physical server in cloud computing has its own instruction set
that it will process.
The emulator serves as an interpreter, and the fundamental role of this is to set
communication between the virtualization and hardware layers in cloud computing.
Mapping of the instruction
Instructions that the emulator gets for the resources from the virtual machine can get
mapped to the hardware instruction presented in the host machine.
Therefore, after the processing emulator got the result back from the host machine, it
sent services to the user with the help of the virtual machine.
Hardware-Abstraction level virtualization is available right on top of the bare hardware. On the
one side, this approach produces a virtual hardware environment for a VM.
On the other side, the process controls the underlying hardware through virtualization.
Therefore, the purpose is to virtualize computer resources, such as processors, memory, and I/O
devices. Also, the aim is to upgrade the hardware utilization rate by various users concurrently.
Activity happenings within the Hardware-Abstraction level (HAL):
Hardware resources in the host machine get mapped using a virtualization layer to the virtual
resources present on the guest operating system. Thus, the virtual machine will create for all of
them.
Hence, virtualized computing system holds thousands of resources. All of them need some
directions for processing, which was not an easy task. And due to, this instruction was classified
into two primary forms to make the processing smooth.
The virtualization model can create an abstract layer between the operating system and the user
application at this operating system level.
It is an isolated container on the operating system and the physical server, which uses the
software and hardware. Thus, each of these then operates in the form of a server.
Therefore, when there are numerous users and no one wants to share the hardware, then at this
point, the virtualization level comes into use.
Each user will get one virtual environment using a virtual hardware resource that is dedicated.
Hence, in this manner, there is no issue of any conflict.
Activity happenings within the Operating System Level:
Any hardware which is in a virtualized environment will process within this operating
system.
And the essential requirement at the operating system level is that all the user systems
on the virtualized environment will hold the same family operating system. Otherwise,
we can’t transfer the service to the users.
Most utmost applications use APIs exported by user-level libraries rather than practicing lengthy
system calls by the OS.
Since most of the systems provide well-documented APIs, such an interface becomes another
applicant for virtualization.
Therefore, virtualization with library interfaces is possible by checking the communication link
between applications and the system through API hooks.
Activity happenings within the Library Support Level:
At this level, the emulator’s idea worked as a tool and provided the guest operating
system to practice the resources they want. In short, users use the emulator to run
different applications of the other operating systems.
User-Application Level
The application-level virtualization works where there is a desire to virtualize only one
application and is the last of the implementation levels of virtualization in cloud computing.
One does not require to virtualize the complete environment of the platform.
Therefore, it generally works when you run virtual machines that practice high-level languages.
Also, it lets the high-level language programs compiled be of use in the application level of the
virtual machine that runs seamlessly.
Activity happenings within the Library User-Application Level:
Virtual machine as an application operates at the user system with the help of the
virtualization layer.
Also, the users excess the services if the environment in which user and host were of a
different type
Hypervisor architecture
Paravirtualization
paravirtualization is a computer hardware virtualization technique that allows virtual machines
(VMs) to have an interface similar to that of the underlying or host hardware. This technique
aims to improve the VM’s performance by modifying the guest operating system (OS).
Virtual Machine Manager (VMM): Also called a “hypervisor,” this is one of many hardware
virtualization techniques that allow multiple operating systems, termed guests, to run
concurrently on a host computer.
To support virtualization, processors such as the x86 employ a special running mode and
instructions, known as hardware-assisted virtualization.
CPU Virtualization
Memory Virtualization
I/O Virtualization
I/O virtualization involves managing the routing of I/O requests between virtual devices and the
shared physical hardware.
LECTURE 6: Virtual Clusters and Resource Management
Virtual clusters are built with VMs installed at distributed servers from one or more physical
clus-ters. The VMs in a virtual cluster are interconnected logically by a virtual network across
several physical networks.