Solved

Citrix server can't take it for 30 minutes it after a BSOD

Posted on 2011-09-19
5
272 Views
Last Modified: 2013-11-21
We have a Citrix 4.5 farm with over a dozen Win 2003 x64 servers with 12Gb of ram, each with dual quadcore xeon 3Ghz
It doesnt happen often, but each we have a BSOD on one of them during office hours we seem to face the same problem each time.

By the time the 50 to 60 users who were on that server, realize their session is gone (5 minutes or so) they try to start their applications again. Ofcourse by that time the crashed server has booted up already and accepting new connections.
The citrix loadbalancer then sends all these users which dont have a session yet, to that one server which is empty. (or still with less resources in use in comparison to the others in the farm)
And this one citrix server, freshly booted gets all these new users all at once, and he cant take it anymore for 20-30 minutes.
End-users think something is wrong on their end, click the application again. The first session isnt known yet in the sessions list, so gets another session, again on that one server which already busy enough, making it worse.

It helps putting that one server 'offline' in the farm, but I have to be fast doing that and most of the times I realize what happened it's already (or near) up to speed again.

Any suggestions how to best deal with this?
0
Comment
Question by:warddhooghe
  • 2
  • 2
5 Comments
 
LVL 25

Expert Comment

by:Tony1044
Comment Utility
Well I'd be looking into why they BSoD of course - chances are, given it's x64 it'll be a driver. Most likely a printer driver.

But why not apply a startup script via GPO to run a simple .cmd file to disable logins?

In the .cmd file, add the following:

@echo off
change logon /disable

That way, on restart, the server will automagically disallow user logons.
0
 
LVL 5

Author Comment

by:warddhooghe
Comment Utility
thanks for your suggestion, but that would not work out well with our weekly reboots
0
 
LVL 25

Assisted Solution

by:Tony1044
Tony1044 earned 250 total points
Comment Utility
Well it could be made to:

Get hold of sleep.exe and change it to:

@echo off
change logon /disable
sleep 15
change logon /enable

That way, it would give you however long you require to remediate things, whilst on an automated reboot, automatically allowing logons again after xx minutes.

You'd need to examine the sleep.exe parameters for the exact times you required.
0
 
LVL 5

Author Comment

by:warddhooghe
Comment Utility
fyi: we take good care of driver and firmware updates and only use the Citrix printer drivers to avoid these kind of problems.
The reboots arent always due to BSOD. Yesterdays for example, was due to power distribution problems.
0
 
LVL 14

Accepted Solution

by:
joharder earned 250 total points
Comment Utility
Be sure to incorporate the load throttling rule within the load evaluator that's applied to your servers.  Load throttling causes each logon to intentionally artificially inflate the impact of multiple user logons so that a new server brought into service doesn't bear the load of all the new connections.  When you do add this rule, the default setting is high, but in your case, you may wish to set to very high.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ports for sccm 2012 1 60
Server HP DL380 G7 13 35
Backup DHCP Server 8 67
Exchange 2013 Email forwarding. 5 30
After several days of searching and hunting for limited documentation, I wanted to share this guide to hopefully save someone the hassle of trying to figure this out on their own. I have tested this on Xendesktop 7.1 and PS 4.5 running simultaneous…
#CITRIX #XENDESKTOP #POC #Citrix Studio
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

13 Experts available now in Live!

Get 1:1 Help Now