2 Replies Latest reply on Aug 3, 2018 7:54 AM by Scarlito

    Appstack - Capturing VMware Client Integration Plug-in 5.6/6.0 does not work

    solgaeDK Enthusiast

      So with the new client integration plugin that basically acts as a web socket service, I updated the AppStack to include the new versions of the Client Integration Plug-in. Unfortunately, it appears that that is not possible.

       

      After capturing and ensuring vmware-csd process was not running, I went ahead and finished provisioning the AppStack. However, when I logged in to the desktop, attaching the appstack that I just provisioned, I found out that the client integration plugin wasn't starting up when I browse to the Web Client. Looking at the web console, I noticed that a web socket request was failing due to unresolvable host name vmware-localhost. I found out that Client Integration Plugin adds a vmware-localhost entry to the hosts file in C:\Windows\System32\drivers\etc directory, but it required me to flush the DNS before the hosts file took effect.

       

      Even then, I found that the plugin would not work, so delving into the CIP log files showed that the certificate was missing on C:\ProgramData\VMware\CIP\csd\ssl directory. And I found that the certificate generated during the install was not captured to the AppStack.

       

      I reviewed the snapvol.cfg within the AppStack and, sadly, I found that it was set to exclude anything under ProgramData\VMware directory. (EDIT: As I found out, the writable UIA also includes this exclusion, so even Writable Volumes UIA will not work correctly with VMware CIP)

       

      Any other thoughts on how to make the new version of client integration plugin work with AppStack? The only thing I could think of is having allvolattached.bat script on the AppStack running vmware-csd.exe --install and ipconfig /flushdns, but generating keys and certs takes a loooooooooooong time. (It's a single threaded openssl process, so SMP does not help)

        • 1. Re: Appstack - Capturing VMware Client Integration Plug-in 5.6/6.0 does not work
          solgaeDK Enthusiast

          So I decided that if I need to get this to work, I'll have to copy the folder in question (C:\ProgramData\VMware\CIP\csd) to somewhere else where it will get captured into the Appstack, and then use the allvolattached.bat script to copy the folder and its contents into the appropriate place and trigger the ipfconfig /flushdns for this to work. Haven't really tested this, but will try it out.

           

          EDIT: confirmed that it does work with the above method. I copied the CIP folder to C:\ProgramData and used allvolattached.bat script to copy the folder to the correct place (Powershell Copy-Item C:\ProgramData\CIP\ C:\ProgramData\VMware\ -Recurse) and trigger DNS flush (ipconfig /flushdns). Note for someone else who may attempt to do this...

          1 person found this helpful
          • 2. Re: Appstack - Capturing VMware Client Integration Plug-in 5.6/6.0 does not work
            Scarlito Novice

            Hi.

             

            I used to follow this tip to create App Volumes appstacks with CIP (and I thank you for this !)

            When the Enhanced Authentication Plugin appeared, I tried the same trick, but it doesn't seem to work.

            Has anyone managed to make the new EAP work in an AppStack ?

             

            Regards,

            Carlos.