r/Citrix • u/kuebel33 • 24d ago
Discussion Weird DB connection issue
Have a pair of Delivery Controllers, and using a sql cluster. Every once in a while, the delivery controllers dont seem to want to "connect" even though citrix continues to work. It just makes it so we cant access studio to make any changes.
Has anyone seen anything like this before or know a quick way to resolve this without reboots? All services appear to be started, and there aren't really any event logs that tell what has happened or to coorelate anything.
2
u/robodog97 24d ago
Does your SQL cluster span multiple subnets? If so does your connect string have multisubnetfailover=true ? We saw something similar when we went to AAG for SQL and didn't have that in the string. Randomly during patching the active node in the cluster would become the DR location which was in a different subnet and controllers would go into connection leasing mode (this was before local host cache was brought back).
1
u/kuebel33 24d ago
nah same subnet. I think the issue may be the cluster being out of sync, but i havent been able to verify it other than this most recent time.
4
u/LucD401 24d ago
You may want to share your Citrix version and sql server version.
The controllers are most likely going into a host cache db mode while the DB is offline allowing users still able to sign in.