Mod-2 Notes
Mod-2 Notes
Basics of Virtualization:
Types of Virtualization:
1. Server Virtualization:
4. Storage Virtualization:
5. Network Virtualization:
2
● Network virtualization allows the creation of virtual networks that
operate independently of the physical network infrastructure.
● Virtual networks provide isolation, segmentation, and enhanced
security, enabling flexible network configurations without changing
the physical setup.
6. Operating System Virtualization (Containerization):
Benefits of Virtualization
3
The common levels of virtualization:
4
4. Storage Virtualization:
Virtualization Structures:
● Virtualization structures refer to the different ways virtualization
can be organised and deployed within an IT environment.These
structures determine how virtual resources are managed, accessed,
and utilised.
The common virtualization structures:
5
1. Single Host Virtualization:
4. Cloud Computing:
6
VMs can be created within VMs to simulate complex environments.
6. Distributed Virtualization:
1. Hypervisors:
7
2. Containers:
● Backup and disaster recovery tools protect virtual machines and data
by creating backups and facilitating restoration in case of data loss or
system failures.
● Examples: Veeam Backup & Replication, Commvault, Acronis.
7. Virtual Desktop Infrastructure (VDI) Solutions:
8
Microsoft Remote Desktop Services (RDS).
8. Software-Defined Networking (SDN):
● SDN separates the network control plane from the data plane,
enabling programmable and centralized network management in
virtualized environments.
● Examples: VMware NSX, Cisco ACI, OpenFlow.
These tools and mechanisms form the foundation for efficient virtualization
and cloud computing environments. They help organizations achieve
resource optimization, automation, and streamlined management,
empowering them to scale their IT infrastructures to meet evolving
business needs. The choice of specific tools depends on factors such as the
virtualization platform, cloud provider, organizational requirements, and
budget constraints.
Virtualization of CPU:
● Virtualization of the CPU (Central Processing Unit) is a key aspect
of hardware-level virtualization.
● It involves creating multiple virtual machines (VMs), each with its
own operating system, running on a single physical CPU.
● The hypervisor, also known as the virtual machine monitor (VMM),
manages the virtualization process and ensures isolation between
VMs.
Block diagram illustrating the virtualization of CPU:
9
1. Physical CPU:
● The physical CPU is the hardware processor on the physical host
machine.
● It executes instructions and processes data for all the virtual
machines running on the host.
2. Hypervisor (Virtual Machine Monitor - VMM):
● The hypervisor is a software layer that sits directly on the physical
CPU and manages virtualization.
● It creates and manages multiple virtual machines (VMs) and
abstracts the underlying physical resources.
3. Virtual Machines (VMs):
● Each VM represents an independent virtualized environment with its
own operating system (Guest OS) and applications.
● VMs run concurrently on the same physical CPU, isolated from each
other.
4. Guest OS: The Guest OS runs within each virtual machine, providing a
complete operating system environment for the applications running in the
VM.
Through CPU virtualization, multiple VMs can share the same physical
CPU, providing efficient resource utilization and isolation between
workloads. This enables the consolidation of multiple independent systems
onto a single physical server, reducing hardware costs and simplifying
management in virtualized environments.
Virtualization of Memory:
● Virtualization of memory is a critical aspect of hardware-level
virtualization. It involves creating multiple virtual machines (VMs),
each with its own isolated memory space, running on a single
physical memory system.
● The hypervisor, or virtual machine monitor (VMM), manages
memory virtualization, ensuring memory isolation and efficient
allocation of resources.
10
Block diagram illustrating the virtualization of memory:
1. Physical Memory:
● Physical memory refers to the actual RAM installed on the physical host
machine.
● It is the hardware memory accessible by the physical CPU and stores
data and instructions.
2. Hypervisor (Virtual Machine Monitor - VMM):
● The hypervisor manages memory virtualization and allocates portions of
physical memory to each virtual machine.
● It ensures memory isolation between VMs, preventing one VM from
accessing the memory space of another.
3. Virtual Machines (VMs):
● Each VM represents an independent virtualized environment with its own
guest operating system (Guest OS) and applications.
● VMs have their separate memory spaces, which are isolated from each
other.
4. Guest OS:
● The Guest OS runs within each virtual machine and manages the
virtualized memory space allocated to the VM.
● It interacts with the virtual memory space as if it were the actual physical
memory, unaware of the underlying hardware abstraction.
5. Virtual Memory Space (VM 1, VM 2, etc.):
● Each VM has its own virtual memory space, which is mapped to the physical
memory by the hypervisor.
● Virtual memory space provides an illusion to the Guest OS that it has
dedicated and contiguous memory, despite sharing physical memory with
other VMs.
11
Memory virtualization allows multiple VMs to share the same physical memory,
enabling efficient utilization of memory resources and better scalability in
virtualized environments. It enables the consolidation of multiple independent
systems onto a single physical server, contributing to cost savings and improved
resource management.
12
1. Physical I/O Devices:
4. Guest OS:
● The Guest OS runs within each virtual machine and handles I/O
requests from applications within the VM.
● It interacts with the virtual I/O devices as if they were dedicated
physical devices, unaware of the underlying hardware abstraction.
5. I/O Virtualization Layer:
● Each VM has its virtual I/O devices, which are mapped by the
hypervisor to the appropriate physical I/O devices.
● Virtual I/O devices allow VMs to interact with the physical I/O
devices transparently as if they had exclusive access
13
I/O virtualization allows multiple VMs to share the same physical I/O
device, enabling efficient resource utilization and better scalability in
virtualized environments. It plays a crucial role in providing a and isolated
I/O experience for each virtual machine while maximising the hardware
utilization of the physical host.
Virtualization Support:
15