August 22, 2013 2
A loose definition
Virtualisation is a framework or methodology of dividing the
resources of a computer into multiple execution environments,
by applying one or more concepts or technologies such as
hardware and software partitioning, time-sharing, partial or
complete machine simulation, emulation, quality of service,
and many others.
August 22, 2013 3
Some history
−An old concept – first virtual machines
created on IBM mainframes in early ’60s
−Typically, IBM's virtual machines were
identical "copies" of the underlying hardware.
Each instance could run its own operating
system.
−Virtualisation formed the basis of “time
sharing”
August 22, 2013 4
Some virtual machines you may know…
−NT had Virtual DOS Machine (NTVDM) and Windows on
Win32 (WOW)
−Windows 95 used virtual machines to run older (Windows
3.x and DOS) applications
August 22, 2013 5
The old model
−A server for every application
−Software and hardware are
tightly coupled
−Underutilised resources
introduce real cost into the
infrastructure
August 22, 2013 6
The new model
−Physical hardware is abstracted
by a virtualisation layer, or
hypervisor
−Manage OS and application as a
single unit by encapsulating them
into virtual machines
−Separate OS and hardware and
break hardware dependancies
−Optimise utilisation levels
August 22, 2013 8
Underutilisation of Resources
•Most organisations over-
provision
−Multiple processors in each
server
−Memory requirements over-
estimated
•Aim to drive up CPU
utilisation
Actual DSS customer data – 120
servers monitored
August 22, 2013 9
Virtual Infrastructure
•Virtual infrastructure brings uniformity
to the data centre
•Dynamically map computing resources
to the business
•Lower IT costs through increased
efficiency, flexibility and
responsiveness
•Provision new services and change the
amount of resources dedicated to a
software service
•Treat your data centre as a single pool
of processing, storage and networking
power
August 22, 2013 10
How is it implemented?
−Typically, in order to virtualize, you would use a layer of software that
provides the illusion of a "real" machine to multiple instances of "virtual
machines". This layer is traditionally called the Virtual Machine Monitor
(VMM) or “hypervisor”.
−The hypervisor could run directly on the real hardware or it could run as
an application on top of a host operating system.
August 22, 2013 11
Type 1 VMM
Hardware
VMM
Guest
VM
Guest
VM
Guest
VM
IBM CP/CMS
VMware ESX
Windows Virtualisation (2008)
Xen
Virtual Iron
August 22, 2013 12
Type 2 VMM
Hardware
VMM
Guest
VM
Guest
VM
Guest
VM
Host OS
VMware Server
August 22, 2013 13
Hybrid VMM
MS Virtual Server
MS Virtual PC
Hardware
VMM
Host
VM
Guest
VM
Guest
VM
August 22, 2013 14
Paravirtualisation
Paravirtualization is a virtualization technique that presents
a software interface to virtual machines that is similar but
not identical to that of the underlying hardware.
This requires operating systems to be explicitly ported to run
on top of the virtual machine monitor (VMM)
August 22, 2013 15
Full Virtualisation
•Provides a complete simulation of the underlying
hardware
•With binary translation, rewrites some x86 instructions
at run time that cannot be trapped and converts them
into a series of instructions that can be trapped and
virtualised
•Capable of running existing legacy operating systems
without modification
August 22, 2013 16
Native Virtualisation
−Leverages hardware-assisted capabilities available in the
latest processors from Intel (Intel VT – “Vanderpool”) and
Advanced Micro Devices (AMD-V – “Pacifica”) to provide
near-native performance.
−Virtual Iron is one of the first companies to offer
virtualization software to fully support Intel-VT and AMD-V
hardware assisted virtualization.
August 22, 2013 19
What’s in a Virtual Machine - BIOS
•VM has its own BIOS
•Has everything you would
expect to see in a real
BIOS
•Boot options may include
floppy, CD-ROM, disk drive
and PXE.
August 22, 2013 20
What’s in a Virtual Machine - Networking
•Each VM has a virtual NIC
•Virtual NICs are connected to
virtual switches implemented
in the virtualisation layer
−VMware – vSwitches
−Microsoft - .vnc-files
•Virtual switches have uplink
connections to physical NICs
on the host
August 22, 2013 21
Combining internal and external virtual switches
•Virtual switch with one
outbound adapter acts as a
DMZ
•Backend applications are
secured behind the firewall
using internal-only switches
August 22, 2013 22
What’s in a Virtual Machine - Storage
•To the applications and guest operating
systems inside each virtual machine, the
storage subsystem is a simple virtual
SCSI host bus adapter connected to
one or more virtual SCSI disks
•Virtual disks are files kept on physical
storage.
−VMware – VMDK files
−Microsoft – VDF files
•Virtual disk represents a local drive on a
virtual server, such as a C or D drive in
Windows
•Physical storage could be
−Direct attached SCSI
−SAN attached
−iSCSI
−NAS
August 22, 2013 24
Support Considerations
•Two meanings
−Is it technically possible?
−Will the vendor support a virtual environment?
•The Microsoft position
−“For Microsoft customers who do not have a Premier-level support agreement,
Microsoft will require the issue to be reproduced independently from the non-
Microsoft hardware virtualization software.”
−“Microsoft supports Windows Server System software running within a Microsoft
Virtual Server environment subject to the Microsoft Support Lifecycle policy ... “ “
August 22, 2013 25
Usage Scenarios for Virtualization
Consolidation
Workload Mobility
Business Continuity Management
Development and Test
August 22, 2013 26
1.Logical
2.Physical
3.Rational
Gartner definition
Usage Scenario
Production server consolidation
August 22, 2013 27
Usage Scenario
Production server consolidation
•Consolidate workloads
−Infrastructure applications
−Low-utilization workloads
−Branch office and datacenter workloads
−Efficient use of available hardware resources
•Re-host legacy OS and applications
−NT4 guest applications on virtual platform
•Run on current hardware and current OS
•No application updates required
•Partition resources
−Limit CPU resource per VM
August 22, 2013 28
Usage Scenario
Business continuity management
•Disaster Recovery
−Maintain DR systems as virtual machines
−Eliminate traditional problems associated
with bare metal restores
•OS and application patching
−Deploy and test patches off-production, and
swap
−Eliminate scheduled downtime
•Isolation / sandboxing
−Isolate OS environments for untrusted
applications
−Prevent malicious code from affecting
others
August 22, 2013 29
Usage Scenario
Dynamic datacenter
•Workload mobility
−Package up entire OS environment and move to other
location
−Flexible deployment of workloads
August 22, 2013 30
Usage Scenario
Development and test
•Rapid provisioning of virtual machines
•Create arbitrary test scenarios
•Wider test range for niche scenarios
August 22, 2013 31
Application + OS: Now A Data File
•Server provisioning is similar
to copying a file
•Server migration is now
similar to data migration
•Data management techniques
can be used for server
management
• Server cloning/copying
• Versioning
• Server archival
• Remote mirroring
Entire server – OS, apps, data, devices, and state – is now
simply a file.
August 22, 2013 32
The Role of Shared Storage
•Virtual Machine files are
centrally located.
•Multiple access.
•Virtual Machines can be moved
for DR purposes, system
repair/upgrade, etc.
•Can take advantage of
advanced SAN features such as
snapshots, clones and
replication.
August 22, 2013 33
Live Migration
•Move running virtual machines from one physical
system to another with no downtime
•Zero downtime maintenance
•Balance resource utilisation across infrastructure
August 22, 2013 34
Hardware Infrastructure – Scale Up or Scale
Out?
•Scaling up means fewer,
larger systems
−Advantages
•Fewer ESX Server images to manage
•Lower infrastructure costs
(Ethernet/SAN switches)
−Disadvantages
•Higher hardware costs (servers)
•Big H.A. impact in case of failure of a
node
•Fewer CPUs supported "per rack“
•Headroom required for HA is
expensive
•Servers may go obsolete
•Locked into server architecture
•Scaling out means more,
smaller systems
−Advantages
•Lower hardware costs (servers)
•Low H.A. impact in case of failure
of a node
•More CPUs supported "per rack“
•Headroom required for HA is less
expensive
•Not locked into obsolete hardware
•More flexible
−Disadvantages
•Many hypervisor (ESX) images to
maintain
•Higher infrastructure costs
(Ethernet/SAN switches)
August 22, 2013 35
What should an enterprise ready virtualisation
platform offer?
•Efficient server partitioning
•SMP support in guest VMs
•Scalable memory in guest VMs
•Fault isolation – a crash in one virtual machine should not
impact other virtual machines
•Security isolation – a virtual machine should never access the
memory or I/O operations of another virtual machine
•Resource isolation – runaway applications in one virtual
machine should not “starve” others virtual machines.
•Non-disruptive addition of capacity
•Scalable management tools
August 22, 2013 36
VMware Workstation
•Desktop Virtualisation
•Run multiple operating systems
simultaneously on a single PC
•Supports Windows, Linux,
NetWare, Solaris
•Software development/test
•Training
August 22, 2013 37
VMware Server
•Free virtualisation platform
•Type 2 “hosted” VMM
•Runs on any standard x86 hardware
•Runs on a wide variety of Linux and
Windows host and guest operating
systems
•Intended as a “step up” to Type 1
hypervisor products.
August 22, 2013 38
VMware Infrastructure 3
•VMware ESX Server 3.0 - Type 1
VMM
•VMware VirtualCenter 2.0
•4-way vSMP / 16GB Virtual RAM
support
•VMware VMotion
•VMware HA
•VMware Distributed Resource
Scheduling
•VMware Consolidated Backup
August 22, 2013 39
Non-disruptive capacity on
demand
August 22, 2013 40
Automate resource assurance for critical
applications
DRS
Dynamic Balancing
Continuous Optimization
August 22, 2013 41
Automatic availability for all
applications
VMWARE HA
X
August 22, 2013 42
Backup anytime
VMWARE
CONSOLIDATED
BACKUP
Decouple backup from production VMs
20-40% better resource utilization
Pre-integrated with 3
rd
party backup products
August 22, 2013 43
Microsoft Virtualisation Products
•Virtual PC
•Microsoft Virtual Server 2005 R2
•Virtual Machine Manager (in Beta but available for
download)
•Windows Virtualisation (to be released after
Longhorn)
August 22, 2013 44
Virtual PC
•Suited to use in testing on a desktop environment
•Not recommended for production servers
−Single CPU support only
−No remote management possible
−No SCSI support
−Starts as an application not as a service
•Shares disk format with Virtual Server
August 22, 2013 45
Virtual Server 2005 R2 SP1
•Microsoft’s current offering for
virtualisation in production
environments
•Shares underlying technology
with Microsoft Virtual PC
•Web based management
portal
•Guests supported include:
−Windows (up to Vista with SP1)
−Linux
Virtual Server 2005 R2: Administration Website
August 22, 2013 46
Clustering in Virtual Server 2005 R2 SP1
Host to Host
Cluster
storage
SAN or iSCSI
connection
Guest to Guest
Cluster
storage
iSCSI
connection
August 22, 2013 47
Virtual Server 2005 R2 SP1
•VM Additions
−VM additions provide enhanced performance and additional
functionality to the guest OS
−Additions available for XP, Windows 2003, Vista and Linux
−Windows additions provide:
•Allow for direct mode kernel execution (faster processing of some
commands)
−Linux additions provide:
•Time sync
•Shutdown support
•SCSI disk
•Does not allow for direct mode kernel execution
−Important to update for each new release to maximise
performance benefits
August 22, 2013 48
Windows Virtualisation
•To be released within 180 days after the Longhorn
release (no Beta available as yet)
•Requires Intel VT or AMD Virtualisation hardware
•Uses Hypervisor (a thin layer of software under the
“Host OS”)
Hardware
VMM (Hypervisor)
Guest 1
(“Host OS”)
Guest 2
August 22, 2013 50
Centralized Management: Reports
Full set of Full set of
reports, reports,
integration with integration with
MOM databaseMOM database
Actions one click Actions one click
away in context away in context
sensitive Actions sensitive Actions
PanePane
August 22, 2013 51
Self Service Portal
Ability to control Ability to control
owned virtual owned virtual
machinesmachines
Thumbnails of Thumbnails of
all owned virtual all owned virtual
machinesmachines
August 22, 2013 52
Self-Service Portal
Provisioning
User selects from list User selects from list
of templates of templates
Administrator has Administrator has
associated with that associated with that
useruser
August 22, 2013 53
Self-Service Portal
Provisioning
New virtual machine New virtual machine
ready for use, Terminal ready for use, Terminal
Services connection Services connection
information information
automatically emailed to automatically emailed to
user.user.
August 22, 2013 54
Virtual Server 2005 vs
Windows Server Virtualization
Virtual Server 2005 R2 Windows Server Virtualization
32-bit VMs? Yes Yes
64-bit VMs? No Yes
Multi-processor VMs? No Yes, up to 8 processor VMs
VM memory support? 3.6 GB per VM More than 32 GB per VM
Hot add memory/processors? No Yes
Hot add storage/networking? No Yes
Can be managed by System Center
Virtual Machine Manager?
Yes Yes
Microsoft Cluster support? Yes Yes
Scriptable / Extensible? Yes, COM Yes, WMI
Number of running VMs? 64
More than 64.
As many as hardware will allow.
User interface Web Interface MMC 3.0 Interface
August 22, 2013 55
Xen
•Open source hypervisor
solution
•Installs on bare-metal
•Linux VMs fully supported
−Red Hat
−Debian
−Suse
•Windows VMs require Intel VT
or AMD-V processor
−Microsoft Windows Server 2000
−Microsoft Windows Server 2003
−Microsoft Windows XP SP2
August 22, 2013 56
XenSource
August 22, 2013 57
XenSource Products
User Profile Enterprise IT, system
integrators
Windows IT professionals Developers, testers,
support, IT enthusiasts
Windows guest support Windows Server 2003;
Windows XP; Windows
2000 Server
Windows Server 2003;
Windows XP; Windows
2000 Server
Windows Server 2003;
Windows XP; Windows
2000 Server
Linux guest support Red Hat EL 3.6, 3.7, 3.8,
4.1, 4.2, 4.3, 4.4, 5.0;
SUSE SLES 9.2, 9.3,
10.1; Debian Sarge
N/A (Windows guests
support only)
Red Hat EL 3.6, 3.7, 3.8,
4.1, 4.2, 4.3, 4.4, 5.0;
SUSE SLES 9.2, 9.3,
10.1; Debian Sarge
Live Migration Mid-2007 N/A N/A
Shared storage Mid-2007 N/A N/A
August 22, 2013 58
Virtual Iron
•An enterprise ready native virtualisation platform
•Uses hardware-assisted virtualisation technologies of
Intel VT and AMD-V processors
•Based on an open source hypervisor derived from the
Xen open source project
•No software need be installed on physical hardware
August 22, 2013 59
Virtual Iron Components
Component License Function
Hypervisor GPL First software loaded when physical server boots.
Manages all hardware resources
Service PartitionGPL Second software loaded when physical server boots.
Manages virtual server creation and configuration
and all I/O.
Virtualisation
Manager
CommercialControls virtual servers through an agent in the
service partition
Guest operating
systems
Varies Operating systems that are fully virtualised on a
physical server
August 22, 2013 60
Virtualization Manager
•Java-based application
•Allows for central
management of
virtualized servers
•A physical server can
have many virtualized
servers, which are run as
unmodified guest
operating systems.
August 22, 2013 61
Virtual Manager Policy-based Automation
•LiveMigration – moves a running virtual server from one
physical server without pausing or impacting running
applications
•LiveCapacity – monitors virtual server CPU utilisation or other
application needs to determine when a workload needs
additional capacity. When a user-defined threshold is met, the
virtual server is LiveMigrated to a physical server that has the
necessary resources
•LiveRecovery – monitors the status of physical resources and
moves virtual servers to maintain uptime in the event of a
hardware failure
•LiveMaintenance – moves virtual servers to alternative
locations without downtime when a physical server is taken
offline for maintenance
August 22, 2013 62
Virtual Iron Architecture
August 22, 2013 63
Supported Configurations
Feature Support
Operating systems 32 and 64-bit Red Hat Enterprise Linux 4
32 and 64-bit SUSE Linux Enterprise Server 9
32-bit Windows XP
32-bit Windows 2003
Processors Intel Xeon with Intel VT
AMD Opteron with AMD-V
Virtualised Nodes 100s per virtual data centre
Processors per virtual Server Up to 8
RAM per Physical Server Up to 96GB
Virtual servers per physical server CPU Up to 5
Virtual NIC adapters per virtual server Up to 5
Virtual disks per virtual server Up to 16
August 22, 2013 64
Virtuozzo
−Operating System–Level
Virtualisation
−Creates multiple, isolated virtual
environments (VEs)
−Whereas VMs attempt to virtualize
"a complete set of hardware," VEs
represent a "lighter" abstraction,
virtualizing instead "an operating
system instance"
August 22, 2013 65
Parallels Workstation
•Test/Development solution
aimed at desktop market
•Uses hypervisor technology
•Wide guest OS support
−Entire Windows family - 3.1,
3.11, 95, 98, Me, 2000, XP and
2003
−Linux distributions Red Hat,
SuSE, Mandriva, Debian and
Fedora Core
−FreeBSD
−“Legacy” operating systems
e.g. OS/2, eComStation and
MS-DOS.
August 22, 2013 66
HP Virtual Server Environment
•Implemented on HP Integrity and HP 9000 systems
August 22, 2013 67
Physical to Virtual (P2V)
•P2V is the term used to describe the process of
converting physical servers into virtual machines
•Can be performed while server is live
•Some operating systems require cold migration
•Process:
−Analyse source
−Create a target VM
−Transfer data from physical source to virtual target
−Transform VM
August 22, 2013 68
VMware Converter
•Replaces P2V Assistant
•Wizard based conversion
process
•Can convert physical
machines, virtual machines or
third party system images (e.g.
Symantec Ghost, Backup Exec
LiveState Recovery)
•Source physical machines:
−64-bit Windows XP/2003
−WinNT SP4+
−Windows 2000
−Windows XP
−Windows 2003
August 22, 2013 69
Platespin PowerConvert
•“Anywhere to anywhere”
conversion
−Peer-to-Peer
•Physical to Virtual (P2V)
•Virtual to Virtual (V2V)
•Virtual to Physical (V2P)
•Physical to Physical (P2P)
−Image Capture
•Physical to Image (P2I)
•Virtual to Image (V2I)
−Image Deployment
•Image to Virtual (I2V)
•Image to Physical (I2P)
−Disaster Recovery
•Physical to Virtual (P2V)
•Virtual to Virtual (V2V)
•Windows and Linux sources
can be converted
August 22, 2013 70
Platespin PowerConvert
August 22, 2013 71
Portlock Storage Manager
•Third-party NetWare data
management product
•Can be used for P2V
conversions of NetWare
servers
•Requires some manual
reconfiguration of VM
August 22, 2013 72
Capacity Planning
•Important first step in any server consolidation project
•Aims:
−Understand server performance and utilization rates of a
group of servers
−Identifying servers that are good candidates to be migrated
into virtual machines
−Size virtual environment accurately
•Statistics are gathered and processed
•What-if scenarios can be run to examine different
possible approaches
August 22, 2013 73
VMware Capacity Planner
August 22, 2013 74
Inventory AnalyseWorkload
Data
Collection
Recommend
Platespin PowerRecon
•Onsite data collection and analysis
•Scenario modelling (what-if)
•Agentless operation
August 22, 2013 75
Some additional products…
August 22, 2013 76
VMware Lab Manager
•Create centralised pools
of VMs, storage and
network components
•Rapid setup and tear
down of test/dev
environments
•Maintain library of
customer and production
system environments
August 22, 2013 77
VMware ACE
August 22, 2013 78
VMware Virtual Desktop Infrastructure
August 22, 2013 79
Dunes VS-0
http://www.dunes.ch/content/view/82/157/
Dunes VS-O
August 22, 2013 80
−esxRanger Professional
•LAN/WAN backups
•Backup active servers
•Database of backup activity
−esxReplicator
•Replicate changes to remote
location – “chunked” by time or data
change volumes
•Effective business continuity
Virtual Machine Backup and Replication
August 22, 2013 81
Virtual Machine Backup and Replication
•esXpress
−Virtual Backup Appliance
runs backup jobs within a
VM
−Offloads CPU and memory
utilisation from VMware
ESX console
•Virtual Solution Box
−Also implemented as a
virtual machine appliance
August 22, 2013 82
esxCharter
A Windows based esxtop and more…
August 22, 2013 83
esxMigrator
•Assists customers upgrading
from VMware ESX 2.X to
VMware ESX 3.0
•Uses data manipulation
strategies that can copy virtual
disks much faster than allowed
by the VMware console
•Enables failback contingency
August 22, 2013 84
Best Practice Recommendations
•Explore your options.
•Evaluate your applications for potential
consolidation.
•Understand the differences between various
virtualization solutions.
•Look closely at the licensing and support policies of
your software vendors.
•Start small.
August 22, 2013 85
Best Practice Recommendations
•Manage expectations.
•Beware of “virtual sprawl.”
•Consider blades as a complementary consolidation
strategy.
•Integrate server consolidation with a broader
consolidation strategy.
•Develop a framework for continuous consolidation.