Loading
Inventory Gateway Service Updates

I have multiple SNOW Inventory Gateway Services running on VM's in remote domains. I notice in the Inventory Server console that not all are the same version. I installed all from the same distro file.

Looks like some are getting updated and other are not. How do they get updated?

They vary from 5.1.6+build-20170530, 5.1.7+build-20170803 to 5.2.0+build-20170825 and 5.1.33244+build-20170116.

I don't see an update service on those servers to run updates.

thanks,


  • Community Manager (Flexera Software)

    Hi Mark, Snow Inventory Server(Master) Update is handled via SUS.   If there is a new Inventory Server version available, then SUS updates the Master Server, with this the Gateway Servers are updated automatically to the same version as Master.   The Inventory Server versions of both Master and Gateway Servers are shown in Admin Console as you already noticed. The value can be configured in the server configuration file but by default the Gateway Service should pols for updates every hour.   There is not really a way to force the GW's for updating to the most recent version or sync with the rest of the GW's. Regards,   Burak
    Expand Post
    • Hi Burak, Like Mark I have the same issue. We meanwhile have 11 Service Gateways, 6 are on the latest version 5.2.1 like the Master is, the other 5 Service Gateways are still on version 5.1.6. That's the setup version we used for installation. We used the same setup for all Service Gateways. So why are some up to date, some are not ? Thanks
      • Community Manager (Flexera Software)

        Hi Mark, Carola, Like i mentioned, the GW's should be able to pull their update files from the Master Service. It might help to restart(stop/start) the GW Services who are not being updated and see if this helps. If this is not the case, i would advise to open a support ticket for this asap. When doing this it would be good to collect the information below and send it over for analyses by our support Team. Please collect/check the following on the GW's to speed up the process : - Collect log files located in "C:\ProgramData\SnowSoftware\Inventory\Server" - Collect "snowserver.config" from "Disk:\Program Files\Snow Software\Snow Inventory" - Please verify if there is a difference in configuration for GW's which are not updating automatically (like proxy, service    account etc) - Make sure to confirm which version of Master service is running. - Confirm that SUS on the Master Inventory Server is running fine. Best Regards, Burak
        Expand Post
        • Thank you Burak I will create a support ticket.
          • This happens quite regularly on our site. When reading the logs its usually failing to stop the service properly so fails. Restarting as already suggested may help. Alternatively stop the service on the gateway server and copy over snowserver.exe & snowserverconfig.exe from the master server (backing up the original files first) and then restart the service. Regards Warwick
            Expand Post
          • This happens quite regularly on our site. When reading the logs its usually failing to stop the service properly so fails. Restarting as already suggested may help. Alternatively stop the service on the gateway server and copy over snowserver.exe & snowserverconfig.exe from the master server (backing up the original files first) and then restart the service. Regards Warwick
            Expand Post
            • Thanks for that. Just one of my Gateway servers is stuck on an old version. The logs show it is endlessly (every 30 seconds) checking for updates and then trying to get a particular file from the Master with a "204 No Content" response. After copying those two newer files across from the Master, it is now showing as the current version, but it is still logging endless attemps to download the same file from the Master with a "204 No Content" response! This has been going on since inventory v5.4.1 was released in early May, soon after this server was built, and has persisted through several restarts due to patching etc. So the issues with 5.1 et al are certainly not fixed in an upcoming release. Colin
              Expand Post
              • Colin, Looks like you have issues with communicatiung with the Master Server. Check conectivity with the master server by launching https://<Master Server Address>:<port>  on the Gateway Server with the issue (If you don't know this look in an agent that reports directy to the Master Server and look in the snowagent.config file in the Agent install directory). We had this issue when a gateway server in one of our DMZ's didn't have all the correct ports opened so never updated. The only other issue we had was the account the service was running didn't have appropriate file permissions but as you are getting a "204 No Content" it's not getting as far as file creation so not likely to be the cause. If you check all this and communication is ok you may have to raise a support ticket for someone to take a look as it could be somethings not quite right in the internal workings of the Gateway Service. Good luck and keep this thread updated if you manage to resolve the issue. Warwick   
                Expand Post
                • Thanks Warwick. Connection to Master Server is fine; configuration updates are deploying ok. The "204 No Content" messages are valid, and unrelated; they are the scheduled "Command and Control" check back to the master. See the document  User Guide: Service Gateway installation and functionality - Update revision 5.2 . The update checks occur by default once an hour. The service is running simply as 'Local System', as are most of my gateways. File permissions at first glance look the same across all the working and non-working one; they haven't been touched so should be as the installer configures them. The ones that work all wrote an update.log file in the 'C:\Program Files\Snow Software\Snow Inventory\Server' folder. This one that doesn't work doesn't write that file, which implies it's not even starting the update process, as the log file includes messages to that effect. (I tried running it as a Domain Administrator account, and that didn't make any difference.) I've tried to download the server update file directly from the URL reported in the log file, and that works. What is interesting is that the timeout error in the log occurs after 15 seconds, but it took longer than that to download the file directly: 2018-09-17T14:37:36+12:00;server-update;;;;New server version 5.4.1+build-20180507? 2018-09-17T14:37:36+12:00;server-update;;;;Yes, current server version is 5.4.0+build-20180327. Installing update. 2018-09-17T14:37:36+12:00;server-update;;;;Downloading server update from [ https://server.fqdn/ ] 2018-09-17T14:37:36+12:00;request-pipe;request-225;;;Added GET https://server.fqdn/api/server/download to queue. 2018-09-17T14:37:36+12:00;request-pipe;request-225;;;Dequeued. 2018-09-17T14:37:51+12:00;server-update;;;;Replacing incorrect OperationCanceledException  [System.TimeoutException]   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)   at SnowSoftware.Inventory.Server.ServerUpdateMessageHandler.<InstallUpdate>d__12.MoveNext() in c:\TC\w\455275b58a8217\SnowSoftware.Inventory.Server\Inventory.Server\ServerUpdateMessageHandler.cs:line 128   --- End of stack trace from previous location where exception was thrown ---   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)   at SnowSoftware.Inventory.Server.ServerUpdateMessageHandler.<ExecuteAsync>d__8.MoveNext() in c:\TC\w\455275b58a8217\SnowSoftware.Inventory.Server\Inventory.Server\ServerUpdateMessageHandler.cs:line 84 When I get some time I'll have to raise a support ticket. This server also won't deploy Agent Updates, just a big silent fail there from what I can see. Cheers
                  Expand Post
          • Just wondering if you had any success resolving this through your support ticket. Tom
10 of 24

Related  Product Forums


                     → Flexera One



                      → Snow Atlas



                      → FlexNet Manager



                      → Snow License Manager



                       → App Broker


       Need help finding an answer?


        Ask a Question →


Loading
Inventory Gateway Service Updates