Skip to main content

Posts

Showing posts from December, 2011

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

Below is the figure of the infrastructure 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,  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 &

Part 2:- Building VDI using Remote Desktop Services (RDS)

Task 1: Install Remote Desktop Virtualization Host role On the RDSVH, install Hyper V roles and Remote Desktop Virtualization Host. You need to install RD Virtualization Host role for each Hyper V server that's hosting Personal or Virtual Desktop Pool 1. Log on to RDSVH with administrative right. 2. Open Administrative Tools. Click Start > Administrative tools > Server Manager 3. Right click Roles and select Add Roles 4. On the Before You Begin page, Click Next 5. On the Select Server Roles page, select Hyper V roles and Remote Desktop Service and then click Next 6. On the Remote Desktop Service page, click Next 7. On the Select Role Services page, select Remote Desktop Virtualization Host and click Next 8. On the Confirm Installation selection page, Click Install 9. Restart the system when asked. Task 2: Install Remote Desktop Session Host (Redirector) role 1. Right click RDSRedirect VM and select Connect 2. Log on with administrative right 3. Open Adminis

Part 3:- Building VDI using Remote Desktop Services (RDS)

After the virtual machines are installed and configured for the ms4u.info domain, you must configure them to work with Remote Desktop Services. The following steps must be configured on each virtual machine: • Enable Remote Desktop. • Add the user accounts that will be using this virtual machine to the local Remote Desktop Users security group. • Allow Remote RPC. • Create a firewall exception to allow Remote Services Management. • Add permissions to the RDP protocol. Task 1: Enable Remote Desktop and Add VDIGroup to the local Remote Desktop Users group 1. Log on to VDI01-Win7 with administrative rights. 2. Click Start, right-click Computer, and then click Properties. 3. Click Remote settings. 4. Under Remote Desktop, click Allow connections only from computers using Remote Desktop with Network Level Authentication (more secure), and then click Apply 5. Click on select Users button 6. On the Remote Desktop Users, click Add 7. Enter VDIGroup and click Check name 8. Clic

Part 4:- Building VDI using Remote Desktop Services (RDS)

Task 1: Enable Remote Desktop and Add VDIGroup to the local Remote Desktop Users group 1. Log on to RDSRedirect VM with administrative rights. 2. Click Start, right-click Computer, and then click Properties. 3. Click Remote settings. 4. Under Remote Desktop, click Allow connections only from computers using Remote Desktop with Network Level Authentication (more secure), and then click Apply 5. Click on select Users button 6. On the Remote Desktop Users, click Add 7. Enter VDIGroup and click Check name 8. Click OK button to close the Remote Desktop Users 9. Click OK button to close the System Properties Task 2: Add RDSBroker to the TS Web Access Computer group 1. Log on to RDSRedirect VM with administrative rights. 2. Open Computer Management. Click on Start > Administrative Tools > Computer Management. 3. Expand Local Users and Group and Groups 4. Double click TS Web Access Computer and Click Add button 5. Click on Object Types and Tick Computers and click OK

5:- Building VDI using Remote Desktop Services (RDS)

Task 1: Add RDSAccess to the TS Web Access computer group 1. Log on to RDSBroker VM with administrative rights. 2. Open Computer Management. Click on Start > Administrative Tools > Computer Management. 3. Expand Local Users and Group and Groups 4. Double click TS Web Access Computer and click Add button 5. Click on Object Types and Tick computers and click OK 6. Enter RDSAccess and Click Check name 7. Click OK 8. Click OK to close the TS Web Access computer properties. Task 2:- Add RD virtualization Host , RD Session Host for redirection and RD Gateway 1. Log on to RDSBroker VM with administrative rights. 2. Open Remote Desktop Session Host Configuration snap in. Click Start > Administrative Tools > Remote Desktop Services > Remote desktop Connection Manager. 3. In the middle pane under Virtual desktops Resource and configuration, locate RD Virtualization Host servers and click Add 4.Enter RDSVH.ms4u.info and click Add. 5. In the middle pane

6.Building VDI using Remote Desktop Services (RDS)

