Xenapp 6.5 - Lost connection to SQL datastore - Users no longer able to logon

Posted on 2014-03-12
Last Modified: 2014-04-11
Hi all,
We recently had an issue whereby our SQL server which holds the Xenapp 6.5 datastore crashed. My understanding was that the Citrix farm should still allow users to logon by using the LHC on the server. However, no one could log on. What is the default behavior when the elected host loses the connection to the SQL server? and is this something I can change?
Question by:Matt
LVL 25

Expert Comment

by:Sekar Chinnakannu
ID: 39923310
LHC had a grace period of only 96 hours it means licensing information stored on the data store. Once the 96 hour grace period ended then the licensing will fail and the server will stop accepting incoming connections.

Author Comment

ID: 39923317
this was within 6 hours

Expert Comment

by:Vijaya Reddy Pinnapa Reddy
ID: 39924135
Have you rebooted the server or restarted Citrix IMA service?. If Yes, then citrix farm don't allow users to logon.
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

LVL 36

Expert Comment

by:Carl Webster
ID: 39924507
Man the 96 hour thing hasn't applied since like 2005 or maybe earlier.  If the SQL Server goes down, a XenApp server (if it has made at least one connection to the license server) will serve users for a very long time.  There is no 96 hour or 30 day time limit - there is NO time limit.

If you have lost connection to the license server then the 30 day (768 hour) license grace period comes in.

I have seen instances when then SQL server goes down or the connection to the database goes down then the XenApp server(s) refuse to allow connections.  It is NOT supposed to happen but it does.  In these instances, we implemented SQL mirroring where each SQL server was on a different virtual host and the databases were on different storage systems.

Author Comment

ID: 39925090
Thanks Carl but that's pretty poor. Its not meant to happen but does. I thought the whole point of the architecture was to allow things to keep working if the database connections goes down. Perhaps I should just revert back to my presentation 4.5 farm as it seems far more resilient. SQL mirroring. cluster, or whatever layer of resilience you want to add. You will still at some point run into a database connection problems. The problem is with XENAPP
LVL 36

Expert Comment

by:Carl Webster
ID: 39925096
I agree but I have seen this happen with PS4.5, XA5, XA6 and XA6.5.
LVL 19

Assisted Solution

basraj earned 250 total points
ID: 39925433
Ideally it should work even when the datastore goes down and it happened in my environment too but it never stopped working. When it went down it affected all the servers or only the specific server? If specific server, did you disturb them after DS went down? Like rebooting, restarting IMA and so on? Also is your farm configured with configuration logging?

Author Comment

ID: 39944890
Where can i check if configuration logging is enabled? basically my farm lost the SQL server and 1 of the data collectors. Web interface server was still available. Yet no connections aloud.
LVL 36

Accepted Solution

Carl Webster earned 250 total points
ID: 39944892
right click the farm name

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
XenMobile 6 50
powershell hanging 4 58
citrix netscaler: add ns ip 2 117
Access on thin client? 11 73
Citrix XenDesktop 7.6 Citrix Policies Audio
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.

839 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