Você está na página 1de 80

Virtualisation

Virtualizao de
Servidores
Fbio S. Caetano
Especialista em
infraestrutura

Agenda

Before Virtualising
Server Virtualisation & Futures
Management around Virtualisation
Desktop Virtualisation
Application Virtualisation
Presentation Virtualisation
Resources & Blogs

Virtualisation

Antes de Virtualiasar

Virtualisation

Por que virtualizar?


Consolidao de servidores
Menor TCO
Diminuio do numero de
computadores

Diminuio dos custos com


hardware e manuteno!

Otimizao de recursos

Virtualisation

Por que virtualizar?


Mltiplos ambientes de execuo
Aumento de QoS atravs de garantia e
otimizao de recursos

Mltiplos SOs simultneos


Windows, Linux, FreeBSD, etc, rodando
ao mesmo tempo em uma mquina

Fcil recuperao de desastre


Realizar backup da mquina virtual e
restaurar em qualquer servidor

Virtualisation

Planning Stuf

IPD Guides
MAPS Tool Version 4.0
System Center Capacity Planner
3rd Party Tools
ROI Tool
Core IO Assessment Tool

Virtualisation

Server Virtualization

Virtualisation

Inherent Savings

Consolidao de Servidor
Energia eletrica
Impacto ambiental
Espao
Av.
Watts

kWh/ye
ar

Cost

KG of
CO2

Standalone Web Server x10

5,001

43,839

$4,00
7

34,084

Hyper-V Server with 10 Web


Server VMs

512

4,490

$410

3,491

4,489

39,349

$3,59
7

30,593

Server Setup

Savings

Virtualisation

Virtualisation

Server Virtualisation R2

Virtualisation

Virtualisation

Failover Cluster Configuration


Program
Purchase solutions that you know will
work
Microsoft recommends you purchase
from FCCP partners
Not required for Microsoft support, but
must still be logod

Look for solutions with this tagline:


Validated by Microsoft Failover Cluster
Configuration Program
Virtualisation

High Availability (Unplanned)


SAN

.
VHD
s.
VHD
s

.
VHD
s.
VHD
s

1. 2 Windows Server 2008 R2 (Ent / DC) com Hyper-V so


Ns de um Failover Cluster. Cada N tem 2 VMs
executando. As VMs so armazenadas no Storage.
2. N 1 Falha, e tambm indisponibiliza as 2 VMs.
3. Failover Clustering do Windows Server 2008 R2 garante
que as VMs iniciaro no N 2 do Hyper-V Cluster
Virtualisation

Live Migration (Planned)


SAN

.
VHD
s.
VHD
s

.
VHD
s.
VHD
s

1. 2 Windows Server 2008 R2 (Ent / DC) com Hyper-V so Ns


de um Failover Cluster. Cada N tem 2 VMs executando. VMs
esto armazenadas no Storagre.
2. Voce decide que deseja migrar uma VM executando no N 1
para o N 2
3. Live Migration do Windows Server 2008 R2 (Ent/DC) garante
que as VMs so migradas com o minimo de downtime.
Virtualisation

Cluster de Volumes
compartilhados
Cluster Shared Volumes (CSV)
Habiita multiplos ns a acessar um
unico volume compartilhado (LUN)
Fornece as VMs complete transparency
with respect to which nodes actually
own a LUN
Guest VMs can be moved without
requiring any drive ownership changes
No dismounting and remounting of
volumes is required
Virtualisation

Cluster Shared Volumes


C:\ClusterStorage\Volu
me1
C:\ClusterStorage\Volu
me2
C:\ClusterStorage\Volu
me3
C:\ClusterStorage\Volu
me4

SAN
LUN
1
LUN
3

LUN
2
LUN
4

C:\ClusterStorage\Volu
me1
C:\ClusterStorage\Volu
me2
C:\ClusterStorage\Volu
me3
C:\ClusterStorage\Volu
me4

1. Weve set up a WS2008 R2 Cluster, and created 4 LUNs on


the SAN.
2. Weve made the LUNs available to the Cluster
3. In Failover Clustering MMC, we mark the LUNs as CSVs.
4. Each Node in our Cluster then has a Consistent Namespace
for accessing the LUNs. We can now drop as many VMs on
each CSV as we like.
Virtualisation

Cluster Shared Volumes


Distributed file
access coordinated
through a node

VM
performing
direct I/O

Volume
mounted on
one node

SAN

LUN
5

VHD

VHD

VHD

Virtualisation

CSV Stats

CSV

Max Volume Size

256 TB

Min Volume Size

1 MB

Max # Partitions

128

LUN Concatenation

Hardware LUN Expansion

Data Migration

Seamless

Supported Hardware

Commodity

Storage Type

FC, iSCSI, NAS, SAS

Multi-path Support

Industry Standard

iSCSI Initiator Support

Industry Standard

Write I/O Performance

Fast!!

Metadata Updates

Fast!!

Max Number of LUNSs

2,000+

Directory Structure

Unrestricted

Max # of Files per Volume

4+ Billion

LUN Presentation

Flexible Storage Model

Price

Free!

Virtualisation

Redirected I/O
I/O rerouted based
on connection
availability
SAN Connectivity
fails I/O redirected
over network
Network Failure
I/O redirected via
other node
Node Failure
volume ownership
redirected
Virtualisation

Core Parking
One of many
power-related
enhancement
s
Consolidates
process onto
fewest cores
Suspends
remaining
cores
Virtualisation

Thin Provisioning

Guest OS needs to see 100GB


but may only consume % of tha

VM VHD

With Fixed VHDs, a 100GB VHD


would consume 100GB on SAN

With Dynamic VHDs, the physic


space consumed is only equal t
that consumed by Guest OS

Virtualisation

Windows Server 2008 R2


High Availability & Live Migration
Hyper-V
Cluster Shared Volumes with I/O Redirection

64 Logical Processor (Core) Support


64 GB RAM & 4vCPUs
Core Parking & Processor Compatibility Mode
Hot Add/Remove Storage
Thin Provisioned VHDs
Second Level Address Translation
Leveraging new Virtualisation technology built into next
generation of Intel (EPT) / AMD (NPT) chips

Boot from VHD


Networking Improvements
NIC Teaming, Jumbo Frames & TCP Offload

Virtualised I/O
Virtualisation

Hyper-V Architecture
Parent
Partition
VM

Worker
Processe
s
WMI
WMI
Provider

Provided by:

OS

Child Partitions

Hyper-V

Applicatio
ns

Applicatio
ns

Applicatio
ns

VM Service

Windows
Server 2008,
x64
Window
VS
s
P
Drivers

Windows
Kernel

VMBus

ISV / IHV /
OEM
MS/
XenSource

User Mode
Windows
NonWindows
ServerHypervisor
2008,
x64
Server 2008,
Windows
2003

Windows
Window
s
s Kernel
Kernel
Kernel

VS
C

VMBus

Aware OS

Xen-Enabled
Linux Kernel
Linu
x
VSC

Window
s
Drivers

Emulation

Hypercall
Adapter

VMBus

Kernel
Mode

Certified for Windows


Server Hardware
Hyper-V

Virtualisation

Windows Server 2008 R2 Hyper-V

Demo

Virtualisation

Virtualisation Licensing
By assigning a copy of
WS 2008 R2 Enterprise:
4 free running
Instances
Cumulative...

The same process with


WS 2008 R2
Datacenter:
Unlimited running
instances

Virtualisation Agnostic
Virtualisation

Virtualisation Support
Server Virtualisation Validation Program (SVVP)
Launched
Opportunity for non-MS Virtualisation platforms to be certified to
run MS Servers & Applications
http://www.windowsservercatalog.com/svvp/

Current list includes:

Cisco WAAS Virtual Blades 4.1


Citrix XenServer 5, Emb, 5.5
SUSE Linux Enterprise Server 10 SP2
VMware ESX 3.5 U2, U3, U4
VMware ESXi 3.5 U3, U4
VMware vSphere ESX 4.0, ESXi 4.0

But what does this mean for me?


Virtualisation

Virtualisation Support
KB957006
Microsoft Application Virtualization (AppV)

Microsoft Operations Manager (MOM)


2005

Microsoft BizTalk Server

Microsoft Search Server

Microsoft Commerce Server

Windows SBS / EBS 2008

Microsoft Dynamics AX, CRM, GP, NAV

Microsoft SQL Server 2005, 2008

Microsoft Exchange Server

Microsoft System Center Configuration


Manager

Microsoft Forefront Client Security

Microsoft System Center Data Protection


Manager

Microsoft Intelligent Application


Gateway (IAG)

Microsoft System Center Essentials

Microsoft Forefront Security for


Exchange (FSE)

Microsoft System Center Operations


Manager

Microsoft Forefront Security for


SharePoint (FSP)

Microsoft System Center Virtual Machine


Manager

Microsoft Host Integration Server

Microsoft Systems Management Server


(SMS)

Microsoft Internet Security and


Acceleration (ISA)

Microsoft Visual Studio Team System

Microsoft Office Communications Server


R2

Microsoft Windows HPC Server 2008

Virtualisation

Hyper-V Server 2008 R2


On par with WS2008 R2 Enterprise
1 TB RAM (up from 32GB)
64 Logical Processor (Core) Support (up
from 24)
Cluster Shared Volumes
Hot-Add / Remove Storage
Failover Clustering & Live Migration

Free
Doesnt require dedicated management
product
Manage from WS2008 R2 GUI / WinVirtualisation
7
RSAT

Hyper-V Server 2008 R2

Virtualisation

Side by Side Comparison


Hyper-V Server
2008

Hyper-V Server
2008 R2

WS2008 EE / DC
Hyper-V R2

Yes

Yes

Yes

Standalone Product

Standalone Product

Operating System

Up to 4

Up to 8

Up to 8 (EE) | Up to
64 (DC)

24 (with QFE)

64

64

Physical Memory

32GB

1TB

1TB

VM Migration

None

Failover + Quick &


Live

Failover + Quick &


Live

CMD Line, Text


Based Config Utility,
Remote GUI
Management

CMD Line, Text


Based Config Utility,
Remote GUI
Management

CMD Line, Local GUI


(Hyper-V Manager
MMC), Remote GUI
Management

x64 Only &


Hypervisor
Based
Product Type
Physical Sockets
Physical Core
Support

Administrative
UI
Management
SCVMM
Managed?
Free Windows
Guests?

Existing Management Tools


Yes (SCVMM 2008 &
R2)

Yes (SCVMM 2008 R2)

Yes (SCVMM 2008 R2)


4 (EE) | Unlimited
Virtualisation
(DC)

Hyper-V Server 2008 R2

Demo

Virtualisation

Gerenciamento

Virtualisation

Gerenciamento de ambiente
virtual

Virtualisation

Virtualisation Management

Desktop
Management
Server
Management
Device
Management
OS Deployment
App Deployment
Patch
Management
Asset Intelligence
Desired
Configuration

Multi-Hypervisor
Management
P2V & V2V
Quick Storage
Migration
OpsMgr Integration
Intelligent Placement
Library & Web Portal
AD Integration
PowerShell

Cross-Platform
Monitoring
Service Level
Monitoring
Automate Routines
SCVMM Integration
3rd Party Integration
End to End Service
Management
Reporting
Client Monitoring

Protect Hyper-V
Protect SharePoint
Protect SQL
Protect Exchange
Physical & Virtual
X-Forest Protection
DR & Cloud Integration
Disk & Tape Backup
Continuous Data
Protection

Virtualisation

System Center

Demo

Virtualisation

System Center Licensing


(Suites)
Server Management Suite
Enterprise
Full Application and Server
Management (P&V)

Server Management Suite


Datacenter
Full Application and Server
Management (P&V)

