Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1507
  • Last Modified:

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


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
1 Solution
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.
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

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now