Solved

Recommended / Best Practices Restart Procedure for Citrix XenApp Environment

Posted on 2012-04-02
3
4,374 Views
Last Modified: 2012-04-04
Hi All,

I have an environment I manage which is running a 6-VM server Citrix setup with the following:
1x - CAG
1x - Web Interface
1x - Data Collector
3x - XenApp 6.5 Servers

With regards to restarting the servers, what do you guys recommend as the best practice?

I would firstly out of business hours shut them all down and typically I would start them up in the following order:

1. Start the CAG, Web Interface and Data Collector.
2. Start the remaining 3 XenApp servers.

Would like to know whether my approach is the correct / best practice approach or whether I am doing it backwards?

What do you guys recommend?

Cheers
0
Comment
Question by:vasboz
3 Comments
 
LVL 25

Accepted Solution

by:
Tony1044 earned 50 total points
ID: 37800613
Nothing wrong in the order you're doing them. Typically though, CAGs tend to be quite stable and not require the same amount of reboots as Citrix application servers.

Ditto the WI and Data Collector - if the latter isn't also hosting apps, it tends to be quite stable.

Most places tend to just reboot the application servers (i.e the ones actually hosting published apps) once a week - and ideally via automation - on a staggered phase in case one doesn't come back up cleanly. So in your case, I'd recommend say a Friday, Monday and Wednesday nights - that way if one doesn't come back up you at least have the other two.
0
 
LVL 31

Assisted Solution

by:Justin Owens
Justin Owens earned 20 total points
ID: 37801586
We set up our Application servers for daily reboots at 3:00 AM because they are heavily enough used that they become non-responsive due to overload when we don't.  A better solution would be to expand the app server farm, but that is not an option for us right now.  As Tony1044 mentioned, you should not need to have frequent reboots of the other servers.  I tend to hold off on those to wait for monthly patches and updates.  In this way, each server gets at least one reboot a month.

Ultimately, it is about personal preference and best practice for your specific scenario.

DrUltima
0
 
LVL 23

Assisted Solution

by:Ayman Bakr
Ayman Bakr earned 30 total points
ID: 37801709
The best practice is to have a periodic reboot to the session-hosting servers (that is the XenApp servers). How often is this reboot depends on the load on the servers and how often is the cache/RAM/pagefile depleted. Some people do it biweekly and I know of others who do it on a daily basis!

Personally, we do it on a weekly basis. Tony1044's suggestion is great, in case you decided to do it on a weekly basis, to distribute the reboot over the week days. However, just for your information, in our case this is not possible and we have SLAs with our clients where we are entitled to a maintenance window period on a weekend only - so we can't reboot during the weekdays.

Again, as Tony1044 outlined, the Web interface, data collector (if not hosting sessions), CAG and SQL servers are usually stable - so it is not required to have a reboot schedule for them. However, in case you need to apply patches where a restart is needed or in case of emergencies the order for shutting down and bringing up should be as follows:

ShutDown order:
1. Shut down the XenApp servers first
2. Shut down the Data Collector, Web Interface, CAG (doesn't matter here which is first)
3. Shut down SQL server
4. If the above are VMs and if required shut down the hypervisors (XenServers)

Booting Up order:
1. Boot up the hypervisors
2. Boot up the SQL server
3. Boot up the Data collectors, CAG, Web Interface servers
4. Boot up the XenApp servers
0

Featured Post

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now