Personal vdisk Implementation Guide. Worldwide Technical Readiness

Similar documents
Citrix Connector 7.5 for Configuration Manager. Using Provisioning Services with Citrix Connector 7.5 for Configuration Manager

Citrix XenDesktop 7.6, Provisioning Services 7.6 and the XenDesktop Setup Wizard with Write Cache and Personal vdisk Drives

CXD-203: Managing App and Desktop Solutions with Citrix XenApp and XenDesktop 7.5

Dell EMC Ready Architectures for VDI

Dell EMC Ready System for VDI on XC Series

"Charting the Course to Your Success!" Managing App and Desktop Solutions with Citrix XenApp and XenDesktop 7.6 CXD 203.

XenDesktop Planning Guide: Image Delivery

Dell EMC Ready System for VDI on VxRail

Course: CXD-203 Managing Citrix XenDesktop 7 Solutions

CXD-203: Managing Citrix XenDesktop 7 Solutions

Citrix XenDesktop 5 Administration

D. By deleting the difference disks of the virtual machines within the Delivery Group

Consulting Solutions WHITE PAPER Citrix XenDesktop XenDesktop Planning Guide: Hosted VM-Based Resource Allocation

CXD-203: MANAGING APP AND DESKTOP SOLUTIONS WITH CITRIX XENAPP AND XENDESKTOP 7.6

WHITE PAPER Citrix Branch Repeater VPX and XenServer How to set up a self contained Branch Repeater VPX demo environment with WAN emulation.

Vendor: Citrix. Exam Code: 1Y Exam Name: Managing Citrix XenDesktop 7.6 Solutions. Version: Demo

App Orchestration 2.0

CITRIX 1Y0-200 EXAM QUESTIONS & ANSWERS

Goliath Performance Monitor v11.7 POC Install Guide

Deploying Virtual Apps and Desktops with Citrix Provisioning using Oracle Cloud Infrastructure

Citrix 1Y0-201 EXAM Managing Citrix XenDesktop 7.6 Solutions

CMB-207-1I Citrix Desktop Virtualization Fast Track

Citrix 1Y0-201 EXAM Managing Citrix XenDesktop 7.6 Solutions. m/ Product: Full File. For More Information:

COURSE OUTLINE IT TRAINING

Citrix StoreFront 2.0

Citrix Connector Citrix Systems, Inc. All rights reserved. p.1. About this release. System requirements. Technical overview.

Consulting Solutions WHITE PAPER Citrix XenDesktop XenApp 6.x Planning Guide: Virtualization Best Practices

Consulting Solutions WHITE PAPER Citrix XenDesktop XenApp Planning Guide: Virtualization Best Practices

: CMB-310- XenApp, XenDesktop, and Provisioning Services 7.1x Administration (Fast Track)

VMware Horizon Migration Tool User Guide

Vendor: Citrix. Exam Code: 1Y Exam Name: Designing Citrix XenDesktop 7.6 Solutions. Version: Demo

Goliath Performance Monitor v11.7 Installation Guide

Pass4Sure.1Y0-200_111,QA. Citrix 1Y0-200 Managing Citrix XenDesktop 7 Solutions Exam

Managing App and Desktop Solutions with Citrix XenApp and XenDesktop 7.6 (CXD-203)

Configure Windows Server 2003 Release 2 Server Network File Share (NFS) as an authenticated storage repository for XenServer

XenApp 7.x on Oracle Cloud Infrastructure

CMB-310 Citrix Virtual Apps, Desktops and Provisioning 7.1x Administration (Fast Track)

Installation Guide. Citrix License Server VPX v1.01

1Y0-202 Exam Dumps - Citrix Profile Management Exam Questions PDF

Citrix Certified Associate Virtualization 1y0-202 Exam Questions

Open all default CPV Server s Windows firewall ports

Connection Broker Managing User Connections to Workstations and Blades, OpenStack Clouds, VDI, and More

Agenda. Flexcast Management Architecture XenDesktop 7: Install, Manage, Support Migration/upgrade Best Practices Demo Upgrade tips (if time permits)

High Availability for Citrix XenDesktop

Vendor: Citrix. Exam Code: 1Y Exam Name: Managing Citrix XenDesktop 7 Solutions Exam. Version: Demo

EXAM - 1Y Managing Citrix XenDesktop 7.6 Solutions. Buy Full Product.

HDX 3D Version 1.0 Requirements Guide

REVISED 1 AUGUST REVIEWER'S GUIDE FOR VMWARE APP VOLUMES VMware App Volumes and later

PASS4TEST 専門 IT 認証試験問題集提供者

