How does the BigFix Server and BigFix Relay cache work?
The following information describes the cache behavior.
Resolving the problem
The BigFix Relay and Server has a demand driven cache so they will not cache any files unless one of its children (BigFix Relays or BigFix Clients) requests the information. Once a file is requested, the BigFix Relay will retrieve the file from its parent (BigFix Relay or BigFix Server) and then cache the file locally.
After the BigFix Relay or Server has cached the file, the item will be kept until the cache is full. If the cache is full, the BigFix Relay will remove the least recently used file in an effort to maximize the cache efficiency. The default cache size is 1 GB, but it can be changed by using the following settings Task on the BES Support Fixlet site:
ID #148 BES Relay / BES Server Setting: Download Cache Size
There are situations that require that files are manually downloaded and cached, usually because the files to be downloaded are not publicly available, and administrators must download the files directly from the source (i.e. Oracle).
You can "pre-cache" file in the download cache by placing files in the default download cache location, but make sure the file name is the sha1 hash value of the file otherwise the file will be ignored for security reasons. You can also clear these files out manually as necessary.
On the BigFix Server the download cache is stored by default at "C:\Program Files\BigFix Enterprise\BES Server\wwwrootbes\bfmirror\downloads\sha1". The file is stored with the name as its sha1 hash value.
On the BigFix Relay the download cache is stored by default in "C:\Program Files\BigFix Enterprise\BES Relay\wwwroot\bfmirror\downloads\sha1". The download cache will grow to a maximum of the BigFix Relay cache size (default 1 GB).
You can view the BigFix Relay cache size and other BigFix Relay information using the Analyses ID#227 BigFix Relay Cache Information in BES Support Fixlet site.
Click here for a utility called the Download Cacher that will help with pre-caching file on the BigFix Relay/Server.