4Agenda Citrix XenDesktop 5.6 What is a Personal vDisk (PvD)? What are the PvD requirements?What does Personal vDisk do?How to install or upgrade PvD?What is a PvD Inventory?
5Citrix XenDesktop 5.6 March, 9 released Main Focus is integration of Personal vDisk (RingCube).FeaturesPvD integration into core components.Support for Microsoft SCVMM 2012 and SCCM 2012.Updated Citrix License Server v11.10.Desktop Director 2.1 adds support for PvD.Fixed Issues.*Ibiza will integrate PvD into the XD meta-installer, Desktop Studio, PvS, and Desktop Director…
6Citrix Personal vDisk technology Complete personalization Personalized PC experienceDepartmental & user installed appsPersonalized apps, data & prefsEfficiency and managementSingle OS image managementReduce storage by 65%Enables pooled VDI for all
7What is a Personal vDisk? RingCube 5.5 user personalization technology.VDI with PvD offers a virtual desktop & workspace.Each user gets a workspace stored on a SAN.Workspace contains entitlement based applications, data and settings.Workspace contains only user changes.Reduces storage requirements.entitlement based applications – department-installed apps
8VDI Desktop Models – Dedicated Desktops User Profile & Settings Departmental Applications User Installed Applications Local PeripheralsUser Profile & Settings Departmental Applications User Installed Applications Local PeripheralsUser Profile & Settings Departmental Applications User Installed Applications Local PeripheralsIncreased storageHigh per user costIncreased management overheadComplex and unique base imagesHighly personalized for usersIncreased user acceptanceBase ImageBase ImageBase ImageOperating SystemOperating SystemOperating SystemVM1VM2VM3
9VDI Desktop Models – Pooled Desktops No personalizationPoor user acceptanceLimited scope/user baseReduced storage requirementsCentralized managementUptime & predictabilityCommon Base ImageOperating SystemBASE / PARENT VM
10Citrix Personal vDisk – Best of both worlds User Profile & Settings Departmental Applications User Installed Applications Local PeripheralsUser Profile & Settings Departmental Applications User Installed Applications Local PeripheralsUser Profile & Settings Departmental Applications User Installed Applications Local PeripheralsEnterprise scopeHighly personalized for usersIncreased user acceptanceReduced infrastructure requirementsCentralized managementUptime & predictabilityPvD 1PvD 2PvD 3Common Base ImageOperating SystemBASE PARENT VM
11Personal vDisk Requirements XenServer 5.6 SP2 or aboveVMware vSphere 5.0VMware vSphere 4.1, Update 1Hyper-VCitrix License Server v11.10XenDesktop 5.6 will not work with older license servers
12Component Requirements ControllerVDA with PvDVDA without PvDWin2008, Standard or Enterprise Edition, SP2 (32- and 64-bit)Windows XP 32-bit SP 3 or laterWindows XP 32-bit SP3 or laterWindows XP 64-bit SP2 or laterWin2008 R2, Standard or Enterprise Edition (64-bit only)Windows Vista 32-bit or 64-bit with SP2 or laterWin2008 R2 SP1, Standard or Enterprise EditionWindows 7 32-bit or 64-bit
13What Does Personal vDisk Do? PvD intercepts application I/O requests (files, registry keys, registry values) and redirects these requests.Requests are satisfied from the base Virtual Machine or Personal vDisk.PvD decides which layer to satisfy the request from by consulting a set of rules called the resource catalog.PvD provides a blended view of both base Virtual Machine and the users Personal vDisk.Pvd consists of a minifilters…like an antivirus if you will – inspecting or looking to see what to do with resource requests.This is done realtime inside a PVD driver.This is based on a set of rules…found in a resource catalog.This catalog should not be edited directly…it is a binary file maintained by PVD and updated over time.Pvd makes sure the cat is updated to show an updated view of the rules.We will discuss more about the catalog/rules later on…Q- Are drivers supported with PVD?A- Yes, PvD is a boot time technology so services, drivers etc are supported. Pvd itself has drivers. IVM is the most important – intelligent virtual machine.IVMs main job is to Maintain the registry catalog.========Pvd also has user mode services that start a little later and handles 1st time launch and any base image updates.
14PvD Storage Architecture Assigned DesktopsPooled Desktops with Personal vDisk
15MCS – ID Disk, Difference Disk, Base VM relationships This is what the user sees as Drive C:\This is hidden from the users viewWindows 7 MasterVirtual Desktop 1Diff DiskID DiskVHD ChainVirtual Desktop 2Diff DiskID DiskVHD ChainVirtual Desktop xDiff DiskID DiskVHD ChainStorage Subsystem
16MCS with PVD – ID Disk, Difference Disk, PVDisk This is what the user sees as Drive C:\This is hidden from the users viewVirtual Desktop 2Diff DiskID DiskVHD ChainVirtual Desktop xWindows 7 MasterVirtual Desktop 1Diff DiskID DiskVHD ChainStorage Subsystem
17MCS with PVD – ID Disk, Difference Disk, PVDisk Windows 7 MasterVHD ChainDiff DiskID DiskVirtual Desktop 1Personal vDiskThis part is seen by the user as Drive P:\Used for USERDATA e.g. My DocumentsBy default user is allowed 50% of the PVDiskThis part is Drive V:\It’s hidden from the userMerged with the Diff DiskSeen by user as Drive C:\E.g. Installed appsPVDisk is created by copying UserData.VDESK.TEMPLATE from Base VM during catalog creation10GB by default with 50/50 split for User Data / App DataStorage Subsystem
18Workflow Common Base Setup User Access Image Update Install OS, common apps and VDA in base VMCreate VM pool and entitleUser AccessLogin through XenDesktop ClientPvD assigned on first loginLocally administered/User installed/streamed appsImage UpdateUpdate base VM without affecting any user personalizationUser’s WorkspaceSo the workflow to get a PvD environment up and running looks like this…We will visit a full section dedicated to PvD Architecture.Common Base ImageOperating System
19Citrix Confidential - Do Not Distribute How do I install PvD?Upgrade options exist forXenDesktop 5, XenDesktop 5.5 and the VDAA ‘mixed’ site is permittedControllers running XenDesktop 4, 5 and 5.5 can control desktops running XenDesktop 5.6 VDA’s.Controllers running XenDesktop 5.6 can control desktops running the only the XenDesktop 5.6 VDA.Desktop Studio from XenDesktop 5 SP1 can manage sites created with XenDesktop 5.6 unless they include desktops with PvD.Desktop Studio from XenDesktop 5.6 can manage sites created with XenDesktop 5, 5 SP1.Temporary ‘mixed’ site is permitted during an upgrade.Citrix recommends limiting the time of the mixed mode by upgrading ALL components in the deployment ASAP.Desktop Director 2.0, which was included in XenDesktop 5.5 and later, cannot monitor desktops created with XenDesktop 5.6.Citrix Confidential - Do Not Distribute
20Controller Installation / Upgrade After installation/upgrade you need to configure a SiteThis includes, Licensing, Database set up and Host connectionDesktop Deployment Wizard is used to configure a siteQuick Deploy Wizard cannot be used with PvD
21XenDesktop 5.6 – Post Installation (Existing Hosts) Add Personal vDisks to existing hostsIn Desktop StudioSelect hostSelect Enable Personal vDiskAdd Personal vDisk storageExisting:1. In Desktop Studio, click Configuration > Hosts and select a host.2. Click Enable Personal vDisk.3. Click Add Personal vDisk Storage and specify the storage location.
22XenDesktop 5.6 – Post Installation (New Hosts) Add Personal vDisks to a new siteIn Desktop StudioCreate a catalogPooled with Personal vDisk (MCS)Streamed with Personal vDisk (PVS)Number of VMsSize (min of 3GB)Drive letterNew Hosts:Create a catalog and take these additional steps:On the Machine Type page of the Create Catalog wizard in Desktop Studio, selectPooled with personal vDisk. This is a variant of the pooled-static machine type;machines are assigned to the first user who connects to them.For all subsequent sessions, that user connects to the same machine, and their profile and any userinstalledapplications are stored on a dedicated disk.***Note: The Streamed with personal vDisk catalog type is also available. This adds personal vDisks to streamed machines (which load the operating system over a network from Provisioning Services). If you want to use this catalog type, do so in the Provisioning Services Console not Desktop Studio.On the Number of VMs page, specify the size of the personal vDisk that is used forall desktops in the catalog, and the drive letter. Ensure that the disk is big enoughto store the user's profile and any applications they install.
23Virtual Desktop Agent Installation VDA can be installed in two modes:Virtual Desktop Agent – includes the new features of XD 5.6Virtual Desktop Agent for HDX 3D ProEnable Personal vDisk for VDAPvD is always installed. You either enable or disable the drivers.*VDA must be present on all VMs made available to users
24PvD DiskMay be attached to any storage targets defined in the hypervisorThin provisioning is supported for those hypervisors that support itCan be located on same VM, or different (IOPS split among locations)Default size and location selected in Desktop Studio catalog creation(or PVS XenDesktop Setup Wizard, if PVS in use)PvD disks can be resizedSo the workflow to get a PvD environment up and running looks like this…We will visit a full section dedicated to PvD Architecture.
25What is a PvD Inventory? The PvD inventory consists of a few things … The resource catalogA set of 0-byte files which track files sourced from the base VMEssentially information about what is installed in the base VMThe inventory is created by the administratorStart -> Citrix -> Personal vDisk -> Update InventoryAt each base VM shutdown via the shutdown trackerThese options are only available in the base VM
26Template VHD The inventory is computed and placed in the template VHD i.e. the resource catalog and sentry files corresponding to the base VMThe template VHD is saved for use during first time boot in Pooled VM modeAfter inventory creation a snapshot is taken and the XenDesktop catalog is createdAn empty, unformatted volume is attached to each virtual machineThis volume becomes the Personal vDisk for the user of that VMInitial size and SR location are obtained from DS/PVS setup wizard
27Pooled VM – First Time Boot MCS / PVS starts each VM in the poolThe Personal vDisk driver detects the unformatted volume and formats itThe template VHD from the base VM is copied into the new volume.This is a VHD inside a volume
28Pooled VM – Subsequent Boots On each subsequent VM boots the drivers perform the following tasks …Detects the volume with the VHD insideMounts the VHDLoad the resource catalog from the VHD into the system registryBegin interception / virtualizationPvD also will detect if the volume has been increased in size and resize the VHD if needed
29Pooled VM – User Changes Over time users will make changes to their environmentAdd/delete/change filesAdd/delete/change registry keys/valuesInstall/uninstall software (if rights permit)Receive provisioned applications (eg, via SCCM)It’s important to note that PvD captures all changes being madeThese changes are redirected to the PvD VHD fileNo changes to the VM image are permitted
30Base VM – Life Cycle Base VM images can and will change over time A new inventory will be computed and stored in the base VMOn next pooled VM boot the VM will notice that it is out-of- date with respect to the new base VMPvD drivers will mount the VHD and merge the changes from the previous inventory with the new inventory, respecting any changes made by the user.After this 3-way merge the VM will restart.Note – the broker will stop user logins during image update
31Reminders PvD is not a User Environment Management solution Be aware of the 50/50% profile and apps splitPvD turns pooled VDI into pooled-staticAdmin always wins
32Summary Citrix XenDesktop 5.6 What is a Personal vDisk (PvD)? What are the PvD requirements?What does Personal vDisk do?How to install or upgrade PvD?What is a PvD Inventory?