Dell EMC Ready Architectures for VDI

REVISED 1 AUGUST QUICK-START TUTORIAL FOR VMWARE APP VOLUMES VMware App Volumes and later

Exam4Tests. Latest exam questions & answers help you to pass IT exam test easily

Goliath Performance Monitor v11.7 Prerequisites Guide

AppController :21:56 UTC Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement

Installing and Configuring VMware Identity Manager Connector (Windows) OCT 2018 VMware Identity Manager VMware Identity Manager 3.

Exam Questions 1Y0-201

TECHNICAL WHITE PAPER AUGUST 2017 REVIEWER S GUIDE FOR VIEW IN VMWARE HORIZON 7: INSTALLATION AND CONFIGURATION. VMware Horizon 7 version 7.

App Orchestration 2.5. Upgrading Session Machine Catalogs in App Orchestration 2.5. Prepared by: Mohit Menghnani Last Updated: July 25, 2014

Citrix Exam 1Y0-200 Managing Citrix XenDesktop 7 Solutions Exam Version: 6.5 [ Total Questions: 121 ]

Installing and Configuring Citrix XenApp 6.5 (Part 1)

Citrix - CXD Deploying App and Desktop Solutions with Citrix XenApp and XenDesktop 7.6

Er XenApp død og begravet? Allan Bak, edgemo A/S

XenApp Secure Browser Installation with a Citrix Lifecycle Management Blueprint and NetScaler on Azure

Hands-on Lab Exercise Guide

WHITE PAPER Using Marathon everrun MX 6.1 with XenDesktop 5 Service Pack 1

TestKing.1Y q

Citrix XenDesktop 5.6 Cookbook

Citrix 1Y Managing Citrix XenDesktop 7.6 Solutions. Download Full Version :

1Y0-201 citrix. Number: 1Y0-201 Passing Score: 800 Time Limit: 120 min

Dell EMC vsan Ready Nodes for VDI

CXS Citrix XenServer 6.0 Administration

CITRIX 1Y0-200 EXAM QUESTIONS & ANSWERS

Accops HyWorks v3.0. Installation Guide

Installation Guide Worksoft Certify

EMC VSPEX END-USER COMPUTING

DesktopPlayer for Windows

Privileged Identity App Launcher and Session Recording

USER GUIDE. CTERA Agent for Windows. June 2016 Version 5.5

VMware App Volumes Installation Guide. VMware App Volumes 2.13

PASS4TEST. Prüfungshilfen für IT Zertifizierungen. Wir bieten Ihnen einen kostenlosen einjährigen Upgrade Service an

Setting Up Resources in VMware Identity Manager. VMware Identity Manager 2.8

version 5.4 Installation Guide

Getting Started with VMware View View 3.1

Citrix Synchronizer 5.9.1

VMware AirWatch Database Migration Guide A sample procedure for migrating your AirWatch database

SC-T35/SC-T45/SC-T46/SC-T47 ViewSonic Device Manager User Guide

F5 iworkflow and Citrix XenServer: Setup. Version 2.0.1

Citrix Exam 1Y0-301 Deploying Citrix XenDesktop 7.6 Solutions Version: 8.0 [ Total Questions: 112 ]

Jonas Activity Management Technical Deployment Guide

XenDesktop 5 PoC s the easy way. Senior Systems Engineer, EMEA

Deploying App and Desktop Solutions with Citrix XenApp and XenDesktop (CXD-300)

App Orchestration 2.6

Migrating from Citrix XenApp (IMA / FMA) to Parallels Remote Application Server

Getting Started with ESX Server 3i Installable Update 2 and later for ESX Server 3i version 3.5 Installable and VirtualCenter 2.5

Course CXS-203 Citrix XenServer 6.0 Administration

Goliath Performance Monitor Frequently Asked Questions: Citrix XenServer

1Y0-201 citrix. examsforall.com

EMC VSPEX END-USER COMPUTING

271 Waverley Oaks Rd. Telephone: Suite 206 Waltham, MA USA

1Y Citrix Managing Citrix XenDesktop 7 Solutions. 1Y0-200 Citrix

Transcription:

Worldwide Technical Readiness

Table of Contents Table of Contents... 2 Overview... 3 Implementation Guide... 4 Pre-requisites... 5 Preparing PVS vdisk to be used with Personal vdisk... 6 Creating a Desktop Group with Personal vdisk enabled... 16 Creating Streamed Virtual Machines to be used with Personal vdisk... 21 Creating Desktop Group... 27 Updating the Provisioning Services vdisk... 30 Resizing the Personal vdisk... 32 Resetting the Personal vdisk... 36 Capturing Personal vdisk Log Files... 39 Preparing the base Virtual Machine to be used with PvD and MCS... 41 Creating pooled Virtual Machines using Machines Creation Services... 43 Validation Scenario... 50 Product Versions... 56 Revision History... 56 Page 2

