Controlling patch analysis file archiving
During patch analysis on Linux (on all types of Linux except for Ubuntu and Debian) or Windows target servers, a set of temporary analysis files are created on each target server. Prior to version 8.9.01 of BMC Server Automation, this set of analysis files was deleted at the end of the Patch Analysis Job run, unless the job was set to run in DEBUG mode. As of version 8.9.01 of BMC Server Automation, these patch analysis files are archived, and the files from the 3 most recent job runs are stored in the target agent's Transactions directory, in a subdirectory named analysis_archive. A pair of blasadmin parameters enable you to control the archiving mechanism.
- Start the Application Server Administration console, as described in Starting the Application Server Administration console.
- To turn on or turn off patch analysis file archiving, enter the following:
set PatchAnalysisFileArchiveSettings EnableAnalysisFileArchiving
The default is
true(patch analysis file archiving turned on). Use
falseto turn it off.
To set the number of recent job runs for which archived files are retained, enter the following:
set PatchAnalysisFileArchiveSettings MaxAnalysisRunsToArchive #
where # is the number of job runs for which archived files are saved.
By default, files are archived for the 3 most recent job runs, and older archived files are deleted during a subsequent job run. Allowed values are 1 to 10.
- Restart the Application Server.