Class Virtualization 1
Class Virtualization 1
Class Virtualization 1
What is virtualization?
Virtualization basically allows one computer to do the job of
multiple computers, by sharing the resources of a single
hardware across multiple environments
Virtual Virtual
Container Container
Hardware Hardware
► Reach beyond the box – see and manage many virtual resources
as one
Extended System
Heterogeneous servers, storage and
networks; application-based networks
Single System
Common hardware; multiple OS;
partitions; virtual I/O and networks
10
Motivators
Virtualization Motivators
Enable a SOA 4%
Other 1%
No need 67%
Chargeback, billing 5%
end users
Product availability 3%
Other 8%
12
Simplify Server & Storage Public
Internet/
Intranet
Environment Firewalls Routers
Clients
(Layer 3
Switches)
Layer 4-7
Switches SSL Appliances
Web Servers
ERP Layer 2
App File/Print Switches
Caching Appliances
Sec Servers
Mgmt
SCM
FS 7
Web
ERP
WS
SCM Gate
Gate Gate FS WS Mgmt ERP Web
Gate
13
Simplify Server & Storage
Environment Public
Internet/
Intranet
Clients
Firewalls Routers
(Layer 3
Switches)
ERP
Mgmt
FS 7
Web
ERP
WS
App SCM
Sec Gate
Gate
14
Virtualization Platform
Workload Information
Virtualization Virtualization
Key Principles
Standards and Open Interfaces
Comprehensive
Open Virtual Access and
Heterogeneous Management
Common skills
Resource Virtualizers
Servers Storage Networks
15
Why Use Virtualization?
• Huge impact on enterprise hosting
– No longer have to sell whole machines
– Sell machine slices
– Can put competitors on the same physical hardware
Can separate instance of VM from instance of
hardware
• Live migration of VM from machine to machine
– No more maintenance downtime
• VM replication to provide fault-tolerance
– Why bother doing it at the application level?
Disadvantages of Virtual
Machines
• Attempt to solve what really is an
abstraction issue somewhere else
– Monolithic kernels
– Not enough partitioning of global identifiers
• Provides some mechanisms, but may not
directly solve “the problem”
Disadvantages of Virtual
Machines
• Feasibility issues
– Hardware support? OS support?
– Admin support?
• Performance issues
– Is a 10-20% performance hit tolerable?
– Can your NIC or disk keep up with the load?
Two Technologies for Agility
• Virtualization:
The ability to run multiple operating systems
on a single physical system and share the
underlying hardware resources*
• Cloud Computing:
“The provisioning of services in a timely (near
on instant), on-demand manner, to allow the
scaling up and down of resources”
The Traditional Server Concept
Server Server
Clustering
1 2
Guest OS Guest OS
Service
Console
x86 Architecture
Intercepts
hardware
requests
adapted from Virtualization Overview
The Virtual Server Concept
• Virtual servers seek to encapsulate the
server software away from the hardware
– This includes the OS, the applications, and the
storage for that server.
• Servers end up as mere files stored on a
physical box, or in enterprise storage.
• A virtual server can be serviced by one or
more hosts, and one host may house
more than one virtual server.
The Virtual Server Concept
• Virtual servers can still be referred to by
their function i.e. email server, database
server, etc.
• If the environment is built correctly, virtual
servers will not be affected by the loss of a
host.
• Hosts may be removed and introduced
almost at will to accommodate
maintenance.
The Virtual Server Concept
• Virtual servers can be scaled out easily.
– If the administrators find that the resources supporting
a virtual server are being taxed too much, they can
adjust the amount of resources allocated to that virtual
server
• Server templates can be created in a virtual
environment to be used to create multiple,
identical virtual servers
• Virtual servers themselves can be migrated from
host to host almost at will.
The Virtual Server Concept
• Pros • Cons
– Resource pooling – More difficult to
– Highly redundant conceptualize
– Highly available – More costly (must buy
– Rapidly deploy new hardware, OS, Apps, and
servers now the abstraction
– Easy to deploy layer)
– Reconfigurable while
services are running
– Optimizes physical
resources by doing more
with less
Virtualization Status
• Offerings from many companies
– e.g. VMware, Microsoft, Sun, ...
• Hardware support
– Fits well with the move to 64 bit (very large
memories) multi-core (concurrency) processors.
– Intel VT (Virtualization Technology) provides
hardware to support the Virtual Machine Monitor
layer
• Virtualization is now a well-established
technology
Suppose you are a Company
• You offer on-line • Why pay for capacity
real time stock weekends, overnight?
market data
9 AM - 5 PM,
M-F
Rate of
Server
Accesses
ALL OTHER
TIMES
Solution
• Host the web site in Amazon's EC2 Elastic
Compute Cloud
• Provision new servers every day, and
deprovision them every night
• Pay just the amount per server per hour
– Payments depend on the capacity of the
servers used
• Let Amazon worry about the hardware!
Cloud computing takes
virtualization to the next step
• You don’t have to own the hardware
• You “rent” it as needed from a cloud
Elasticity
• Elasticity and scalability. The cloud is
elastic, meaning that resource allocation
can get bigger or smaller depending on
demand. Elasticity enables scalability,
which means that the cloud can scale
upward for peak demand and downward
for lighter demand. Scalability also means
that an application can scale when adding
users and when application requirements
change.
Elasticity
• NIST's definition of elasticity :
"Capabilities that can be rapidly and elastically
provisioned, in some cases automatically, to
quickly scale out and rapidly released to quickly
scale in. To the consumer, the capabilities
available for provisioning often appear to be
unlimited and can be purchased in any quantity
at any time."
• Elasticity combined with on-demand self-service
capabilities is a force for IT.
Elasticity
• When service demand increases, elastic cloud platforms
dynamically add resources (or make more resources available to a
task).
• Thus, elasticity adds a dynamic component to scalability - but how
does this dynamic component look?
• On an ideal elastic platform, as application workload intensity
increases, the distribution of the response times of an application
service should remain stable as additional resources are made
available to the application.
• However, it is an idealistic view which also includes dynamic un-
provisioning of resources as the application workload decreases.
• The dynamic adaptation is a continuous (non-discrete) process.
• However, in reality, resources are actually measured and
provisioned in larger discrete units (i.e. one processor core, one
page of main memory, etc.), so a continuous idealistic
scaling/elasticity cannot be achieved.
User and Task Centric
• User centric : This means once an user is
connected to cloud any data there, such as
images, videos, applications, becomes his
property. Not only the data but the devices
connected also becomes his and he can
share it with other users.
• Task Centric : Cloud computing focus on
what one need and how application can do it
for us. Here documents are given more
priority than the applications which create
them