To deploy personal virtual desktop or most of the time we called as "static virtual desktop deployment", you need to has a) Active Directory Schema upgraded to Windows Server 2008. b) Client virtual machine running Windows XP or Windows 7 need to use FQDN in Hyper V Manager snap-in. Static Virtual Desktop is a 1 to 1 mapping. If you have 100 users, then you need to create 100 Virtual machine. User will access to their own unique virtual machine and have greater control. Besides that, changes on the Virtual machine will maintain in the Virtual Machine. This concept is similar as their own desktop environment. Task 1: Personal Virtual Desktop Configuration. 1. Click on Configure virtual desktops on the top right of the Action pane. 2. Review before you begin page and click Next 3. Verify RDSVH is listed on Specify an RD Virtualization Host Server and click next. For my case, my RDSVH computer name is "LAINB.ms4u.info) 4.Verify RDSRedirect is listed on

Building VDI using Remote Desktop Services (RDS)

In the Virtual desktop deployment, it is not necessary to put the VM as FQDN. From here you can different between Personal Virtual Desktop and Virtual Desktop Pool. For customer who cannot upgrade the schema to Windows server 2008, then this is the only option to select. I have tested this deployment when running on Active Directory schame is on Windows Server 2003. Dynamic Virtual Desktop is not a 1 to 1 mapping. If you have 100 users and only 50 users which is actively use the VDI, you can create 70 Virtual Machine in the pool. (just my estimation to include 20 Virtual Machine as a buffer). User will access to any virtual machine which is available on the pool. The entire virtual machine is install with the same program and same setting. Besides that, any changes make by the user will be lost after their log off. In this deployment, i recommend that you deploy roaming profile and folder redirection to overcome this issue. When using this deployment, you will need to use dif

Formatting Disk using DiskPart

Let look into several command that you should execute when formatting disk. Wait, won’t it be easy using Computer Management snap in to format a disk. Well, you’re right but…you will not have Computer Management when Hyper V host machine is install with Server Core version. Hope this command come to handy when you format a disk either local or iSCSI LUN presented to Hyper V host. 1. Execute Diskpart command. 2. Execute List Disk to view the disk available on the Hyper V machine DISKPART > List disk 3. We are going to format disk 3. Execute select disk 3 to select disk 3. DISKPART > Select disk 3 DISKPART > List disk * indicated disk 3 is selected. 4. If the disk status is offline. Type DISKPART > online disk 5. View the attribute of the disk. Make sure the disk read-only is not set to Yes. DISKPART > attribute disk If mark as Read-Only. Key in below command: DISKPART > attribute disk clear readonly 6. Create primary partition u

Windows 8:- Hyper-V Bandwidth Management

I always wonder how many throughput does a Virtual Machine consume when running in Hyper-V Host. Not always we dedicate a NIC for a Virtual Machine. For better consolidation, we always share several Virtual machine within a 1 Gbps NIC. Let say, you have 4 Virtual Machines running and share on 1 Gbps NIC. Will each Virtual Machine consume and limited to 250 Mbps? Well not really. Some VM will consume more throughput than 250 Mbps and will eventually impact the performance for the rest of the VM. This is what i found out when testing Hyper-V Vnext which seem like solving this case. On Virtual Network, you can configure to set minimum and maximum throughput per Mbps on each virtual machine. Great right…I’m excited to wait this feature available on next release of Hyper-V.

Windows 8:- Dynamic Memory Enhancement

Well, dynamic memory is one of the features available in Windows Server 2008 r2 SP1. I do hope that you have tested dynamic memory. Let have a look on Dynamic memory Enhancement which available in Hyper-V Vnext (Code name that I give for new version of Hyper-V in Windows Developer Preview). Note:- Subject to change and feature is available during my testing using Windows Developer Preview Edition. Enhancement #1:- Dynamic memory options is available when create a new Virtual Machine. Previously, you can only configure static memory when provision Virtual machine. Enhancement #2:- Dynamic Changing of Memory when Run Time. That's mean you no longer need to shutdown the Virtual Machine when you want to configure Min and Maximum Memory. You can change the amount of memory when VM is up and running. Find it quite useful especially the Vm has hit to Maximum memory and i can easily increase the amount of memory. Enhancement #3:- Ability to configure Minimum Memory. Initia