Overview This document provides the installation steps required to setup the personal vdisk feature of XenDesktop 5.6 with either Machine Creation Services (MCS) or Provisioning Services (PVS) running on the Citrix XenServer virtualization platform. This guide assumes the infrastructure aspects for Citrix products have been installed, including Citrix Licensing Server 11.9, Citrix XenDesktop 5.6, Provisioning Services 6.1, etc. Upon completion of the steps outlined in this document, an enterprise can provide XenDesktop virtual desktops with the personal vdisk feature enabled. Implementing XenDesktop is not a difficult or particularly complex process. However, installing XenDesktop should not be performed in a production environment without adequate testing beforehand. It is recommended to install in a test or lab environment and conduct thorough systems and user acceptance testing to determine the optimal configuration for the enterprise environment. Success Accelerator kits are available at http://www.citrix.com/successaccelerator/to ensure XenDesktop projects delivers value to the organization. Page 3

Implementation Guide Prerequisites for SQL database, Citrix Licensing, XenDesktop Controller, and Provisioning Services. Preparing Provisioning Services vdisk to be used with personal vdisk. Creating a Citrix XenDesktop site with a Desktop Group featuring personal vdisks. Creating streamed Virtual Machines with personal vdisks using XenDesktop Setup Wizard. Updating the master vdisk and the personal vdisk inventory. Resizing the personal vdisk. Resetting the personal vdisk. Capturing personal vdisk log files. Preparing the base Virtual Machine to be used with personal vdisk and MCS. Creating pooled Virtual Machines with personal vdisks using MCS. Final validation steps. Page 4

Pre-requisites SQL Database Prerequisites for SQL Server: edocs.citrix.com For the purposes of this guide, it is assumed that Windows Server 2008 R2 Enterprise is the operating system for the SQL 2008 R2 database (already installed and configured) used for XenDesktop and Provisioning Services databases. Note: Step-by-step installation instructions are available on the XenDesktop Deployment Guide CTX132111 Citrix Licensing Prerequisites for Citrix Licensing Server 11.10: edocs.citrix.com For the purposes of this guide, it is assumed that the Citrix Licensing Server is already installed and configured. Note: Step-by-step installation instructions are available on the XenDesktop Deployment Guide CTX132111 Desktop Controller Prerequisites for XenDesktop Controller: edocs.citrix.com For the purposes of this guide, it is assumed XenDesktop 5.6 is already installed. Note: Step-by-step installation instructions are available on the XenDesktop Deployment Guide CTX132111 Creating a Desktop Image VM Prerequisites for a Desktop Image Virtual Machine suitable for XenDesktop. Ensure that there is a XenServer host with sufficient memory and CPU resources available to host a Windows 7 Virtual Machine. A Workstation running XenCenter in order to manage the creation of the Virtual Machine. Note: Step-by-step information about creating a Desktop Image Virtual Machine and optimizations for Windows 7 Desktop is available on the XenDesktop Deployment Guide CTX132111 Citrix Provisioning Services Prerequisites for Provisioning Services 6.1: edocs.citrix.com For the purposes of this guide, it is assumed Provisioning Services is already installed and configured. Citrix Personal vdisk Technology Planning Guide Note: Details about topics to be reviewed running a virtual desktop implementation design are available on the Citrix Personal vdisk Technology Planning Guide - CTX133227 Provisioning Services / Machine Creation Services Note: Guidelines and ramifications about PVS and MCS are available on the XenDesktop Planning Guide: Image Delivery Page 5

Preparing PVS vdisk to be used with Personal vdisk Preparation of Provisioning Services vdisk 1 From Provisioning Services Server, click Start menu and select Provisioning Services Console. 2 Click Connect. Installation of the Provisioning Services software including the console and configuration of the farm is required before this step. Page 6

Preparation of Provisioning Services vdisk 3 The Farm node is displayed. 4 Expand the Provisioning Services Farm node and select vdisk Pool. Right-click on Win7 vdisk on the right panel and select Versions A virtual disk needs to be created from the base Virtual Machine to complete this step. Information about creating a new vdisk can be found on the Provisioning Services 6.1 product documentation. 5 Select Version 0. Click New. Page 7

Preparation of Provisioning Services vdisk 6 Version 1 with Access set to Maintenance is created. Click Done. You can also install the VDA in private image mode and then start creating new versions of the vdisk. 7 On the left pane Expand Device Collections. Select Desktops. Right-click on the target device and select Properties. You need to add the target device you used to create the vdisk to the PVS Console. Page 8

