Recently I upgraded Citrix Workspace Environment Management from v4.2 > 4.7.
The environment for this WEM installation is on-prem and is used across multiple forests (trusts in place), to apply the same settings to multiple different XenApp hosts.
At the beginning everything seemed to work as normal, brokering etc, agent comm etc, but the following issues soon appeared:
In the admin console, going to Active Directory Objects, to add or edit users and groups for WEM, only the Group/user SID’s where showing.
Now that makes administration a somewhat bad experience for any person not walking around remembering the SID for everything around in AD.
The fun part was that editing any SID by opening, and clicking OK, got the name back.
Editing a SID, clicking Yes on the warning:
Clicking OK without changing anything on the editet Group/user:
After OK, the name is resolved:
So, for the console to show correct, I had to do this to every SID not resolving the name – boring – but then everything was ok, until the console got closed and opened again…
So this became somewhat I more irritating issue.
I logged a case with Citrix support to get them to investigate the issue and collecting some logs for them to look at. (For locations for WEM logs: https://support.citrix.com/article/CTX228742 )
(Only thing clearly showing in one of the logs was that WEM got an error regarding some Domain trust that had not been cleaned away when that domain had been taken out of production).
After some back and forth in the ticket dialog, we got together and decided to take a look via GoToMeeting, where I got to share my screen with the technician at Citrix.
Of course, that day, the issue was gone, so I logged the following changes that had been made from my part, since the last time the issue showed itself, and the following had been done in the backend.:
– Old trust had been removed – no longer generating that error.
– WEM broker moved from 2012r2 > 2016 server – issue still persists.
– An extra WEM 2016 Broker was set up, and Load Balancing via NetScaler was setup.
Still not certain which one solved the issue, but the technician took the information back with him – most likely its logical that there is a connection between the error and the “old” trusts.
Memory leakage for the Wem Broker service on the WEM server.
This caused the WEM server to eat all available RAM on the Broker server.
Worked around this by Scheduling a restart of the Broker service with regular intervals – for the beginning.
Investigating the big World Wide Web for the issue, lead me to the following post on the Citrix forum.:
This talked about a private hotfix for the issue.
When talking with the Citrix Technician I got this, it’s a DLL to replace on two locations for the WEM broker, everything seems ok after this.
So, for those struggling with that one, log a ticket with Citrix, and request the hotfix for the issue, hotfix has the name “LC9623-47”
It is a known issue for Citrix, and will probably be addressed in a later update.
Hope someone finds this useful.