This guide will show you steps to build a private cloud. I started four years ago to build such design. I just started to see the term private cloud appearing, but on the Internet there is a lack of information on how to do it. I will show some high level steps there, be advised that it's only a guide, so these steps might not be the best for your environment.
NB: I will talk about a mix of Microsoft and Citrix as I didn't explore System Center Virtual Machine Manager 2012 or Hyper-V in Windows 2012. At my knowledge the Citrix Provisionning Service is something not available yet to provision a golden image to multiple virtual machine(s). I need the Citrix Desktop Delivery Controller too for creating a dynamic pool of desktop to deliver (I talk about the Web Interface in my documentation, but it's something that comes with that server's role, the best practices make us install that on another server). Only similar product I found for all is vmware view, but I am certified Citrix so I will talk about something I know. You will see that Microsoft and Citrix is tied together in that scenario. To keep the text easy to read I will use DDC acronym for Desktop Delivery Controler and PVS for Provisioning Service.
You want to share single machine image for multiple users ? Do you got a golden image that you deploy to new laptop or computer ? In that case my guide is for you. I will show how to make one virtual machine available for as much computers your hypervisor can hold.
The design will look that way in the end. The harder is to isolate what application your users use and see how it can be re-grouped to unify the IT's park. RemoteApp / XenApp keep the application outside the virtual machine for licensed product. (like Microsoft Office). What we want to prevent is to create multiple golden images. Application that use serial port are harder to virtualize, but feasible with port redirection. The planning step is really important to isolate any application that can be hard to distribute. In case of non-compliant TS application you can always have some backdoor to distribute them. (Like to stream it (with App-V, XenApp, etc..) but it's another story)
The pro:
The con:
Bonus
Ask yourself those questions:
How the user will connect to this virtual computer ?
Configure a OU for your streamed computer. Configure the netlogon share to hold your roaming profile. Configure your GPO for the roaming's profile. Configure GPO to delete temporary internet file, to keep roaming profile small. Configure your GPO for My documents and Desktop's folder redirection. Configure your GPO for pushing the printers, IE's options, etc... Configure your DHCP scoop to use the option 66 and 67. Optional: Configure your DNS's server to allow non-secure update or modify the ACL on all streamed computer to allow less secure update. Configure your user group for who can use your streamed computers. Install the KMs's host. (Set Up a KMS Host on a Windows Server 2008 R2 Machine)
Install your Hyper-V cluster. Please see: - Step-by-Step: Building a FREE Hyper-V Server 2012 Cluster - Part 1 of 2 - Hyper-V: Using Hyper-V and Failover Clustering - Step-by-Step Guide for Testing Hyper-V and Failover Clustering Install SCVMM Please see: - Deploying System Center 2012 - Virtual Machine Manager
Install a Windows 2008R2 Please see: - Installing Windows Server 2008 R2 - How to Install Windows Server 2008 Step by Step Install SCVMM Administrator Console Please see: - Deploying System Center 2012 - Virtual Machine Manager Change some Operating's System option. Best practices for the PVS
Start the installation from the media. Click install. I suggest to use mixed mode authentification (don't forget to write down the SA password) Keep the default's options. Click Next. We select to use another server for the DHCP, I strongly suggest to use our domain controller. We select to use our server for the PXE. (From Step 1 there is the reason for DHCP's option 66 and 67) We select to create a new farm. We select the SQL's instance. We select the Database name, farm name, site name and collection's name. We select the user account that will run the stream's service. Be adviced that if you select Network Service account that you must configure the NTFS's security later on for the datastore to add that account. Click Yes. Click Next. Select the Network Card that will be used for the streaming.
Use the default's PXE's boot file and path. Keep the default's option. It will be your LAN's IP. Review the configure and click Finish. Click finish again. Create a empty vDisk for our future XP.. Open the console. Go into the vdisk menu. Right-Click and select Create vdisk. Type in a name, and click create. That will look that way. Double click on it to set the mode to Private
Install a Windows 2008R2. Please see: - Installing Windows Server 2008 R2 - How to Install Windows Server 2008 Step by Step
Install the Citrix Desktop Delivery Controller. (Get the ISO from your myitrix's account)
Install SCVMM Administrator Console Please see: - Deploying System Center 2012 - Virtual Machine Manager Create a machine desktop pool. Assign the correct Active Directory group to that Desktop Group.
Create a new Virtual Machine. For my guide I will use Windows XP.
Get the ISO, mount it and install the Operating System. Please see: - Microsoft's Windows XP SP2 Professional (Pro) Install step by step on a used hard drive - Install Windows XP in Windows 8 Client Hyper-V Install the Hyper-V Integration Services Install the Desktop Delivery Controller Agent (located on the DDC's install media) Install the Target Device Optimizer (For the PVS, will be located in the PVS's media) Run the Provisioning Services Device Optimizer. Change those registry key.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
Decimal Value=180000 (3 Minutes)
DWORD=RunCount
Value=0
Run that into the virtual machine. (That will disable last access time stamp) “FSUTIL behavior set disablelastaccess 1” Disable System Restore. Install User Profile Hive Cleanup Service Install any other needed applications. (Antivirus, Office, Acrobat, Flash plugin, etc..) GO BACK TO YOUR PVS server for that step: Create a new device on your PVS and make the MAC's address match the VM's one. In the additional list of vDisk, select the newly created vDisk. Keep it that it boot from the local hard disk. To match the MAC from that Hyper-V console: Click the vDisks tab in your PVS from the above step. Click Add... and click the "test" vDisk we did and click OK. It will appear in the first list. In the Virtual Machine select to boot of network first. Boot the Virtual Machine, the PXE's process should answer, as it verify the MAC. The newly created vDisk will appear as an additional drive because we selected to boot from the hard disk in the PVS. If you double-click the PVS's icon in the task manager that should look that way; We format that new disk. We start the Device Image Builder. Close the machine. In the PVS's console put back the vDisk in standard mode. Create another device in your PVS. Click to boot from a vDisk. In that Windows, you got the MAC addeess, it must match the Hyper-V's one. Click to assign a vDisk. (the test's one you did earlier) Use the XenDesktop Wizard to create the number of Virtual Machine you want from that vDisk. Link it to a new Desktop Group in your DDC. (If that step does not work, you can manually create all computer account in your Hyper-V and after in your PVS. You got to make the MAC match. If you do it manually, don't forget to right click all device and select to create all computer account in your AD)
In the WebInterface console for the PNAgent's website configure the link with the DDC.
Print screen from the PVS. You see there 44 virtual machines that use that single VHD. (so yes, my VM was configured for 2G each of memory, so 44 x 2 = 88G of needed ram for only the VM)
Print screen from the DDC. You see the list of XP and their current state. The DDC control what VM it start and close, and you can set rush hour and such.
Overview of Private Cloud Architecture User Profile Best Practices Guest Operating's system: Microsoft's Windows XP SP2 Professional (Pro) Install step by step on a used hard drive Install Windows XP in Windows 8 Client Hyper-V Installing Windows Server 2008 R2 How to Install Windows Server 2008 Step by Step Set Up a KMS Host on a Windows Server 2008 R2 Machine User Profile Hive Cleanup Service Hyper-V: System Center Virtual Machine Manager (VMM) 2012 as Private Cloud Enabler (3/5): Deployment with Service Template Step-by-Step: Building a FREE Hyper-V Server 2012 Cluster - Part 1 of 2 Hyper-V: Using Hyper-V and Failover Clustering Step-by-Step Guide for Testing Hyper-V and Failover Clustering Deploying System Center 2012 - Virtual Machine Manager Hyper-V Synthetic Network Interface Card Reinitializes on New Provisioning Services Target Thread: XD 4 PVS 5.6 - Hyper-V Server 2008 R2 - Emulated and Synthetic NICs Create VMs automatically on Hyper-V 2008 R2 with the PVS Streamed VM Setup Wizard Create A Provisioning Server .VHD On Hyper-V PVS: Best Practices for Configuring Provisioning Server on a Network Best Practices for Citrix XenDesktop with Provisioning Server
Yagmoth555 edited Revision 13. Comment: adding text
Yagmoth555 edited Revision 12. Comment: adding images
Yagmoth555 edited Revision 4. Comment: adding content
Yagmoth555 edited Revision 2. Comment: adding content
Yagmoth555 edited Revision 44. Comment: adding some images
Yagmoth555 edited Revision 46. Comment: adding pics
Yagmoth555 edited Revision 49. Comment: adding contents
Yagmoth555 edited Revision 52. Comment: adding images
Yagmoth555 edited Revision 60. Comment: added content
Carsten Siemens edited Revision 61. Comment: typo
Carsten Siemens edited Revision 62. Comment: Fixed misspellings
Naomi N edited Revision 63. Comment: Made some minor typo/grammar corrections. This article is a bit hard to read and understand (especially with no background). Is it a translation from another article in different language?