building a vdi environment with hyper-v r2 and scvmm 2008 r2 part 1

23
Building a VDI environment with Hyper-V R2 and SCVMM 2008 R2 Part 1 Lai Yoong Seng [email protected] www.ms4u.info

Upload: rajeevpalakkad

Post on 27-Nov-2014

245 views

Category:

Documents


8 download

TRANSCRIPT

Page 1: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Building a VDI environment with Hyper-V R2 and SCVMM 2008 R2 Part 1

Lai Yoong [email protected] www.ms4u.info

Page 2: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

AgendaIntroductionInfrastructure ConsiderationGuest VM ConsiderationDemo

Page 3: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Introduction

Page 4: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

What is Virtual Desktop Infrastructure (VDI) ?

Desktop Workload(OS, Apps, Data)

4

Virtual Desktop Infrastructure (or VDI) is an architectural model where a client OS runs in a server-based virtual machine

environment and interacts with the user via a network connection.

Page 5: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Remote Desktop Services (RDS)

RD Web Access

RD GatewayRD Connection

Broker

Active Directory® Licensing

Server

RD Virtualization Host

RD Session Host

RD Client

RAD Connectio

ns

App-V for RDS

Page 6: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Infrastructure Considerations

Page 7: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Building the BaseWhat do I need to start?

Hardware required:One or two appropriately specified servers for the number of users required

Example: Preferably dual quad Nehalem or equivalent AMD based processorOptional: Second server purely for client VM’s16-32GB or more of RAMRAID 5 (preferably RAID 0+1) disk subsystem

One or more hardware clients (to the scale of the POC)

Software required –Windows Server 2008 R2 EnterpriseWindows 7 Add System Center Virtual Machine Manager for improved VM management

Page 8: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Infrastructure RequirementServer Components:-

Active DirectoryRemote Desktop Services roles should install using Windows Server 2008 R2Digital CertificateVirtualization of RDS roles supported !

Client components:-Thin or rich clientInternet Explorer 6 or laterRemote Desktop Connection client version 6.1Reliable network connection

Page 9: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Guest VM Considerations

Page 10: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Delivering the Virtual Desktop Image

Static (“Persistent/Person

al”)Virtual Desktops

Dynamic (“Non-Persistent”)

Virtual DesktopsProfile Virtualization

(Roaming Profiles, Folder Re-direction)

Application Virtualization

(Streamed Apps)

Presentation Virtualization(Hosted Apps)

Page 11: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Static Virtual Desktop Requirement • Schema must be Windows Server 2008• Domain functional level should be Windows

2000 Server native mode

Page 12: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Static Virtual Desktop Requirement

Static / Personal Virtual Desktop

Virtual Desktop Pool

• VM name must be in FQDN format

Page 13: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

• Building VDI with Remote Desktop Services (RDS)

Demo

Page 14: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Demo Infrastructure

Page 15: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Demo Virtual MachineComputer name Operating System Application and Services

MS4UDC Windows Server 2008 R2

Active Directory Domain Services, DNS, DHCP

RDSGatewayWeb Windows Server 2008 R2

RD GatewayRD Web Access

RDSVH / LAIDT Windows Server 2008 R2

RD Virtualization HostHyper V

RDSBroker Windows Server 2008 R2

RD Broker

RDSRedirect Windows Server 2008 R2

RD Session Host (Redirector)

VDI01-Win7.contoso.com

Windows 7 Personal Virtual Desktop

VDI02-Win7.contoso.com

Virtual Desktop Pool

VDI03-Win7.contoso.com

Virtual Desktop Pool

Page 16: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Initial ConfigurationCreate VDI user accountsCreate VDI GroupInstall RD Virtualization HostInstall RD Session Host (Redirect)Install RD Connection BrokerInstall RD Web Access & RD Gateway

Page 17: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Configure VDI Client VMEnable Remote desktop and Add VDIGroup to local Remote Desktop User GroupAllow Remote RPC

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer

AllowRemoteRPC = 1 Create a firewall exception to allow remote service managementAdd permission to the RDP Protocol using wmic command.Restart the client VMCreate snapshot on the VM

Page 18: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Configure RD Session HostEnable Remote Desktop and Add VDIGroup to the local Remote Desktop User GroupOn RDSRedirect VM,Add RDSBroker to the TS Web Access ComputerOn RDSBroker VM, Add RDSRedirect to the Session BrokersConfigure virtual machine redirection mode on RD Session Host Configuration

Page 19: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Configure RD Connection Broker

Add RDSGatewayWeb to the TS Web AccessUsing RD Connection Manager

Add RD Virtualization HostAdd RD Session HostAdd RD GatewayCreate Personal Virtual DesktopCreate Virtual Desktop Pool

Page 20: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Configure RD Web Access & RD Gateway

Add RDSBroker as the source to useOn RDSRedirect VM, Add RD Gateway into Remote App ManagerExport RD Gateway SSL certificateInstall SSL certificate into client computerVerify and Testing

https://rdsgatewayweb.ms4u.info/rdweb

Page 21: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

SummaryIntroduction on VDIInfrastructure ConsiderationGuest VM ConsiderationDemo – Building VDI using Remote Desktop Services

Page 22: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

ResourcesGetting Started:- Remote Desktop Services

http://technet.microsoft.com/en-us/library/dd736539(WS.10).aspx Lai’s Blog:- Building VDI using Remote Desktop Services (RDS)Part 1 - http://www.ms4u.info/2010/03/part-1-building-vdi-using-remote.html Part 2 - http://www.ms4u.info/2010/03/part-2-building-vdi-using-remote.html Part 3 - http://www.ms4u.info/2010/04/part-3-building-vdi-using-remote.html Part 4 – http://www.ms4u.info/2010/04/part-4-building-vdi-using-remote.html Part 5 - http://www.ms4u.info/2010/05/part-5-building-vdi-using-remote.htmlPart 6 – Stay tune..

Video:-Access VDI using RemoteApp and Desktop Connectionhttp://www.youtube.com/watch?v=Ub7Cdz-L_RQ Access VDI using Web Interfacehttp://www.youtube.com/watch?v=GXM4V8Q819M

Page 23: Building a VDI Environment With Hyper-V R2 and SCVMM 2008 R2 Part 1

Q & A