introduction Virtualization 20-01-2025
introduction Virtualization 20-01-2025
4
Computer Architecture
5
Hardware and software
6
Computer Hardware
7
Computer Software
8
Computer Architecture
What is Virtualization
Why Virtualization
Hypervisor and Types
Virtual Machine
Features of Virtualization
Benefits and Challenges of Virtualization
Demo on Virtualization
Summary
9
What is Virtualization
Virtualization is the creation of a virtual (rather than actual) version of
something, such as a hardware platform, operating system, a storage
device or network resources”
500GB
100 200 50G
GB GB B
600GB
500GB 100 300 100
GB GB GB
11
Virtualization
Before Virtualization After Virtualization
15
Why Virtualization?
16
Why Virtualization?
Each physical hardware
for each application
High Cost
Power consumption
Down Time of a server
Machine Crashing
High Infrastructure
Less Utilization of
resource
Why learn virtualization?
Modern computing is more efficient due to
virtualization
Virtualization can be used for mobile, personal and
cloud computing
You can also use virtualization in your personal life
18
Computer Architecture
What is Virtualization
Why Virtualization
Hypervisor and Types
Virtual Machine
Features of Virtualization
Benefits and Challenges of Virtualization
Demo on Virtualization
Summary
19
Hypervisor
This software layer is referred as the Hypervisor or Virtual Machine Monitor
(VMM).
Hypervisor(VMM) is a software , which allows multiple operating systems to
run on a physical server at the same time
The hypervisor abstracts the underlying software and/or hardware
environments and represents virtual system resources to its users
20
Types of Hypervisor
There are two types of hypervisor : Type 1 (bare-metal) and
Type 2 (hosted )
Examples: Examples:
Xen RedHat KVM
VMware ESXi VMware Workstation
Microsoft Hyper-V Oracle Virtual Box
21
Types of Hypervisor
In this approach, the hypervisor is
In this approach, an operating system is first
directly installed over the physical
installed on the physical machine to activate it.
machine.
22
APP APP APP APP APP APP
Linux Mac os Linux Mac os
VM1 VM2 VM3 VM1 VM2 VM3
1 CPU 2 CPU 1 CPU 1 CPU 2 CPU 1 CPU
2GB 4GB 3GB 2GB 4GB 3GB
RAM RAM RAM RAM RAM RAM
50 GB 100 GB 100 GB 50 GB 100 GB 100 GB
VNIC VNIC VNIC VNIC VNIC VNIC
25
Type 2 Virtualization products
Oracle VM VirtualBox: Oracle VM VirtualBox (formerly known as Sun
VirtualBox) is the virtualization software package from Oracle
Corporation. Oracle virtual box provides cost-effective and good
performance features. Its runs on a wide variety of host operating
systems and supports a large number of guest operating systems too.
KVM: The kernel-based virtual machine (KVM) is a hypervisor built
into the Linux kernel. This open-source solution was developed by Red
Hat Corporation to provide virtualization services on the Linux-
operating system platforms. A wide variety of guest operating systems
work with KVM including several versions of Windows, Linux and
UNIX.
VMware Workstation: it is a type2 hypervisor of VMware, which
works on windows and Linux operating systems. It is available to
download at no cost and runs on a wide variety of host operating
systems and supports a large number of guest operating systems too
26
Summary of Hypervisors
27
Computer Architecture
What is Virtualization
Why Virtualization
Hypervisor and Types
Virtual Machine
Features of Virtualization
Benefits and Challenges of Virtualization
Demo on Virtualization
Summary
28
Virtual Machine
From a user’s perspective, a
logical compute system
Runs an operating system (OS) and
application like a physical machine
Contains virtual components such as
CPU, RAM, disk, and NIC Hypervisor
29
Virtual Machine Files
File name Description
Virtual BIOS File • Stores the state of the virtual machine’s (VM’s) BIOS
30
VM Hardware Components
Virtual Hardware Description
• Virtual machine (VM) can be configured with one or more virtual
vCPU CPUs
• Number of CPUs allocated to a VM can be changed
• Amount of memory presented to the guest operating system
vRAM (OS)
• Memory size can be changed based on requirement
• Stores VM's OS and application data
Virtual Disk
• A VM should have at least one virtual disk
• Enables a VM to connect to other physical and virtual
vNIC
machines
Virtual DVD/CD-ROM • It maps a VM’s DVD/CD-ROM drive to either a physical drive
Drive or an .iso file
• It maps a VM’s floppy drive to either a physical drive or an .flp
Virtual Floppy Drive
file
Virtual SCSI Controller • VM uses virtual SCSI controller to access virtual disk
Virtual USB Controller • Maps VM’s USB controller to the physical USB controller
31
37
Server Consolidation
38
Consolidation
39
VM Migration
A B A B
Storage Vmotion
Storage VMotion is a new feature
introduced in ESX 3.5, it allows you to
migrate a running virtual machine
and its disk files from one data store
to another on the same ESX host
The difference between VMotion and
Storage VMotion is that VMotion
simply moves a virtual machine from
one ESX host to another but keeps
the storage location of the VM the
same, Storage VMotion on the other
hand changes the storage location of
the virtual machine while it is
running and moves it to another data
store on the same ESX host.
41
VM migration Storage vMotion
Server1 Server1
CPU,RAM CPU server2 server3
and Storage RAM
Storage device
Storage device1 Storage device2
42
High Availability (HA)
45
Benefits of Virtualization
46
Impact of Virtualization
47
Virtual Infrastructure
48
Issues in Virtualization
Security
49
Computer Architecture
What is Virtualization
Why Virtualization
Hypervisor and Types
Virtual Machine
Features of Virtualization
Benefits and Challenges of Virtualization
Demo on Virtualization
Summary
50
Virtualization
Type2 Hypervisor
51
Summary
Virtualization
Hypervisor
Virtual Machine
Benefits and Challenges
Demo on Hypervisor 2
52
Thank you
E-mail: shyam.553@gmail.com
53