Pages

Friday, May 3, 2013

Increasing vCPU and memory for Citrix XenDesktop 5.6 virtual desktops

I’ve recently been asked about how to change the amount of vCPU and memory for Citrix XenDesktop desktop catalogs that have already been deployed and as XenDesktop administrators would know, the following screen with configuration parameters to set the vCPU and memory is presented when creating the new desktop catalog:

However, once the desktop catalog has been created, we no longer have access to these options. Manually changing the master image and/or the VDI desktops doesn’t work because subsequent desktops that are deployed will be configured with the same vCPU and memory as originally specified.

The solution to this is actually quite simple and that is to use PowerShell cmdlets to change the configuration for the desktop catalog. The following are the PowerShell cmdlets we’ll need to change these settings:

Note that changing these settings will only apply to new desktops deployed for the pool and not for existing desktops. This means that if you had 200 desktops in the pool, simply executing updating the catalog with a new snapshot will not change the CPU or memory. The only way to update them would be to use vSphere PowerCLI to change the settings for the existing VDIs or delete them and recreate the desktops if they are not persistent.