Preparation of Provisioning Services vdisk 8 Change the type to Maintenance. Click OK. 9 From XenCenter, right-click on the target device (target used to create the vdisk) and select Start to start the Virtual Machine. 10 Click on the Console tab of the target device. Select version 1) [maint] and press enter. Page 9

Preparation of Provisioning Services vdisk 11 Once the target device starts, log on as Domain Administrator. Open Windows Explorer and navigate to the XenDesktop 5.6 cd. Double-click AutoSelect to start XenDesktop installation. Select Install Virtual Desktop Agent. You need to access the XenDesktop CD from the target device. 12 Select Advanced Install. Page 10

Preparation of Provisioning Services vdisk 13 Accept the Licensing Agreement. Click Next. 14 Select Virtual Desktop Agent. Click Next. Page 11

Preparation of Provisioning Services vdisk 15 Leave Citrix Receiver selected. Verify that the install location for the Virtual Desktop Agent is appropriate for the environment. The default is C:\Program Files\Citrix. Once the installation location is verified, click Next to begin the Virtual Desktop Agent installation. 16 Select Yes, enable personal vdisk and click Next. With the XenDesktop 5.6 VDA, personal vdisk technology is always installed, yet remains in a disabled state until it is enabled. This step enables the feature. Personal vdisk utilizes V:\ as a reserved drive by default. In some circumstances, this might conflict with existing enterprise standards. Verify that this conflict does not exist prior to proceeding with installation of the VDA. Page 12

Preparation of Provisioning Services vdisk 17 Select Manually enter controller location(s). In the input box, specific the fully qualified domain name (for example controller1.domain.com) of the Desktop Controllers. If there are multiple controllers, enter each controller s fully qualified domain name separated by a space. Click Check to allow the setup wizard to validate the network presence of the specified controllers. This check does not validate whether the FQDN provided is actually a Controller, so ensure that the actual Desktop Controller is specified and not another server. Once the Desktop Controller is verified, click Next to proceed to the next step. In this scenario, the Desktop Controller is configured in the Virtual Desktop Agent. This can be done at a later time by using Group Policy or the setup wizard. 18 Validate all settings for the Virtual Desktop Agent Configuration. Default settings has the following options selected (enabled): o o o o o XenDesktop Controller Communications Optimize XenDesktop Performance User Desktop Shadowing Real Time Monitoring Use Real-time Transport for Audio Once all settings have been validated, click Next to proceed to the installation Summary validation for the XenDesktop Virtual Desktop Agent. Page 13

Preparation of Provisioning Services vdisk 19 Click Install at the summary screen and allow the installer run through to completion. These settings create various exceptions for ports in Windows Firewall. Consult your Desktop Security team to ensure that settings comply with your enterprise standards. Refer to the Citrix Knowledge Center article CTX126969 for more information regarding these settings. 20 Upon successful completion of the wizard, a screen appears. This screen shows which components were installed. Validate that the XenDesktop Virtual Desktop Agent was presented. Ensure to select Restart Machine (required to complete install). Click Close to end the installation of the XenDesktop Virtual Desktop Agent. Your Windows 7 workstation automatically restarts when you click Close. Ensure to save any unsaved work prior to clicking Close. Page 14

Preparation of Provisioning Services vdisk 21 Once the Virtual Machine restarts, click on the target device Virtual Machine Console tab. Select Option 1 [maint] from the Boot Menu. Login to the target Virtual Machine as Domain Administrator. If a message about Citrix Receiver shows up upon logging in the first time, it can be ignored for this step. 22 Click on Start -> All Programs -> Citrix -> Update Personal vdisk. 23 The Personal vdisk inventory is updated and the machine is shut down when complete. 24 It might take a few minutes for the inventory to update. Switch back to the Provisioning Services Server. From the Provisioning Services Console, select vdisk Pool. Right-click on vdisk on the right panel and select Versions Select the Maintenance version and click Promote Set the version access to Production, click OK and Done. Page 15

Creating a Desktop Group with Personal vdisk enabled XenDesktop Site Creation 1 Switch back to the XenDesktop Controller Server. Start Desktop Studio from the Start Menu. Desktop Studio should appear under: Start > All Programs > Citrix > Desktop Studio 2 Click Desktop deployment. Quick Deploy cannot be used with Personal vdisk. Page 16

XenDesktop Site Creation 3 Name your Site per your enterprise standards. In Database Configuration, enter the FQDN of your SQL 2008 server in the Server location field. Click Test connection. You should see a message that the services could not connect to the database. This is normal since the database has not been created yet. Click Ok to proceed with the database server connectivity test. If the test is successful, you will see All database connection tests passed. If you do not see this message, you must resolve the connectivity issue to the database server before proceeding. Click Next to continue. 4 Type your Citrix License Server. Click Connect. Select the appropriate license model for your company and click Next. Page 17

XenDesktop Site Creation 5 Choose your host type. Type in the IP address of your XenServer as an URL. For example: http://ip address. Provide the root user and the root password. Type a connection name that will identify this hypervisor connection. Keep the Use XenDesktop to create virtual machines option selected. Click Next. 6 Type a name for the Host name. Select a network for the virtual machines to use. Click Next. Page 18

XenDesktop Site Creation 7 Select one or more storage devices for the new virtual machines. Select the storage for the personal vdisk. Click Next. Any storage targets defined/supported on the hypervisor might be used to store the Personal vdisk. Click Finish. Page 19

XenDesktop Site Creation 8 Initial configuration is complete. Machine creation is done using the XenDesktop Setup Wizard from the Provisioning Services console. Page 20

Creating Streamed Virtual Machines to be used with Personal vdisk Creating Virtual Machines with XenDesktop Setup Wizard 1 Switch back to the Provisioning Services Server. From the Provisioning Services Console, right-click on the site name and click XenDesktop Setup Wizard. 2 Click Next on the welcome screen. Enter the address (or IP address) of the XenDesktop Controller. Page 21

Creating Virtual Machines with XenDesktop Setup Wizard 3 Select the Host and click Set Template 4 Type the password for your XenServer and click Log On. Select the template for the host. Click OK. Page 22

Creating Virtual Machines with XenDesktop Setup Wizard 5 Click Next. 6 A Connection status shows up and disappears quickly. 7 Select the standard-mode vdisk to be streamed. Click Next. Page 23

Creating Virtual Machines with XenDesktop Setup Wizard 8 Select Create a new catalog. Choose Streamed with personal vdisk for Machine type. Type a name for the Catalog name. Add a description. Click Next. 9 Set the number of virtual machines to create. Allocate the desired amount of vcpus and Memory per virtual machine. Set the Personal vdisk size and the drive letter to be used by the Personal vdisk. Click Next. The P: drive must not conflict with a reserved network drive on your corporate network. The P: drive comprises of the C:\Users (in Win 7) folder. This contains user data, documents, and the user profile. By default XenDesktop uses the drive P: but you can choose a different drive letter. Page 24

Creating Virtual Machines with XenDesktop Setup Wizard 10 Select the Desktops OU for the machine accounts and change the Account naming scheme to your enterprise standards. Click Next. 11 Review all configuration settings and click Finish. Page 25

Creating Virtual Machines with XenDesktop Setup Wizard Click Done when Setup is complete. 12 In XenCenter, click on one of the Virtual Machines created by the XenDesktop Setup Wizard. Select the Storage tab and verify that the personal vdisk was created according to your specifications. It appears as {prefix} pvdisk. Page 26

Creating Desktop Group Creating Desktop Group to be used with Streamed Virtual Machines and Personal vdisk 1 Switch to the Desktop Controller Virtual Machine and open Desktop Studio. Right-click on Assignments and select Create Desktop Group. 2 Select the Catalog that was created from the XenDesktop Setup Wizard. Add the number of machines to be assigned. Click Next. Page 27

Creating Desktop Group to be used with Streamed Virtual Machines and Personal vdisk 3 Click on Add and select the users/groups that have access to the desktops. Click Next and Next on the Delegation step. 4 Add a Display name. o Display name is presented as the Desktop group to the user in Web Interface. Add a Desktop Group name. o Desktop group name is presented at the dashboard. Click Finish. Page 28

Creating Desktop Group to be used with Streamed Virtual Machines and Personal vdisk 5 Return to the primary pane in Desktop Studio. Click Go to site dashboard to see the current status. 6 Settings and information regarding this XenDesktop site is presented and available for Administration. Desktop Group creation is now complete. Page 29

Updating the Provisioning Services vdisk Updating the vdisk and running the inventory 1 From Desktop Studio on the left panel click on Machines. Double-click on Provisioning Services streamed catalog on the middle panel. 2 Select the streamed Virtual Machines. Right-click and choose Enable maintenance mode and click Yes. 3 Right-click on the streamed Virtual Machines and select Shut down. When prompted to confirm shut down, click Yes. 4 Switch to the Provisioning Services server and start the console. On the left panel select vdisk Pool. Right-click on vdisk to be streamed on the main panel and select Versions Click on New to create a new version of vdisk. Click Done. Page 30

