Chapter 3_Virtualization
Chapter 3_Virtualization
Individual Assignment
Prepared By:
Eyob Assefa…….2729/14
Virtualization refers to the process of creating a virtual (rather than physical) version of
resources like operating systems, servers, storage devices, or network resources. It enables
multiple virtual machines (VMs) to run on a single physical machine, each functioning as if it
were a standalone system.
Benefits of Virtualization:
• Cost Savings: By running multiple VMs on a single machine, organizations save costs on
hardware procurement, energy consumption, and maintenance.
• Isolation: Each VM operates in isolation, meaning one system crash does not impact
others.
• Portability: Virtual machines can be easily moved, cloned, or backed up, facilitating
disaster recovery.
• Managed Execution: VMs can have defined resource limits (CPU, RAM, etc.), ensuring
better performance management.
• Isolation: Virtual machines (VMs) operate independently from one another, ensuring that
issues in one VM do not affect others.
• Portability: VMs are stored as files, enabling easy migration between physical servers.
• Aggregation: Multiple physical resources can be combined into a single virtual resource,
e.g., combining storage systems into a single logical storage pool.
• Managed Execution: Virtualization tools allow precise allocation of resources like CPU,
memory, and disk usage to each VM.
i. Execution Virtualization:
o Types: Block-level (manages logical block storage) and File-level (manages files
and directories).
2
4. Discuss the machine reference model of execution virtualization.
The machine reference model outlines how execution virtualization works. It provides a
framework for running guest operating systems (OSs) on virtualized environments. The key
components of the model include:
• Guest Operating System (Guest OS): The OS running within the virtualized
environment.
• Hardware-Assisted Virtualization:
o Modern CPUs (Intel VT-x, AMD-V) provide direct support for virtualization,
improving performance by handling privileged instructions at the hardware level.
• Full Virtualization:
3
• Paravirtualization:
o The guest OS is aware of the virtualization and communicates with the hypervisor
through special interfaces, leading to better performance than full virtualization.
• OS-Level Virtualization:
o Multiple isolated containers or instances run on the same host OS, sharing the
kernel but with isolated file systems and processes (e.g., Docker).
• Hardware Virtualization:
o Abstracts physical hardware and provides virtual instances (VMs) to run OSs.
• Storage Virtualization:
• Network Virtualization:
o Virtual networks are created on top of physical networks for flexibility and
scalability.
• Desktop Virtualization:
o Enables remote access to virtual desktop environments. Useful for enterprise IT.
• Application Virtualization:
4
o Example: Citrix XenApp.
• Scalability: Cloud providers can easily scale resources by creating new VMs or
containers.
• Cost Efficiency: Physical hardware is shared across multiple tenants, reducing costs.
• Resource Optimization: Virtualization ensures high utilization rates for CPU, memory,
and storage.
• Isolation: Ensures that tenants’ workloads do not interfere with one another, critical for
multi-tenant cloud environments.
• Performance Overhead: Virtualization can add latency and reduce raw performance
compared to running directly on hardware.
• Compatibility Issues: Not all applications or operating systems work well in virtualized
environments.
• Security Risks: If the hypervisor is compromised, all VMs running on it are exposed to
risks.
5
Key Features:
• Domains: Xen uses Dom0 (privileged domain managing hardware) and DomU
(unprivileged domains for VMs).
• Resource Allocation: Efficiently allocates resources like CPU and memory to VMs.
In full virtualization, the hypervisor emulates complete hardware, allowing unmodified guest
OSs to run. Key components include:
• Hardware Emulation: Simulates hardware devices, such as network adapters and disk
drives.
11. Discuss the architecture of Hyper-V. Discuss its use in cloud computing.
Architecture: