Satellite server repository check

Today I noticed that some of our devices were not updating to version 10.3.0. Upon further investigation I noticed the clients were not downloading the update correctly from the satellite server. I came to this conclusion by checking the overall size of the cache folder and forcing a refresh through Zen. What I noticed was the cache would increase to a certain size and then stop. When checking the files/folders within the cache folder (C:\Program Files\Novell\ZENworks\cache) I noticed the Zen 10.3 updates files were much smaller in size and not representing the correct file size.

The only thing I could think of was that the satellite repository must have inconsistency. I decided to log-on to a satellite and see what commands are available to try and resolve this issue. I came across the following:

  • cdp-checksum, cchk Validates satellite content by computing the checksum
    on each file.
  • cdp-verify-content, cvc Compares the list of content IDs and their sync states on this CDP with what the Primary servers thinks it should have. Logging to the file specified by log-path.

I decided to run the “zac cvc” command first to ensure the content was correct followed by a “zac cchk” to double check the checksum of the files were also correct. The time for these commands may vary depending on content size. These took around 3 minutes each to complete.

This fixed the problem I was having whereby the content was downloading incorrectly. It then occurred to me that this would be good to have on a bundle that ran at least one a month to ensure all content is consistent on the satellites. Seeing as I have 100 satellites, trying to do this manually would be a pain!

This has since fixed the issue with updating and also some other issues relating to bundles.

GD Star Rating
loading...
GD Star Rating
loading...