XenDesktop Delivery Group starts VMs despite the Power Management set to 0

image_pdfimage_print

Hi Friends of virtual Desktops

Who of you knows that? Within XenDesktop you create a Machine Catalog and publish this as a Delivery Group. The power settings are done and you define to some daytimes that 0 (ZERO, niente, rien, non) Desktop should be standby.
If you look on the Hypervisor or in Studio at this time you see, that some VDIs are running. You shutdown them… but no, others will be startet…?!?!

The reason for this behaviour is a setting by Desing. 10% of the VDIs in a random Delivery Group will be started and standby. You can search in the Studio (GUI), but you will not find any similar settings.

The secret is hidden in PowerShell.
Start PS via Citrix Studio > PowerShell

You can show the advanced settings of a Delivery Group with the command
Get-BrokerDesktopGroup <>
 and you see settings like PeakBufferSizePercent and OffPeakBufferSizePercent:

XD-Buffer-10
You see a value ’10’, which is responsible for the behavior descript above.

To change this value to 0 you net a Set- command:
Set-BrokerDesktopGroup <> -PeakBufferSizePercent 0
Set-BrokerDesktopGroup <> -OffPeakBufferSizePercent 0

XD-Buffer-Set

If you check the values again, the buffer sizes are set to 0%:

XD-Buffer-0

 

 

 

More Info: CTX136576

Citrix XenDesktop 5.x / 7.x