Virtualisation

SMSe (Enterprise) from 1st July


Designed for Lightly
2009

virtualised servers
By assigning an SMSe to
the Physical box, it can be:

Patched/Updated (SCCM)
Monitored (SCOM)
Backed Up (SCDPM)
VMM Host (SCVMM)
VMM Server (SCVMM)

Retails @ $1192 per SVR


SMSe grants 4 Virtual
OSEs per SMSe
E.g. 4 VMs or 3 VMs & Host

Virtualisation Agnostic
Virtualisation

SMSd (Datacenter) from 1st July


Designed for Heavily
2009

virtualised servers
By assigning an SMSd to
the Physical box, it can
be:

Patched/Updated (SCCM)
Monitored (SCOM)
Backed Up (SCDPM)
VMM Host (SCVMM)
VMM Server (SCVMM)

Retails @ $744 per CPU


SMSd grants unlimited
virtualisation OSE rights...
Virtualisation Agnostic
Virtualisation

Retail Pricing Summary


Area

Description

Price (Estimated Retail


Price) in $

Server Editions:

Windows Server 2008 Data Center


Edition

$2999 per Processor

Windows Server 2008 Enterprise


Edition

$3999 per Server

SMSe (Per Host)

$1192 (host + 3 VMs or 4


VMs)

SMSd (Per CPU)

$744

SCDPM 2007 Server

$579

SCOM 2007 R2 SVR

$579

SCCM 2007 R2 SVR

$579

Virtualisation
Management
Licenses:
Management
Server Licenses:

SCVMM 2008 R2 Workgroup (<= 5


$505
Hosts)
SCVMM 2008 R2 (>5 Hosts, Per
$869
Host)
SCDPM 2007, SCCM 2007 R2,
http://www.microsoft.com/windowsserver2008/en/us/pricing.
Agents:
$431 per agent
SCOM 2007 R2 Agent(s) (Per OSE)

aspx

Virtualisation

Enterprise Example
3-Node (2CPU)
Cluster

This example includes Windows Server


OS licenses (4). Price Based on
advertised retail priceServer
as at 01/07/09
Management

SERVER

Suite Enterprise

VIRTUALISATION

Management Servers

3 x WS2008 R2
Enterprise @
$3999 per Host =
$11,997

Total Cost:
$17,310

3 x SMSe @ $1192 per Host


= $3576

1 of each @ $579 each =


$1737

Virtualisation

Datacenter Example
3-Node (2CPU)
Cluster

This example includes unlimited


Windows Server OS licenses for each
node. Price Based on advertised
retail
Server Management
price
as at 01/07/09
Suite Datacenter
SERVER
VIRTUALISATION

Management Servers

3 x WS2008 R2
Datacenter @
$2999 per CPU =
$17,994

Total Cost:
$24,195

6 x SMSd @ $744 per CPU =


$4464

1 of each @ $579 each =


$1737

Virtualisation

No Guest OS Example
3-Node (2CPU)
Cluster

This example includes no Windows


Server OS licenses for each node.
Price Based on advertised
retail
price
Server
Management
as
at 01/07/09
Suite
SERVER
VIRTUALISATION

Management Servers

Cost = $0

Total:

$5313 (SMSe) / $6201


(SMSd)

3 x SMSe @ $1192 per Host


= $3576
6 x SMSd @ $744 per CPU =
$4464

1 of each @ $579 each =


$1737

Virtualisation

SMB Example
Up to 5-Node (2CPU)
Cluster

This example includes no Windows Server


OS licenses for each node. Price Based on
advertised retail price as at
01/07/09
Management

SERVER

VIRTUALISATION

Cost = $0

Fully Featured
Workgroup Edition
for up to 5 Physical
Hosts & Unlimited
VMs= $505

Total:

$0 / $505

Virtualisation

Desktop Virtualisation

Virtualisation

Desktop Virtualisation
Technologies

VDI

Virtualisation

Windows Virtual PC
Free Download
Run multiple
OSs on
Desktop/Laptop
Great for:
Tech Support
Legacy
Applications
Training

