Quick VDI Deployment


Remote Desktop Services (RDS) has been improved in Server 2012. Now, RDS allows remote users to gain access to their corporate desktops or published applications running either as sessions on a Remote Desktop Session Host server (using web browser to access, for example) , or virtual machines on a Remote Desktop Virtualization Host server, by using a remoting protocol from various end point devices (unfortunately, Microsoft doesn’t provide any RD clients for Tablet OS=you have to use software from third-party companies). Server 2012 offers two deployment types : virtual-desktop deployment (=VDI) or session-based deployment (=Terminal Services).

Requirements

– Active Directory
– DHCP
– Hyper-V Server
– Sysprepped VHD with Windows 8 or Windows 7 SP1
– Tablet PC or one PC with Windows OS for testing

I’m happy man and I have cluster based on EMC VNX 5100 (FC) attached with two server systems (server01 and server02) joined to forum.local domain. The most important thing that you have to check is NETWORK. During our further deployment steps, RDS will create  virtual switch in Hyper-V and randomly assign NIC as connection.This connection MUST have access to your DHCP-server.

hv

Deployment steps

1) Go to Server Manager – Manage – Add Roles and Features

wizard_1
Click “Next”

2) Choose “Remote Desktop Services installation”

wizard_2
New Windows Server Installation Type

3) Our way is “Quick Start”. Standard deployment allows you to deploy the main RDS roles (Connection Broker, Gateway and etc) on separate servers and make high available RDS systems. Quick Start install necessary roles on one server (stand-alone deployment)wizard_3

4) Select your server for VDI services. In my cases, it’s SERVER01.forum.local

wizard_4

5)  Add your sysprepped VHD. I use VHD with sysprepped WIndows 8 Pro.

To make sysprepped VHD do the following:

  1. Create VM
  2. Mount ISO with Windows 8 or Windows 7 SP1
  3. Install OS
  4. Run sysprep utility (WIN+R – sysprep)
  5. Check “Generalize”  , shutdown options must be “shutdown”

sysprep

wizard_5

6) Check “Restart…” and click Deploy

wizard_6

7) After system restart check that all services configures successful and click “Close”

wizard_7

Configuration steps

By default, wizard creates virtual desktop collection “QuickVMCollection..” . I won’t use this desktop collection ’cause I want to make another one with my settings (for example, I want to store all VDI desktops on cluster shared volume, enable user profile disks and etc).

1) Go to Remote Desktop Services

rds_configuration_1

2) Delete wizard-created collection

rds_configuration_2

3) Click on “Create virtual..” to create new collection

rds_configuration_3

4) Define your settings for the new collection

rds_configuration_4
Type collection name
rds_configuration_5
Select the type of virtual collection. The main difference: pooled – VM “reset to factory” when user log off and users cannot have full rights on VM , private – users may have full rights on thier own VD
rds_configuration_6
Choose virtual desktop template. RDS will use it like an “example” to create VM for users
rds_configuration_7
Next
rds_configuration_8
Define time zone and OU to VDI VMs. In this OU RDS will create computer objects for every created VM (automatically joined to domain). Verify that server account has a necessary rights in this OU! (use delegation if it’s necessary)
rds_configuration_9
Define your group users that has rights for connecting to VDI VMs
rds_configuration_10
Click NEXT
rds_configuration_11
Specify the path for the virtual desktops (vhd,configuration files)
rds_configuration_12
Specify path for user profile disks (if you want to deploy them) and max size for user’s VHDs. Profile disks is personal storage and doesn’t depend from VM on which user logged on.
rds_configuration_13
CREATE
rds_configuration_14
Close this wizard and go to “Collections” in RDS
rds_configuration_15
Right Click on the collection name – task status details and wait while 2 virtual desktops are creating

TESTING

From client PC : 

1) Open your browser and type https://FqdnOfRDserver/rdweb 

rds_configuration_16

2) Use your domain credentials and click on collection name (in my case, demoVDI) . Check that you can log in to VD.

rds_configuration_17

From Tablet:

*I used smartphone based on Android with PocketCloud Remote Desktop Pro installed

Basic recommendations: 

1) Download and install RD client with RD Gateway support (for example, iTap mobile or PocketCloud Remote Desktop Pro)

2) Open your mobile browser

3) Type RD server gateway address (in my case, I use wireless access point with DHCP relay , so I type internal RD server address)

4) Download and open RDP file

android

P.S. Go ahead and publish your remote App 🙂

UPDATE: Microsoft has released own RDP clients for Android and iOS . More info: http://technet.microsoft.com/en-us/library/dn473009.aspx

Note: you cannot create VDI collection from Gen2 VM (2012 R2) + if you are going to use VDI in production it is required to request and assign appropriate certificates for RDS roles (public <>gw, internally issued <> other roles)

2 thoughts on “Quick VDI Deployment”

  1. Simply wish to say your article is as astonishing. The clarity
    for your submit is simply nice and that i could think you’re an expert on this subject.
    Fine along with your permission allow me to clutch your RSS feed
    to keep updated with approaching post. Thanks a million and please continue the rewarding work.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: