FREE Citrix XenApp Training

Are you setting up a new Proof of Concept
or a Production Environment?

I'll coach you through the configurations step-by-step with Real World Best Practices.

  • Microsoft Active Directory and Group Policy...
  • Install and Configure Citrix XenApp...
  • Citrix Web Interface and Licensing...
  • And Much Much More...

I respect your privacy. I'll NEVER sell, rent or share your email address. That's more than a policy, it's my personal guarantee!

Citrix XenApp Rolling Reboot Script

citrix reboot policy 300x268 Citrix XenApp Rolling Reboot Script

Many of you are probably familiar with the new Reboot Behavior Policy. Maybe you’ve scratched your head trying to figure out why the Citrix policy didn’t work. Maybe you’ve spent a whole day until you came upon this blog post telling you that the Reboot Behaviour Policy only works with Enterprise or Platinum license. Thanks for letting us figure it out the hard way Citrix!

Some of you may also have tried Citrix Power and Capacity Management finding out that it needs a similar license, its own database and control server. Kind of overkill for small SMB environments with only 10-50 servers.

A couple of weeks ago I stumbled upon a superb Citrix XenApp Rolling Reboot Script created by Dane Young. The script supports XenApp 5-6.5 and basically it uses a Load Evaluator to drain servers one by one. Once all sessions have been logged off, the server will go down for a reboot.

The script will also validate that the last rebooted server was successful before continuing on to the next server in the farm. By implementing this script in your organization you’ll get a zero-downtime 24/7/365 system without the annoying “Please Log Off” messages.

We’ve been running this script successfully for a couple of weeks with great success. Right now we’re having a dialog with Dane Young to add more features and further improve the script e.g. adding the possibility to create an Exclude Servers list to the Citrix XenApp Rolling Reboot Script.

In Citrix XenApp 6.5 there’s now also a great new feature called Logon Control that will let you drain servers without adding any form of Load Evaluator.

Citrix XenApp 65 Logon Control 300x248 Citrix XenApp Rolling Reboot Script

Resources :

Prepare For Your Next Citrix Exam with FREE Training
Enter you email to Get Instant Access to Citrix Training and blog post updates directly to your inbox. Over 14644 people have already enjoyed this comprehensive training.

{ 7 comments… read them below or add one }

Jeff Nichols December 7, 2011 at 20:13

Fantastic script that works well. I’ve seen it work well in a large client site.

Reply

Trond Eirik Haavarstein December 8, 2011 at 10:00

Thanks Jeff. Great to hear, we have the same experience.

Reply

Alex Spicola March 15, 2013 at 16:54

Any one have issues with this script hosing up commands like qfarm /load or Get-XAServerLoad and preventing the script from running?

Reply

Nicolas March 24, 2013 at 21:43

The link is not working, server not found :-(

Reply

Trond Eirik Haavarstein March 25, 2013 at 08:00

Thanks Nicolas, I’ve updated the link : http://blog.itvce.com/?p=79

Reply

adebayo ademiju May 30, 2013 at 10:34

Hi Eric, The link is no longer working again. How can I get a copy of this script?

Reply

Trond Eirik Haavarstein May 30, 2013 at 16:04

Yes I know, the post and script has been removed. I don’t know when or if it will come back. Please ask Dane Young which owns the blog.

Reply

Leave a Comment

Previous post:

Next post: