Citrix 7.x Power Managing XenApp Machines Oneway

Came across an oddity since working with 7.x XenApp farms. In our case, we have several XenApp Deployment Group that contain PVS Machines. I have these set to reboot once a week to keep the cache manageable. Of course they reboot in offpeak, so Citrix decides to power off a number of them because they aren’t needed—but doesn’t power them back on.

Of course this creates a big issue when you aren’t looking for it. In our case, I really just want all the machines on at all times as I have managed the load by creating the right number of machines to handle it. In offpeak, it is offpeak for the entire infrastructure and freeing up the resources isn’t really a goal.

To make all machines ready for connections all the time, we need to make two changes.

Open up Powershell on a machine that has the Citrix Snapins.

PS C:Usersadmin> asnp citrix*

PS C:Usersadmin> Set-BrokerDesktopGroup "[Delivery Group]" -AutomaticPowerOnForAssignedDuringPeak $True -PeakBufferSizePercent 100 -OffPeakBufferSizePercent -100

Now you have told Citrix that you need all the servers all the time.

 

-Stephen

Reference: https://lalmohan.co.nz/2015/10/18/power-management-of-xendesktop-7-x-delivery-groups-prevent-workload-power-off-when-not-in-use/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s