Professional Documents
Culture Documents
Virtualization
Overview
What is virtualization?
-2-
Virtualization and Abstraction
• Virtualization provides a different interface and/or resources at the same level of abstraction
-3-
What is server virtualization?
-4-
Why virtualize?
-5-
HW Utilization Facts
-9-
Problem Assessment – Why Virtualization?
-10-
2. Traditional server
The Traditional Server Concept
-15-
The Traditional Server Concept
Pros
Easy to conceptualize
Fairly easy to deploy
Easy to backup
Virtually any application/service can be run
from this type of setup
Cons
Expensive to acquire and maintain hardware
Not very scalable
Difficult to replicate
Redundancy is difficult to implement
Vulnerable to hardware outages
In many cases, processor is under-utilized -16-
3. Virtual server
The Virtual Server Concept
Hardware platform Hardware platform Hardware platform Hardware platform Hardware platform
-19-
Research into Virtualization
-20-
Virtualization Software
-21-
More Software Options
-22-
Close-up*
Server Server
Clustering
1 2
Guest OS Guest OS
Service
Console
x86 Architecture
Intercepts
hardware requests
-23-
The Virtual Server Concept
-25-
The Virtual Server Concept
Pros Cons
Resource pooling Slightly harder to
Highly redundant conceptualize
Highly available Slightly more costly
Rapidly deploy new servers (must buy hardware, OS,
Easy to deploy Apps, and now the
Reconfigurable while services abstraction layer)
are running
Optimizes physical resources
by doing more with less
-27-
4. Virtualization
technology
Virtualization Status
Hardware support
Fits well with the move to 64 bit (very large
memories) multi-core (concurrency) processors
Standard Interface(I/O)
Type1
Type2
native
hosted
(bare-metal)
-34-
Full virtualization
Apps Apps
Guest Guest
Mgmt
OS OS
Hypervisor (VMM)
Hardware
-35-
Paravirtualization
Apps Apps
Modified Modified
Guest OS Guest OS
Mgmt
Hypervisor (VMM)
Hardware
-36-
Virtual Machines
Hypervisor Hypervisor
Host OS
SMP Server
SMP Server
Hypervisor itself handles all resource Hypervisor uses HOST OS Functions
management functions Vmware Workstation
System zPR/SM™, z/VM Microsoft Virtual Server
POWER™ Hypervisor HP Integrity VM
Vmware ESX Server User Mode Linux
Xen Hypervisor
-38-
Virtualization Scenarios
Hardware Virtualization
Software Virtualization
Full Virtualization
Para-Virtualization
-39-
Para-Virtualization
-40-
Full Virtualization
-41-
Core Technology
-42-
The Hypervisor
-43-
The Hypervisor
-44-
Current Architecture
-45-
Virtualized Architecture
-46-
5. Docker Container
Agenda
• What is Docker?
– Docker vs. Virtual Machine
– History, Status, Run Platforms
– Hello World
• Images and Containers
• Volume Mounting, Port Publishing, Linking
• Around Docker, Docker Use Cases
• Hands-On Workshop
48
What is Docker?
Docker is an open-source project th
at automates the deployment of ap
plications inside software containers
, by providing an additional layer of
abstraction and automation of oper
ating system–level virtualization o
n Linux.
[Source: en.wikipedia.org]
49
Docker: Name
[www.docker.com]
docker [naut.]: der Dockarbeiter, der Hafenarbe
iter
Source: leo.org
• Provide a uniformed wrapper around a softwar
e package: «Build, Ship and Run Any App, Any
where» [www.docker.com]
– Similar to shipping containers: The container
is always the same, regardless of the content
s and thus fits on all trucks, cranes, ships, ...
50
Docker vs. Virtual Machine
Source: https://www.docker.com/whatisdocker/
51
Docker Technology
• libvirt: Platform Virtualization
• LXC (LinuX Containers): Multiple is
olated Linux systems (containers)
on a single host
• Layered File System
[Source: https://docs.docker.com/terms/layer/]
52
Docker History
53
Docker Operation Env.
54
Why Docker?
• Lightweight Virtualization
56