Hi
I'm trying to do disaster recovery testing on a CVAD 2402 CU1, testing outage of both license server and/or SQL server.
I added a dummy entry in the hosts file for license server: works fine, server no longer reachable, goes into grace mode, everything keeps working.
However, when I do the same for SQL, I get weird behavior.I would expect LHC to kick in, but it doesn't.
I know about the forced outage mode for LHC and that does work
I do a continuous ping to the SQL DNS name: shows my dummy address and a continuous time out. (as expected)
In event log, I get event 1201 from Citrix Broker Service:
"The connection between the Citrix Broker Service and the database has been lost.
Error details:
Exception 'A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - The wait operation timed out.)' of type 'System.Data.SqlClient.SqlException'.
Ensure that the database is correctly configured and accessible."
> Well, that's exactly what I'm testing... It's NOT accessible, so I want LHC to kick in...
But seconds (max 30) later, I get event 1200:
"The connection between the Citrix Broker Service and the database has been restored."
If I do netstat -aon, I see a connection to the SQL server 'real IP' Established.
How is that possible?