1 / 49

RemoteFX - VDI: Implementation Best Practices and Lessons Learned

VIR312. RemoteFX - VDI: Implementation Best Practices and Lessons Learned. Rand Morimoto President, Convergent Computing Author, Windows 2008 R2 Unleashed http://www.cco.com. Agenda. Quick Background on Microsoft VDI & RemoteFX Behind the Scenes on How MS-VDI & RemoteFX Work

sven
Download Presentation

RemoteFX - VDI: Implementation Best Practices and Lessons Learned

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. VIR312 RemoteFX - VDI: Implementation Best Practices and Lessons Learned Rand Morimoto President, Convergent Computing Author, Windows 2008 R2 Unleashed http://www.cco.com

  2. Agenda • Quick Background on Microsoft VDI & RemoteFX • Behind the Scenes on How MS-VDI & RemoteFX Work • RDS or VDI? • Integrating Traditional RDS with Microsoft VDI • Integrating RemoteFX into an MS VDI Environment • Real World Case Scenarios and Lessons Learned • RemoteFX Configuration Tips

  3. Quick Background on Microsoft VDI & RemoteFX

  4. Microsoft VDI and RemoteFX • Microsoft VDI • Running Windows Client (ie: Windows 7) on a centralized host server (like the traditional Terminal Services / Citrix model, but guest sessions are dedicated to the remote client, not shared, thus better performance, security, compatibility, and operations) • Endpoint client runs a simple thin client, legacy system, tablet, unmanaged device, etc • RemoteFX • Integrated into Windows Server 2008 R2 SP1 VDI • Provides full motion (HiDef) video and accelerated graphics (ie: Flash, Silverlight, etc) within a VDI guest session

  5. Demo – Windows VDI demo

  6. Demo – RemoteFX demo

  7. Behind the Scenes on How MS-VDI & RemoteFX Work

  8. Remote Desktop Services (RDS)

  9. Microsoft Remote Desktop Services (RDS) & VDI RD Virtual Host RD Session Host • Unified Admin and User experience for • RD Session Host (1 host / many guests – traditional Terminal Services / Citrix model) • RD Virtualization Host (dedicated (VDI) guest session for each user) • Dedicated VDI Guest Session • Just a Windows client (ie: Win7) VHD running in HyperV that a remote client connects to • Two options for VM-based desktops • Pooled virtual desktop (shared group of dedicated guest sessions) • Personal virtual desktop (truly dedicated guest session just for each specific user) • Richer experience (multi-monitor, multi-media, bi-directional audio, rich graphics) • Better App Compatibility thru App-V for RDS Pooled VMs Personal VMs Multi-user Shared Image Sessions with Server OS (Session-per-user) VMs with Client OS (VM-per-user) RD Session Broker

  10. Microsoft VDI = Windows Client in Hyper-V • How’s it work • HyperV Host running Windows Client (ie: Win7) guest sessions that a remote client connects to User PC or Thin Client Hyper-V Host Virtual Desktop Presentation • Key Benefits • Desktop experience is centralized and gets delivered to user’s PC or thin client User State • Access to data and applications from any device in the organization • Improve data security and compliance • Simplify management and deployment of applications Hyper-V Applications Server OS OS Virtual Machine Manager is a comprehensive management solution for the virtualized datacenter. Windows Server Hyper-V – Optimized hypervisor to run virtualized Servers or virtualized Clients

  11. Demo – HyperV Console / VDI Guest Auto-Start demo

  12. Pooled vs. Personal Virtual Desktops Personal Virtual Desktop: Day 1 Day 2 Day n Day n Day 2 User 1 Clone Golden Image Day n Day 2 User n User Profiles Pooled Virtual Desktop: Pool Day 1 Day 2 Day 3 User 1 1 User 1 etc Golden Image Clone n User 1

  13. RDS or VDI?

  14. RDS Deployment options: RDS vs. VDI User requirements typically dictates mode chosen Remoting protocol is common factor for both models Expect to have mix of both models

  15. Remote Desktop Services - RemoteApp Push GP-published applications • MSI packages provide setup and deployment integration • Active Directory Group Policy • Systems Management Server • Manual • Shortcuts published to • Desktop • Start menu • Add/remove programs AD Explorer.exe or Rdpshell.exe Rdpinit.exe = RDP shell login application Publish RDP Client Publish manually WinSrv 2008 R2 RDS Session Host

  16. HTTPs RDP AD Mode Single Server Mode Remote Desktop Services - Web Access Active Directory RDS Web Access RDP Client Session Directory Load Balancer RDS Session Host

  17. IP Virtualization Modes Per-program Per-session DHCP integration Virtual IP addresses will be obtained from DHCP Scheduling mechanism fairly distributes CPU cycles across sessions Dynamically distributes cycles based on number of active sessions and their load Applied at kernel level RDS IP Virtualization 10.0.0.1 10.0.0.2 10.0.0.3 RD Server Fair Share CPU Scheduling 10.0.0.31 10.0.0.32 10.0.0.33 Backend Server

  18. Microsoft VDI • Dedicated guest session for remote user • Better security and user isolation • Can be 32-bit or 64-bit guest • Addresses compatibility issues with 64-bit hosted server configurations • C> is private to the user • Improved security / Addresses apps that write directly to C> for a given application per user (old INI based apps) • Dedicated performance • Isolated transactions per guest session

  19. Integrating Traditional RDS with Microsoft VDI

  20. Practical Real World – Use of Both RDS & VDI Organizations Typically Mix & Match Options

  21. RDS Gateway – Integrated ApproachRedirector Identifies RDS (shared) vs VDI (dedicated guest) per User RDS Connection Broker(s)

  22. Demo – Configuring RDS vs VDI in AD Users and Computers demo

  23. Integrating RemoteFX into an MS VDI Environment

  24. New in Windows Server 2008 R2 SP1 Dynamic Memory RemoteFX Dynamic Memory allows the allocation of a range of memory (min and max) to individual VMs, enabling the system to dynamically adjust the VM’s memory usage based on demand. This provides more consistency in system performance enabling better manageability for administrators Microsoft RemoteFXleverages the power of virtualized graphics resources and advanced codecs to recreate the fidelity of hardware-assisted graphics acceleration, including support for 3D content and Windows Aero, on a remote user’s device. This allows for a local-like, remote experience.

  25. RemoteFX – A Game Changer in Thin Client Computing Enabling Technology Organizational Value Full rich Windows experience vGPU Remoting any content Host side rendering High fidelity user experience Intelligent screen capture and hardware-based encode Full range of client devices Bitmap remoting and hardware-based decode

  26. RemoteFX – A Game Changer in Thin Client Computing Enabling Technology Differentiating Innovation • Content and GPU independent intercept & rendering • Single GPU for multiple Hyper-V guests vGPU • Applications run at full-speed on host Host side rendering • Screen deltas sent to client based on network and client availability Intelligent screen capture and hardware-based encode • CODEC designed for text and image content • Single CODEC for VDI and RDS sessions • HW and software manifestations by design Bitmap remoting and hardware-based decode

  27. Remote Desktop Services with RemoteFX Windows Server 2008 R2 SP1 Windows Server 2008 R2 • Scenario: VDI desktop replacement for connected knowledge workers on Windows 7 with good connectivity. • New Features in WS08 R2 SP1: Host-side rendering capabilities enabling rich media UX on broad range of end point devices • Scenarios: RDP 7.1 with RemoteFX available for VDI and session virtualization • Scenario: Multimedia application enhancements for remote users primarily accessing RDS from rich clients • New Features in WS08 R2: Support for multiple screens, bi-directional audio, Windows Media Player redirection and enhanced bitmap remoting • Scenarios: RDP 7 for VDI and session virtualization

  28. Demo - High Definition Video / Graphics Experience within a Thin-client Guest Session demo

  29. RemoteFX OS & System Requirements • Hyper- V Host • Windows Server 2008 R2 with SP1 • (Hyper-v, Standard, Enterprise, and DataCenter editions) • VDI Virtual Machine • Windows 7 Enterprise with SP1 • Windows 7 Ultimate with SP1 • Remote Client Device • Windows 7 with SP1 • Devices with RDP 7.1

  30. RemoteFX Host Servers • Server requirements • SLAT capable CPUs • PCI-E x16 based server motherboards • HP DL 370 has this • External rack mounted GPU chassis can be used with 1U servers • Possible server SKUs • IBM iDataPlex • Dell PowerEdge R610, R710, M610x • HP DL 370 RemoteFX GPU Support

  31. SCVMM Console Configuration

  32. GPU Information

  33. RemoteFX USB Devices • Generic USB redirection • Allows you to redirect virtually any USB device transparently over RDP • Support for more devices than previously • Support for USB devices with thin clients • No client drivers necessary • Applications are transparent to redirected devices • Only one session can use USB device at a time

  34. Real World Case Scenarios & Lessons Learned

  35. Microsoft VDI for Specialized Thin Client Users • Most users in the organization use traditional RDS / Citrix (host server / many guests sharing the RDS host) • However, specialized users (ie: HR, Legal, VP/Exec) need higher security or dedicated performance or run a specific 32-bit client only application • Same centralized access point for RDS and VDI users • Most users redirect to the RDS server farm for shared access • Specialized user(s) redirect to dedicated VDI guest sessions • Same experience for all; Better isolated results for the specialized user(s)

  36. Microsoft VDI for USB Redirection • With Microsoft VDI USB Redirection, organizations can now utilize 2-way USB access • Implemented for audio / telephony (Call Center) • Implemented for secured control communications (government / Dept of Defense / user in unsecured location) • Maintains security and control

  37. Microsoft VDI for RemoteFX • Full motion (high definition) video (Training of employees over a centralized VDI mode) • Better performance for end client for highly graphical applications

  38. RemoteFX Configuration Tips

  39. Setting up the client… • The client must support RDP 7.1 • USB redirection must be enabled via group policy • GP update, followed by reboot is required Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Connection Client\RemoteFX USB Device Redirection

  40. Setting up the VM… • RemoteFX must be enabled on the VM • Group Policies are available to control USB redirection • USBR can be enabled/disabled completely Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Device and Resource Redirection

  41. Setting up the VM… More granular control of redirected devices can be achieved via Device Installation Restrictions Computer Configuration\Administrative Templates\System\Device Installation Restrictions

  42. Automatically Powering on Guest Sessions • STARTVMs.PS1 • # the get-wmiobject identifies the guest session • # the requeststatechange (2) turns on the session (a 3 powers off, 4 shutdown, 32769 saves) • # the |out-null suppresses the "return values" and makes it clean • # instead of read-host, could have done a $null = $Host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") for anykey, but I liked the specific "return key" as the options • # also the readkey function doesn't display in ISE but will actually work • $vm=get-wmiobject -namespace root\virtualization -class msvm_computersystem | where {$_.elementname -eq "32-Guest Session 1"} • write-host -foreground Green "Starting VM $($VM.ElementName) now" • $vm.requeststatechange(2) |out-null • Read-host "Press Enter to Start Rest of the Images" • $vm=get-wmiobject -namespace root\virtualization -class msvm_computersystem | where {$_.elementname -eq "32-Guest Session 2"} • write-host -foreground Green "Starting VM $($VM.ElementName) now" • $vm.requeststatechange(2) |out-null • $vm=get-wmiobject -namespace root\virtualization -class msvm_computersystem | where {$_.elementname -eq "32-Guest Session 3"} • write-host -foreground Green "Starting VM $($VM.ElementName) now" • $vm.requeststatechange(2) |out-null PowerShell HyperV On/Off Scripts: http://www.networkworld.com/community/morimoto

  43. Related Content • Breakout Sessions • VIR311 – “Planning and Deploying VDI and Remote Desktop Services”, Weds 3:15pm and Thurs 3:15pm • VIR313 – “Microsoft RemoteFX GPU Virtualization Technology Deep Dive”, Weds 5pm • VIR318 – “How to Setup App-V and Get the Most out of your RDS and VDI Deployments”, Tuesday 3:15pm • VIR401 – “Microsoft RDP and RemoteFX, ICA, EOP, etc: VDI Remoting Protocols Turned Inside Out”, Thursday 1pm • Interactive Sessions • VIR371-INT “The Latest Best Practices in Virtualization Remote Desktop Services and Virtual Desktop: the Virtual Reality Check”, Weds 10:15am • VIR372-INT “RemoteFX: Lessons Learned from the Windows Server 2008 R2 SP1 TAP Program”, Thursday 10:15am

  44. Track Resources • Don’t forget to visit the Cloud Power area within the TLC (Blue Section) to see product demos and speak with experts about the Server & Cloud Platform solutions that help drive your business forward. • You can also find the latest information about our products at the following links: • Cloud Power - http://www.microsoft.com/cloud/ • Private Cloud - http://www.microsoft.com/privatecloud/ • Windows Server - http://www.microsoft.com/windowsserver/ • Windows Azure - http://www.microsoft.com/windowsazure/ • Microsoft System Center - http://www.microsoft.com/systemcenter/ • Microsoft Forefront - http://www.microsoft.com/forefront/

  45. Resources • Connect. Share. Discuss. http://northamerica.msteched.com Learning • Sessions On-Demand & Community • Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers http://microsoft.com/technet http://microsoft.com/msdn

  46. Complete an evaluation on CommNet and enter to win!

More Related