Updating the vdisk and running the inventory 5 Start the target device that will be used to perform the update. Select the maintenance vdisk option from the Boot Menu. Updates to Provisioning Services vdisks and Machines Creation Services disks must be done on Virtual Machines that do not have a personal vdisk attached. Maintenance mode disables the PvD allowing the updates to be written to the base vdisks. 6 Login as Domain Administrator. Perform the vdisk updates. Click on Start > All Programs > Citrix > Update Personal vdisk The target device will be shutdown automatically when the inventory is done. Alternatively, you can just shut down the machine from inside the Windows after doing an update. You will be prompted to Update inventory as part of the shutdown sequence. 7 Open the Provisioning Services Console and select vdisk Pool on the left panel. Right-click on the vdisk to be streamed on the right panel and select Versions Select the maintenance version and click on Promote Set version access to Production with Availability Immediate Click OK and Done. Switch back to XenDesktop controller. Disable Maintenance mode for the streamed desktops (desktops are started automatically). Page 31

Resizing the Personal vdisk Resizing the Personal vdisk 1 From the XenDesktop controller, start Desktop Studio Click on Launch PowerShell from within the PowerShell pane in Desktop Studio. It is important that you launch PoSH directly from Desktop Studio as instructed in this step and not independently through Windows; the new cmdlets will only run in a 32-bit console provided by Desktop Studio. 2 Run SET-EXECUTIONPOLICY REMOTESIGNED. Type Y to change the Execution Policy. Page 32

Resizing the Personal vdisk 3 Change the directory to access the Scripts folder. Execute.\personal-vdisk-poolstats. Enter the number corresponding with the streamed desktop catalog. Locate the script personal-vdisk-poolstats.ps1 in the Support\Tools\Scripts folder in the XenDesktop 5.6 media. For the personal-vdisk-poolstats script to work, enable the following on the Firewall of the base Virtual Machine before taking the inventory: 1. File and Printer Sharing (SMB-In) 2. Windows Management. Instrumentation (WMI-In). 4 View the current size and status of the Virtual Machines running personal vdisk. 5 From Desktop Studio on the left panel click on Machines. Double-click on Provisioning Services streamed catalog on the middle panel. Select the streamed Virtual Machines. Right-click and choose Enable maintenance mode and click Yes. Page 33

Resizing the Personal vdisk 6 Right-click on the streamed Virtual Machines and select Shut down, then click Yes. 7 Execute.\resize-personal-vdiskpool cmdlet. Select the desired catalog by typing the number corresponding with its name. This script should be used only to increase the size of the PvD. It is not possible at this time to reduce the size of the PvD pool using this script. 8 Enter the desired size for the personal vdisks in GB. Enter Y to confirm. Enter the root credentials for your XenServer to initiate the resize. If you try to resize the PvD and the virtual machine is powered on, a message is displayed: Virtual Machine is currently powered on, cannot resize disk Page 34

Resizing the Personal vdisk From Desktop Studio on the left panel click on Machines. Double-click on Provisioning Services streamed catalog on the middle panel. Select the streamed Virtual Machines. Right-click and choose Disable maintenance mode and click Yes. 9 Start the virtual machines using Desktop Studio. From the Powershell command, execute.\personal-vdisk-poolstats. Review the results of the PowerShell script to ensure changes were completed. 10 Verify from XenCenter that all virtual machines from the specified catalog had their personal vdisks resized. Page 35

Resetting the Personal vdisk Resizing the Personal vdisk 1 Open Desktop Director and log on using Domain Administrator credentials. 2 Search for virtual machine hostname in which to reset the personal vdisk. Change the Maintenance mode to ON. Click on Reset Personal vdisk under Machine Details. Resetting a personal vdisk returns the application allocation to its original state. Data in the user profile will not be impacted. Once a reset has been completed, it cannot be undone and applications need to be re-installed or restored from backups. Page 36

Resizing the Personal vdisk 3 Click Reset. 4 It takes a few minutes to shut down the machine. Do not shutdown the machine manually. 5 After the Virtual Machine has completely shut down, click Start from Power Control. Page 37

Resizing the Personal vdisk 6 Disable the Maintenance Mode for the virtual machine. The machine is now able to accept user sessions again. Page 38

Capturing Personal vdisk Log Files Capturing Log Files 1 From a virtual machine with the personal vdisk attached, logon as Domain Administrator. Start a command prompt and change directory to C:\Program Files\Citrix\personal vdisk\bin\. Type ctxpvd.exe -log to automatically package all PvD logs files into a single folder (PVDLOGS). 2 Type start %temp% to start windows explorer. Locate the PVDLOGS folder. The default location should be P:\Users\{user_account} AppData\Local\ Temp. Page 39

