WorkSpaces are missing Teradici performance counter after upgrading to newer PCoIP Agent. [INTERNAL]
Issue:
Customer's WorkSpaces (SFDC #00046478) are missing the below Teradici performance counters after upgrading to 20.10. As a result the connection status is always being shown as disconnected even if the WorkSpace has active connection.
From procmon it appears that some registry keys are missing. Reboot did not help to fix the counter issue.
The missing keys are:
- HKLM:\System\CurrentControlSet\Services\TeradiciPerf\Performance\First Counter
- HKLM:\System\CurrentControlSet\Services\TeradiciPerf\Performance\First Help
Resolution:
Working with the customer we found the problem was an interaction between Liquidware ProfileUnity and the PCOIP performance counters.
We identified one setting that needed to be adjusted to resolve the issue.
in `C:/Program Files/ProfileUnity/Client.NET/Lwl.ProfileUnity.Client.CmdService.exe.cfg`
We change this setting from True to False ``` <setting name="RunClientOptimizationLodctr" serializeAs="String"> <Value>False</Value> </setting> ```
Lodctr registers performance counters and disabling ProfileUnity optimizations for this resolved the problem completely.
After reinstalling the PCOIP performance counters again with this disabled. We could reboot the workspace multiple times without it breaking.
We changed it on a second WorkSpace and also had a successful fix.
The customer will work with LiquidWare to determine what the side effects of this setting will be.
Issue:
Another customer (SFDC #00067431) encountered a similar behavior where the counters were removed.
According to the customer AWS team advised them to disable firewalls and clear cache every time they call.
They are trying to figure out how many this is happening to. Where they finally realized what was going on, the auto-term they had enabled delete about 2000 workspaces.
Resolution:
If I log into the workspace I can usually run this command I found from this site I sent you, to repair the agent.
"C:\Program Files\Common Files\VMware\Teradici PCoIP Server\pcoip_perf_installer.exe" /s "C:\Program Files\Common Files\VMware\Teradici PCoIP Server\pcoip_perf_provider64.dll"
https://liquidwarelabs.zendesk.com/hc/en-us/articles/210640903-PCoIP-counters-missing-with-AWS-or-UniDesk-Horizon-View-Deployments