Vdi in-a-box

1,775 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,775
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
59
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Vdi in-a-box

  1. 1. VDI-in-a-Box!Microsoft Desktop Virtualization for Smaller Scenarios and Businesses<br />Greg Shields<br />Senior Partner & Principal Technologist<br />www.ConcentratedTech.com<br />
  2. 2. This slide deck was used in one of our many conference presentations. We hope you enjoy it, and invite you to use it within your own organization however you like.<br />For more information on our company, including information on private classes and upcoming conference appearances, please visit our Web site, www.ConcentratedTech.com. <br />For links to newly-posted decks, follow us on Twitter:@concentrateddon or @concentratdgreg<br />This work is copyright ©Concentrated Technology, LLC<br />
  3. 3. IT’s Mission Statement,Compliments of…Well…Me.<br />“It is the core mission of IT to create, manage, and ensure the secured access to business applications and data.”<br /> Greg Shields,<br /> TechNet Magazine,<br /> February, 2010<br />
  4. 4. Fulfilling that Mission<br />We IT Pros troubleshoot desktops.We IT Pros fix printers.We IT Pros install software.We IT Pros keep the network running.<br />But above all else, our job is to create and manage that secured access to our business’ applications and data.<br />Without it, our business cannot operate.<br />Without it, we have no job.<br />
  5. 5. DISCUSS: How Do We Do That?<br />What mechanisms are available today to deliver applications and data to users?<br />
  6. 6. IT 2.0:Delivering Applications and Data<br />What mechanisms are available today to deliver applications and data to users?<br />Local desktops & laptops<br />File servers and shares<br />App-V<br />Remote Desktop Services<br />Virtualized RDS<br />RemoteApp for Hyper-V<br />XP Mode / MED-V / Client Virtualization <br />VDI, Pooled Virtual Desktops<br />VDI, Personal Virtual Desktops<br />Increasing Complexity<br />Increasing Management Burden<br />Increasing Overhead Cost<br />
  7. 7. Lightweight to HEAVYweight Spectrum<br />Local desktops & laptops<br />File servers and shares<br />Remote Desktop Services<br />App-V<br />Virtualized RDS<br />RemoteApp for Hyper-V<br />XP Mode / MED-V / Client Virtualization <br />VDI, Pooled Virtual Desktops<br />VDI, Personal Virtual Desktops<br />Lightweight<br />HEAVYweight<br />
  8. 8. Putting the pieces together<br />Architecting a VDI Infrastructure<br />
  9. 9.
  10. 10.
  11. 11.
  12. 12.
  13. 13.
  14. 14.
  15. 15.
  16. 16.
  17. 17.
  18. 18. SOLUTION: Right-size Application Delivery to User Needs<br />IT’s 2.0 approach concerns itself as much with how the app is delivered as the app itself.<br />Direct Installation<br />Streamed Installation<br />RDS session hosting<br />VDI<br />VDI can be an excellent solution forapps that don’t work atop XP/2008!<br />
  19. 19. SOLUTION: Right-size Application Delivery to User Needs<br />For small scenarios and needs, VDI-in-a-Box aggregates Microsoft’s VDI functions onto a single server.<br />With RemoteApp for Hyper-V, users needn’t know they’re on a hosted desktop.<br />RDS<br />Conn. Broker<br />Hyper-V<br />Web Access<br />
  20. 20. Building a VDI-in-a-box<br />Extended Demo<br />
  21. 21. Step 1: Install Components<br />Install RDS Role Services to Server<br />RD Session Host<br />RD Virtualization Host (adds Hyper-V)<br />RD Connection Broker<br />RD Web Access (adds IIS)<br />RD Licensing*<br />
  22. 22. Step 2: Generate & Install Certs<br />Remote Desktop Connection Manager<br />Virtual Desktops: Resources & Configuration<br />Digital Signature<br />Sign with Digital Certificate<br />This will install a self-signed certificate.<br />The usual caveats about using self-signed certificates apply here.<br />
  23. 23. Step 3: Spoof the Trust on this Cert<br />Use Group Policy<br />Computer Configuration | Policies | Admin Templates | Windows Components | RDS | Remote Desktop Connection Client<br />Specify SHA1 thumbprints of certificates representing trusted .rdp publishers.<br />Enter the certificate thumbprint.<br />Doing this forces RDS to trust your self-signed certificate.<br />
  24. 24. Step 4: Create and ConfigureVirtual Machines<br />Install Windows 7 or Windows XP machines.<br />Install Integration Services (if necessary).<br />Enable Remote Desktop.<br />Configure the Remote Desktop Users Group.<br />Enable Remote RPC for RDS<br />HKLMSystemCurrentControlSetControlTerminalServer; AllowRemoteRPC = 1<br />Enable Firewall Exceptions<br />Remote Desktop Services<br />Remote Service Management<br />
  25. 25. Step 4½: Create and ConfigureVirtual Machines<br />Add RDP Protocol Permissions.<br />wmic/node:localhost RDPERMISSIONS whereTerminalName="RDP-Tcp" CALL AddAccount "contosordvh-srv$",1<br />wmic/node:localhost RDACCOUNT where "(TerminalName='RDP-Tcp' or TerminalName='Console') and AccountName='contosordvh-srv$'" CALL ModifyPermissions 0,1<br />wmic/node:localhost RDACCOUNT where "(TerminalName='RDP-Tcp' or TerminalName='Console') and AccountName='contosordvh-srv$'" CALL ModifyPermissions 2,1<br />wmic/node:localhost RDACCOUNT where "(TerminalName='RDP-Tcp' or TerminalName='Console') and AccountName='contosordvh-srv$'" CALL ModifyPermissions 9,1<br />net stop termservice<br />net start termservice<br />
  26. 26. Step 4¾: Create and ConfigureVirtual Machines<br />Add the RD Virtualization Host’s Computer Account to the VM’s Administrator’s Group.<br />Reboot.<br />Enable Snapshot Rollback.<br />Right-click the VM and choose Snapshot.<br />Rename the Snapshot to “RDV_Rollback”.<br />
  27. 27. Step 5: Configure RD Web Access<br />Add the Server’s computer account to the local TS Web Access Computers group.<br />Configure RD Web Access to Point toRD Connection Broker.<br />
  28. 28. Step 5: Configure the Desktop Pool<br />Back in RD Connection Manager, start the Configure Virtual Desktops wizard.<br />Add the server as an RD Virtualization Host.<br />Add the server as an RD Session Host.<br />Clear the Assign personal virtual desktop box.<br />Create a Virtual Desktop Pool.<br />Add the virtual desktops you just created.<br />Supply Display Name and Pool ID.<br />
  29. 29. Step 6: Start Your Virtual Desktop!<br />Navigate to https://server/rdweb.<br />Double-click on the Desktop Pool you just created.<br />Voila!<br />
  30. 30. Desktops to RemoteApps<br />Yet, there are problems with deploying desktops.<br />Double-desktops to manage.<br />Double-desktops to secure and update.<br />Retaining an old OS past its lifetime.<br />Deploying a HEAVYweight solution to fix a lightweight problem.<br />
  31. 31. Desktops to RemoteApps<br />Yet, there are problems with deploying desktops.<br />Double-desktops to manage.<br />Double-desktops to secure and update.<br />Retaining an old OS past its lifetime.<br />Deploying a HEAVYweight solution to fix a lightweight problem.<br />In the end, you just have a few applications that need a different delivery mechanism.<br />BETTER SOLUTION: RemoteApp for Hyper-V!<br />
  32. 32. RemoteApp for Hyper-V<br />Yet, there are problems with deploying desktops.<br />Double-desktops to manage.<br />Double-desktops to secure and update.<br />Retaining an old OS past its lifetime.<br />Deploying a HEAVYweight solution to fix a lightweight problem.<br />
  33. 33. VDI: How Users Connect<br />With traditional VDI, users connect to a provisioned desktop that resides in a pool.<br />
  34. 34. RAFH-V: How Users Connect<br />With RemoteApp for Hyper-V, users instead connect seamlessly to an application on a pooled desktop.<br />
  35. 35. RAFH-V: Provisioning Applications<br />Using RemoteApp for Hyper-V, problem applications can be delivered to users directly.<br />Hosted atop a pooled desktop.<br />Maintains the VDI architecture, installs problem applications away from user desktops.<br />Remotable across any network connection supported by RDP.<br />User experience improved greatly by SP1.<br />
  36. 36. RAFH-V: Provisioning Applications<br />Using RemoteApp for Hyper-V, problem applications can be delivered to users directly.<br />Hosted atop a pooled desktop.<br />Maintains the VDI architecture, installs problem applications away from user desktops.<br />Remotable across any network connection supported by RDP.<br />User experience improved greatly by SP1.<br />One major limitation: No support (currently) for RD Gateway or RemoteApp and Desktop Connection.<br />I am currently researching why this limitation exists.<br />
  37. 37. Remoteapp for Hyper-V<br />Extended Demo<br />
  38. 38. Step 7: RemoteApp for Hyper-V<br />Open the Remote Desktop Client.<br />Create a new connection, as if it were a direct connection.<br />Save the RDP file and manually add…<br />Remoteappapplicationmode:i:1<br />Alternate shell:s:rdpinit.exe<br />RemoteApplicationName:s:{appName}<br />RemoteApplicationProgram:s:{appProgram}<br />DisableAppCapsCheck:i:1<br />Prompt for Credentials on Client:i:1<br />Loadbalanceinfo:s:tsv://vmresource.1.{poolID}<br />
  39. 39. Step 7: RemoteApp for Hyper-V<br />Finally provision RDP file to users.<br />Group Policy Preferences<br />Systems Management Solution<br />
  40. 40. Lightweight to HEAVYweight Spectrum<br />Local desktops & laptops<br />File servers and shares<br />Remote Desktop Services<br />App-V<br />Virtualized RDS<br />RemoteApp for Hyper-V<br />XP Mode / MED-V / Client Virtualization <br />VDI, Pooled Virtual Desktops<br />VDI, Personal Virtual Desktops<br />Lightweight<br />HEAVYweight<br />
  41. 41. Your Feedback is Important<br />Please fill out a session evaluation form drop it off at the conference registration desk.<br />Thank you!<br />
  42. 42. This slide deck was used in one of our many conference presentations. We hope you enjoy it, and invite you to use it within your own organization however you like.<br />For more information on our company, including information on private classes and upcoming conference appearances, please visit our Web site, www.ConcentratedTech.com. <br />For links to newly-posted decks, follow us on Twitter:@concentrateddon or @concentratdgreg<br />This work is copyright ©Concentrated Technology, LLC<br />

×