Local Host Cache (LHC) enables connection brokering operations in a Citrix DaaS (formerly Citrix Virtual Apps and Desktops service) deployment to continue when a Cloud Connector cannot communicate with Citrix Cloud. Local Host Cache engages when the network connection is lost for 60 seconds.
The local host cache can be checked for proper functioning using the information below. This article will explain:
Troubleshooting Tips and important considerations:
-All connectors (to which VDAs register) need to communicate with a StoreFront deployment.
-Launches across zones (from a broker in one zone to a VDA in a different zone) are not supported during an outage. In multi-resource location environments, if all connectors are listed as part of a single site in StoreFront, this can cause challenges. There are two ways to correct this:
1) If on StoreFront 1912 CU1 or later, enable StoreFront Advanced Health Checking (more info here) via the web.config file. This adds additional granularity to StoreFront’s logic in handling XML responses from connectors.
2) If that’s not an option, each resource location can be specified as a separate site in the StoreFront configuration, you can use Site Aggregation to de-duplicate icons as required.
-Gateway and Connector communications are important during LHC mode.Connectors are also probably serving as your STA in a Citrix Cloud world. To make sure connectors are properly detected as available or not available to handle STA functions in LHC mode, the Citrix ADC has a built-in monitor to detect availability of the broker service on Cloud Connectors including use as a STA for Gateway connections. Learn more here. Other monitors (tcp, ping) may not correctly identify that the STA is unavailable on non-elected Connectors during LHC mode.
Checking the Event Logs for LHC events:
During normal operations, the following events can occur when the CSS imports the configuration data into the Local Host Cache database using the Local Host Cache broker.
Config Sync Service
High Availability Service
This service is also known as the Local Host Cache broker.
Troubleshooting Tools:
Several troubleshooting tools are available when a synchronization import to the Local Host Cache database fails and a 505 event is posted. Please refer to our docs for more information
How to Verify Local Host Cache is Working
Scaling and Size considerations for Local Host Cache