Need to add a "drain stop" to a specific Citrix server in a farm

Posted on 2006-11-28
Last Modified: 2008-01-09

We have 12 citrix servers. Occassionaly, we would like to take one out of service. We do not want to just kick everyone off. Instead, we'd like to have that particular server no accept any more farm connections. We would then wait on the current users to finish their work and log off at their choosing. This would essentially "drain" the server and allow us to do maintenance without the users ever knowing. How can we do this? We are running
Question by:jbrumbel
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 13

Expert Comment

ID: 18030516
On the server you want to "drain" you can disable the ICA-TCP connector.  As long as you aren't using Network Load Balancing, clients should be fine.  If you are using NLB, as the clients "bleed off" your "usage" metric goes down and clients will be routed to the server that's being drained because it is more available than the others... just something to consider.  If you are using NLB, you can customize the metric for it and have it state a "full" status.

Disable connectors:
1.  Click  Start:AllPrograms:Citrix:Administrative Tools:Citrix Connection Config. Tool
2.  Right-click the appropriate connection  (ICA-TCP).
3.  Select Disable to disable the connection or select Enable to re-enable the connection.
4.  Click Yes to confirm the change.
LVL 10

Accepted Solution

chrisnewman01 earned 500 total points
ID: 18031151
If you disable the ICA-TCP connector, you bump everyone off.  You can do it two ways that will disable future logins, but allow users to gracefully logoff:

a)  Go to the command prompt and type:  change logon /disable.  When you're finished and want to bring the server back online, it's change logon /enable
b)  In the CMC, right-click the server you want to disable logons to and select properties, select Metaframe Settings, then uncheck "Enable logons to this server".

Which version are you using?  If pre-PS4 (or PS3), if you uncheck the "enable logons to this server" option, the server will not accept connections until you check it again.  If XP, the server accepts connections upon reboot.


Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
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.

617 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