4 Free local VMs


with Vista Virtualisation

MED-V
Microsoft Enterprise Desktop
Virtualisation
Designed to solve App -> OS
Incompatibility
Seamless & Controlled Deployment
of
Virtual PC Images:
Centrally Managed Virtual Images
Invisible to End User
Usage Policy & Data Transfer Control
Virtualisation

Virtual PC 2007 Experience


Introduction
of VM
Concepts to
User

A very
obvious
second OS
environmen
t

Virtualisation

MED-V Experience
Integrated
XP (VM)
Apps into
Local Vista
OS
Start Menu
Integration

Virtualisation

MED-V Beta

Demo

Virtualisation

Virtual Desktop Infrastructure

Improve desktop flexibility, business agility and data control by


moving to a Virtual Desktop Infrastructure, running on Hyper-V.

Virtualisation

Microsoft VDI

Citrix XenDesktop
Quest vWorkspace 6.0
Brocade / Ericom /
VDIworks
Unisys / SunRay

Virtualisation

Licensing VDI Part 1 (VECD)


SA Devices

DATACENTER

Non- SA Devices

Device Covered by SA
Buy VECD for SA
Retails @ $23 per
Device
Allows MDOP Bolt-On

Choose your
Hypervisor(s)
Choose your Guest
OSs
Mix & Match Guest
OSs
Run Unlimited
Guests

Device Not Covered by


SA
Buy VECD (or Upgrade
to SA)
Retails @ $110 per
Device
Allows MDOP Bolt-On

Typically
Laptops/Desktops

Includes Thin Clients

Each VECD licensed device is covered to


access up to 4 vDesktops at once,
running in the Datacenter

Virtualisation

Licensing VDI Part 2 (VDI


Suites)

(VDI)

$21 Per
Device +
VECD

(VDI & nonVDI)

$53 Per
Device +
VECD

Virtualisation

Microsoft VDI with RDS

Demo

Virtualisation

Application
Virtualisation
Virtualisation

Application Virtualisation
Technologies

Virtualisation

Application Virtualisation 4.5

Demo

Virtualisation

Microsoft Desktop Optimisation


Pack

Translating software inventory


into business intelligence

Proactively managing application


and operating system failures

Enhancing group policy through


change management

Powerful tools to accelerate


desktop repair

Dynamically streaming software


as a centrally managed service

Simplifying deployment and


management of Virtual PCs

Virtualisation

Presentation
Virtualisation
Virtualisation

Remote Desktop Services

With Remote Desktop


Services, you can easily
provide individual
applications, or full OS
environments to your end
users, over the network.

Virtualisation

Presentation Virtualisation
PRESENTATION
VIRTUALISATION

Becomes...
PRESENTATION
VIRTUALISATION

Huge investments
still being made in
TS / RDP
Greater ROI than
VDI
Sessions Per
Server > Desktops
per Server
Great for Majority
Extended by
Virtualisation
XenApp

Introducing Remote Desktop


Services
TS RemoteApp
TS Gateway
TS Session Broker
TS Web Access
TS Easy Print
Terminal Server

RemoteApp
RD Gateway
RD Connection Broker
RD Web Access
RD Easy Print
RD Session Host
RD Virtual Host
RemoteApp & Desktop
Connections
Virtualisation

Key Benefits

Simplicity & Manageability


Deployment
Flexible Working
Data Security
Increase Efficiency
Speed Up Application Access

Virtualisation

RDS Architecture

RD Web
Access

RD Client

RD
Gateway
Active
Directory

RD Session
Host

RD
Connection
Broker

RD
Virtualization
Host
Licensing
Server

Virtualisation

RD Virtualisation Host

Personal Virtual Desktops

RD
Client

RD
Connection
Broker

Pooled Virtual Desktops


Active
Directory

Virtualisation

Personal & Pooled Desktops

Personal Virtual Desktops


One OS image per user
Administrator access, desktop
customisable
User state typically part of the image

Personal Virtual Desktops

Personal Virtual Desktops


Shared OS images, identically configured
No administrator access
User state temporary - discarded at
session end

Pooled Virtual Desktops

Virtualisation

User Experience
Enhancements
True Multi-Monitor Support (16)

Bi-Directional Audio
Windows Media Redirection
Remote Aero Glass
Enhanced Bitmap Acceleration
Direct2D & Direct3D Redirection
Easy Print
RDP Performance Enhancements
Virtualisation

RD Session Host
Enhancements
CPU Fairshare
WSRM provides weightings

Improved Management
PowerShell Integration
Roaming Profile Cache Management
MSI Compatibility Improvements
Platform Investments
IP Virtualisation Session/Program
Virtualisation

Windows Server 2008 R2: RDS

Demo

Virtualisation

RDS Gateway
Allows secure seamless connection without VPN

Tunnels RDP over HTTPS - same as Outlook


Place RDS behind multiple firewalls without opening
multiple firewall ports other than 443

Provides Policy Control over:


Who can access what & optionally enforce smart card
use and restrict device redirection

Allows access to:

RDS Remote Desktops and Programs, Client and Server


Remote Desktop

When should RDS Gateway be used in place of


VPN?

When no local copy of data is required & when bandwidth


or application characteristics makes VPN experience poor
Virtualisation

RDS Gateway
Policies
1
2
3
4

Connection
Client
External
RDS
Gateway
tries
firewall
to
Complete
connect
authenticates
stripsto
HTTP
access
RDSuser
&Session
passes
to / checks
RDP
Hosts
health
to
RDS Gateway
Machines/RDS/Web
Access
3

RDS Gateway

Client
2

XP/Vista/7
4
RDS Session
Host
internet

RDS Web
Access
perimeter

internal
Virtualisation

RDS Easy Print


4

3
4
1
2
3

The document
User
RDS
Easy
opens
wants
Print
to
Microsoft
print
prints
utilizes
the
to
Word
the
document
theclient
running
local side
printer
tovia
the
print
RDS
local
drivers, and the full
printer
print
UI appears
Virtualisation

Microsoft Virtualisation
Solutions
PRESENTATION

SERVER

VIRTUALISATION

VIRTUALISATION

DESKTOP

VIRTUALISATION

APPLICATION

VIRTUALISATION

Virtualisation

To Finish...
Microsoft
delivers endto-end
Virtualization
solutions
System Center
provides the tools for
integrated
Infrastructure
Management
"Virtualization
without good
management is more
dangerous
than not using
virtualization in the
first place"

Virtualisation

Resources & Blogs

Virtualisation

Resources & Blogs Part I


Matts blog
http://www.mattmcspirit.co.uk
MS Virtualisation
http://microsoft.com/virtualisation
System Center http://www.microsoft.com/systemcen
ter
VECD http://www.microsoft.com/virtualizati
on/solution-product-vecd.mspx
Virtualisation

Resources & Blogs Part II


MDOP http://www.microsoft.com/windows/products/wind
owsvista/enterprise/benefits/tools.mspx
Terminal Services http://www.microsoft.com/windowsserver2008/en
/us/presentation-terminal.aspx
Evaluate WS2008 http://www.microsoft.com/windowsserver2008/en
/us/try-it.aspx
VDI Demo http://www.microsoft.com/windows/products/wind
owsvista/enterprise/vecddemo/default.html
Virtualisation

Resources & Blogs Part III


Windows Virtualisation Blog http://blogs.technet.com/virtualization/
Windows Server Blog http://blogs.technet.com/windowsserver/
TS Blog - http://blogs.msdn.com/ts/
Performance Tuning for WS2008 http://www.microsoft.com/whdc/system/sy
sperf/Perf_tun_srv.mspx
System Center Blog http://blogs.technet.com/systemcenter/
Virtualisation

2009 Microsoft Corporation. All rights reserved. Microsoft, Windows and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to
changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date
of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Você também pode gostar