Xen App 5 Reboot Script, in the Citrix XenApp / Presentation Server forum on BrianMadden.com
Brian Madden Logo
Your independent source for desktop virtualization, consumerization, and enterprise mobility management.

Xen App 5 Reboot Script, in the Citrix XenApp / Presentation Server forum on BrianMadden.com

rated by 0 users
Answered (Verified) This post has 1 verified answer | 11 Replies | 4 Followers

Top 100 Contributor
Points 2,170
Joe C posted on Thu, Apr 9 2009 8:34 AM

Is anyone successfully using a reboot script for Xen App 5?

  • | Post Points: 35

Answered (Verified) Verified Answer

Top 50 Contributor
Points 5,587
Verified by Joe C

scheduled reboots are in the server properties in the PSC.

Ryan
  • | Post Points: 40

All Replies

Top 500 Contributor
Points 880

 

I have had pretty good success using batch files with the TSSHUTDN command in the past.

http://support.microsoft.com/kb/320188

 

Jesse Korn
RKON Technologies
http://twitter.com/TheCitrixNinja

  • | Post Points: 5
Top 10 Contributor
Points 48,811
Suggested by Dan Murray

I have had great success with the PSSHUTDOWN utility, since it lets you pass it a server name and do the reboot remotely.

Why is it called "Common Sense"? It doesn't seem all that common!

  • Post Points: 5
Top 100 Contributor
Points 2,170
Joe C replied on Thu, Apr 9 2009 11:39 AM

Does the first work on Server 2003?  I don't mind scheduling a task, but it will need to send the users a message to log off. 

  • | Post Points: 20
Top 500 Contributor
Points 880

 

Yep, it works on 2003, sorry didn't notice that article only references 2000.  I have had good luck in some environments with this and in others have had some issues, so I recommend experimenting.  Also, if you have Enterprise or above licensing (I think this is still the case) you can use the built in server reboot schedule functionality. 

Jesse Korn
RKON Technologies
http://twitter.com/TheCitrixNinja

  • | Post Points: 20
Top 100 Contributor
Points 2,170
Joe C replied on Thu, Apr 9 2009 12:54 PM

OK, I know this sounds stupid, but we have enterprise.  Where is the schedule located?  In our transition from 4.0 to XenApp, a lot of stuff changed as far as where it was located and its throwing me off.

  • | Post Points: 20
Top 500 Contributor
Points 880

 

There should be configurations for it under the farm settings and properties of each individual server in the AMC.

Jesse Korn
RKON Technologies
http://twitter.com/TheCitrixNinja

  • | Post Points: 20
Top 100 Contributor
Points 2,170
Joe C replied on Thu, Apr 9 2009 2:43 PM

Once again, I may sound dumb, but I don't see that and I verified I have Xen App 5 Enterprise installed.

  • | Post Points: 20
Top 50 Contributor
Points 5,587
Verified by Joe C

scheduled reboots are in the server properties in the PSC.

Ryan
  • | Post Points: 40
Top 500 Contributor
Points 880

 

Most everything is moved to the AMC in XenApp 5.0.  I am pretty sure the setting is there, but only in Enterprise and up.  So if its not, make sure you have the Edition set correctly.

Jesse Korn
RKON Technologies
http://twitter.com/TheCitrixNinja

  • | Post Points: 20
Top 100 Contributor
Points 2,170
Joe C replied on Fri, Apr 10 2009 8:34 AM

Verified we have enterprise, but this is the one setting that is in CMC.  Since I found this, there will be no need for a reboot script.  Thanks everyone for your quick replies.

  • | Post Points: 20
Not Ranked
Points 5

This one puzzled me for a bit, because it's not where you expect it. You have to go in the CMC (or the XAC as it is now initialed, I'll just say the Java console, LOL) and pick one server and go to its properties there.  When you set a reboot schedule for the server, you then have the option to apply it to other servers (with an option to stagger reboots).

Not a very intuitive location for a setting that most users probably want to apply farmwide or zone-wide.

  • | Post Points: 5
Page 1 of 1 (12 items) | RSS