Capturing Log Files 3 Review the contents of PVDLOGS folder, particularly the following files: o o o o o o Pud-IvmSupervisor.log PvDActivation.log PvDSvc.log PvDWMI.log SysVol-IvmSupervisor.log vdeskservice-<#>.log Your environment might have just one vdeskserver-<#>.log file. In XenDesktop 5.6 logging is enabled by default for the Citrix personal vdisk feature and the log switch can be used in conjunction with ctxpvd.exe to automatically gather all relevant log files into a single PVDLOGS folder created under the %temp% directory. Page 40

Preparing the base Virtual Machine to be used with PvD and MCS Preparing the base Virtual Machine to be used with PvD using Machine Creation Services 1 Follow steps 10 through 18 from Preparing PVS vdisk to be used with Personal vdisk. Once the VDA has been installed on the base Virtual Machine, restart the Virtual Machine. Logon as Domain Administrator. Click on Start -> All Programs -> Citrix -> Update Personal vdisk. 2 The Personal vdisk inventory is updated and the machine is shut down when complete. It might take a few minutes for the inventory to update. The initial Inventory is now complete and the machine is ready for use as a base image for Personal vdisk. 3 From XenServer, start the base virtual machine and login as Domain Administrator. Go to Control Panel -> Windows Firewall -> Advanced Settings -> Inbound Rules Enable File and Printer Sharing (SMB- In) for the Domain profile. 4 Enable Windows Management Instrumentation (WMI-In) for the Domain profile. For the personal-vdisk-poolstats script to work, step 3 and step 4 should be followed to enable these two firewall rules prior to performing the Virtual Machine Inventory. Page 41

Preparing the base Virtual Machine to be used with PvD using Machine Creation Services 5 Shutdown the base Virtual Machine. From XenCenter select Snapshots tab and create a snapshot. The Base Virtual Machine is now ready for use as a XenDesktop Master image. Page 42

Creating pooled Virtual Machines using Machines Creation Services Creating pooled Virtual Machines with Personal vdisk using Machine Creation Services 1 Follow steps 1 through 5 from Creating a Desktop Group with Personal vdisk enabled. Select Configure for Machine creation. As noted earlier in this guide, Quick Deploy cannot be used when deploying Personal vdisk. 2 In the Create Catalog dialog window, select Pooled with personal vdisk in the Machine Type drop-down. Click Next. XenDesktop 5.6 adds two new catalog types. They look similar to dedicated desktops but can be thought of as a combination of Pooled Assigned and Dedicated desktops. This maintains the ability to use a centrally managed image yet also adds the Personalisation capabilities of dedicated desktops. Page 43

Creating pooled Virtual Machines with Personal vdisk using Machine Creation Services 3 Select the appropriate Master Image template from the expansion tree. Click Next to continue. 4 Configure the settings as appropriate to your enterprise. Ensure that the correct numbers of Virtual Machines are selected and that sufficient resources are available on the XenServer Host to support the desired virtual machine specifications. Click Next to continue. The drive letter chosen for the end-user must not conflict with your corporate network. Page 44

Creating pooled Virtual Machines with Personal vdisk using Machine Creation Services 5 Select the Active Directory O-U from the expansion tree in which to create the virtual machine computer accounts. Use the naming scheme to input a naming convention for the Virtual Machines that are created. Click Next to continue. 6 Validate that the Administrators permitted to use this Catalog are correct. Specify a catalog description. Click Next to continue. Page 45

Creating pooled Virtual Machines with Personal vdisk using Machine Creation Services 7 View the Summary and verify all settings. Provide a Catalog name for this XenDesktop Catalog. Click Finish to allow the wizard to create Virtual Machine accounts. Allow the Setup Wizard to Copy the master image and complete the installation process. It takes a couple of minutes to create the virtual machines. Once the desktop group creation has completed, the wizard returns to Desktop Studio. 8 Ensure that machine creation now states as complete in the center pane with the correct number of Virtual Desktops created. Click Configure in the User assignment pane to begin the process of assigning users to desktops. Page 46

Creating pooled Virtual Machines with Personal vdisk using Machine Creation Services 9 In the Create Desktop Group dialogue, select the Catalog from which to provision Virtual Desktops for Assignment. Specify the number of machines by entering the value in Add machines textbox. Click Next to continue. 10 Click Add to add users to this Desktop Group. This brings up the Active Directory user selection screen. Determine the number of Desktops to be assigned per user and specify it in the text box at the bottom of the screen. Click Next to continue. Click Next on the Delegation screen. Page 47

Creating pooled Virtual Machines with Personal vdisk using Machine Creation Services 11 Provide a Display Name and Desktop Group Name for the Desktop Catalog. Click Finish to complete the Desktop Assignment. The desktop type is displayed as Private Desktop. 12 Validate that the User Assignment appears in Desktop Studio. If successful, click on Go to site dashboard to verify settings and information. Page 48

Creating pooled Virtual Machines with Personal vdisk using Machine Creation Services 13 The dashboard shows metrics and data regarding Desktop Catalogs, Groups, and Assignments. Page 49

Validation Scenario User s View 1 FromXenCenter, start a Client Virtual Machine and login as a domain user. Start Internet Explorer and navigate to the XenDesktop logon site. Enter a username and password of an account with a Virtual Desktop provided by XenDesktop. Click Log On to continue. 2 Observe the virtual desktops available for the end-user. Click the icon representing an assigned virtual desktop to initiate the connection. Allow the virtual desktop to fully load. A splash screen appears once the virtual desktop has fully loaded. Page 50

User s View 3 On the virtual desktop, start Windows Explorer and select Computer to show the Hard Disk Drives. Verify the Citrix Personal vdisk (P:) is showing. If you get a message about HDX File Access, select Read/write access. 4 On the Virtual Desktop start a command window. Change directory to the root (p:\). Execute dir followed by dir /a. Look at UserData.VHD. This started as a copy of UserData.VDESK.TEMPLATE file. In a running virtual machine this is the V: drive which is hidden. The VHD file on the Hypervisor is mounted as P:\ on the virtual machine. Within the P:\ drive, the UserData.VHD, which originated as a copy of UserData.DESK.TEMPLATE file (in the base vdisk) is mounted as V:\ and is hidden. This is where the Apps and Machine state is captured. 5 Type fltmc and verify the Filter Name ivm exists in the list. ivm shows that the personal vdisk is enabled. Page 51

User s View 6 Open Windows Services and check that Citrix Personal vdisk service is running. CtxPvDSvc.exe is the process that corresponds to Citrix Personal vdisk service. 7 Open Windows Explorer. Double-click the Citrix Personal vdisk. Verify the folders present and the IvmSupervisor log. 8 From Desktop Studio, under Assignments, double-click on the desktop in use from the Streamed catalog. Verify: o o User is logged on to your desktop. This desktop is assigned to the specific User. This step is showing the user is assigned to a specific desktop upon his first login. Page 52

User s View 9 Open Desktop Director and log on as Domain Administrator. Page 53

User s View 10 Search for the virtual desktop that is assigned to user from step 8. Verify the percentage of vdisk being used for the streamed desktop. 11 From the streamed desktop, install an application. Start the application once to ensure any post installation routines complete successfully. Copy some data to My Documents. Notice the data is being copied to P: Page 54

User s View 12 Over time, drive P:\ starts to fill up. 13 Depending on the amount of data copied, drive P:\ shows red when space is limited. Windows sees a personal vdisk as a normal disk. Running out of space is reported as such by the operating system. Page 55

Product Versions Product Version Citrix XenDesktop 5.6 Citrix Provisioning Services 6.1 Revision History Revision Change Updated By Date 0.1 Document Created WW Technical Readiness June 12, 2012 0.2 Feedback WW Consulting Solutions June 12, 2012 1.0 Final Document WW Technical Readiness June 12, 2012 1.1 Review Knowledge Center Team July 17 th, 2012 About Citrix Citrix Systems, Inc. (NASDAQ:CTXS) is the leading provider of virtualization, networking and software as a service technologies for more than 230,000 organizations worldwide. Its Citrix Delivery Center, Citrix Cloud Center (C3) and Citrix Online Services product families radically simplify computing for millions of users, delivering applications as an on-demand service to any user, in any location on any device. Citrix customers include the world s largest Internet companies, 99 percent of Fortune Global 500 enterprises, and hundreds of thousands of small businesses and prosumers worldwide. Citrix partners with over 10,000 companies worldwide in more than 100 countries. Founded in 1989, annual revenue in 2010 was $1.9 billion. 2011 Citrix Systems, Inc. All rights reserved. Citrix, Access Gateway, Branch Repeater, Citrix Repeater, HDX, XenServer, XenApp, XenDesktop and Citrix Delivery Center are trademarks of Citrix Systems, Inc. and/or one or more of its subsidiaries, and may be registered in the United States Patent and Trademark Office and in other countries. All other trademarks and registered trademarks are property of their respective owners. Page 56