Search This Blog

Sunday, March 7, 2010

Part 1- Building VDI using Remote Desktop Services (RDS)

Hi Visitor,

I found out that not many documentation writing about "Building VDI using Remote Desktop Services (RDS)" from beginning until the end. So I 've decided to share the configuration step by step that I have configured in my environment. I will break down into several parts as the configuration is quite long and complex. Trust me ! It's not easy and hopefully by following my step by step instruction , you will be able to deploy VDI in your environment as well.

I have spent few days to perform "R and D" and finally managed to publish VDI to the Internet (Public) and user can access office environment by using browser. All you need to do is open port 443 (TCP/HTTPS) in order for user to access to the Virtual Desktop Infrastructure (VDI).

Below is the figure of the infrastructure that I have setup:-

By using Hyper V R2 and SCVMM 2008 R2, I have created the following Virtual machine

In this setup, I'm going to use Windows 7. You can setup client VM running on

○ Windows 7 Business, Enterprise or Ultimate,
○ Windows Vista with SP1 - Business, Enterprise or Ultimate,
○ Windows XP Professional with SP 3

I have tested on these above operating system and it work like a charm. If you would like to know more about the different between Personal and Virtual Desktop Pool, please refer to http://www.ms4u.info/2010/02/revealed-microsoft-virtual-desktop.html . To make it more interesting, VDI01-Win7.ms4u.info is set to Personal Virtual Desktop and assigned to VDIUser1 which only use Office2007 whereby the Virtual Desktop Pool will use Office 2010 (Beta).

The Client VM name on the Hyper V host should be FQDN and identical as the computer name in the VM.

Example: VDI01-Win7 is the computer name

VDI01-Win7.ms4u.info is the FQDN










For easy and faster deployment of the VM, I using VMM feature called "Rapid Provisioning Virtual machine using Template". For those who are not familiar with this feature, please refer to http://www.ms4u.info/2009/11/rapid-provision-virtual-machine-with.html

Let start to look into initial configuration:-

MS4UDC - Domain controller

You may want to take note on some criteria to deploy personal virtual desktop . Your Active Directory need functional level running in Windows 2008. To use the added functionality provided by the Personal Virtual Desktop tab in the User Account Properties dialog box in Active Directory Users and Computers, your functional level for AD DS must be set to Windows Server 2008 R2.

Task 1:- Create user account for VDI

1. Log on to MS4UDC VM
2. Go to Start > Program > Administrative Tools > Active Directory Users and Computers
3. Right click Users container , select New and User
4. Enter username :- vdiuser1 and click Next


















5. Enter password :- P@ssw0rd , uncheck "User must change password at next logon" and click Next
6. Click Finish
7. Repeat step 3 to 6 to create user account for vdiuser2 and vdiuser3.

Task 2:- Create a group for VDI

1. Right click Users container , select New and Group
2. Enter the group name: vdigroup with Group scope:- Global and Group type: Security and Click Ok button


















Task 3: Assign user account to VDI group

1. Right click Vdigroup and select Properties
2. Click on Members tab and select Add button
3. Enter vdiuser1,vdiuser2 and vdiuser3 and Click Check name
4. Click Ok button
5. Click Ok button to close the vdigroup properties


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
   
Click here:- http://www.ms4u.info/2010/03/part-2-building-vdi-using-remote.html for Part 2:- Building VDI using Remote Desktop Services (RDS).

9 comments:

  1. Do need to have an individual virtual machine dedicated for a single remote desktop service? and why?

    ReplyDelete
  2. Yes. 1 VM for 1 session of connection.You can have dedicated VM ( 1 person in a VM) or pool VM (multiple user share the VM but limited to 1 session in the VM)

    ReplyDelete
  3. Hi,

    I would like to check with you, pool VM need to have all VMs installed with client OS (Win7)then create snapshot and enable roll back? So meaning if i have a pool of say 20 concurrent users, i need to create 20 VMs with OS which would be around 600GB storage if each OS would be 30GB
    Anyway to configure as such that 20 VMs will share a image?

    Thanks in advance and thanks for the guide!

    ReplyDelete
  4. Hi QQ,

    Yes. 1 user per VM. But to save space, you can use dynamic disk rather than fixed disk.
    Hmm...for sharing 1 parent image, well not as i know of when using RDS for VDI.

    ReplyDelete
  5. Hi Yoong Seng,

    Thanks! When we say dynamic disk, it is similar to VMware thin provisioning correct?

    ReplyDelete
  6. Hi QQ,

    Almost similar. More detail about disk please refer to http://www.virtuatopia.com/index.php/Creating_and_Configuring_Hyper-V_Virtual_Hard_Disks_(VHDs)

    ReplyDelete
  7. Hi Yoong Seng,

    How about licensing? So i need a Windows Server 2008 R2 enterprise license, VDA license, and how about RDS license?

    Thanks in advance!

    ReplyDelete
  8. Hi QQ,

    Licensing is quite complex. Please contact your country Microsoft regarding license.

    ReplyDelete