search cancel

Clean up unused Patch Packages off the Notification Server and Package Servers

book

Article ID: 162385

calendar_today

Updated On:

Products

Patch Management Solution IT Management Suite

Issue/Introduction

Unused patch packages can take up a lot of space on the Package Server, and also the Notification Server.  Follow the steps below to reclaim space on the Package Servers.

Resolution

NOTE for systems in a hierarchy:  Running Patch Cleanup tasks in a Hierarchy will remove patches from 'all' Package Servers.   Additionally, if Patch Policies have been created on a Child NS, these steps will need to be run for any Policies that were created locally, and also on Bulletins that were downloaded locally which were not downloaded on the Parent.

 

Before we get started with Cleanup, please check the Package Retention Policies for Patch and Software Packages as follows:

1) Patch retention: Settings > Software > Patch Management > Windows Settings > Windows Patch Remediation Settings > Packages tab.  Set the "Delete Packages After" to a reasonable setting.

2) SW Retention: Settings > Software > Notification Server > Site Server Settings > Package Service > Package Service Settings.  Set the "Delete packages files if they are unused" to a reasonable setting.  More information on the "Delete packages files if they are unused for" setting: KB 181052

NOTE: With the Packages already being in the 'trash can' and the 'trash can emptied' from the Notification Server, these two policies determine when we will 'take out the trash' and delete them off of the Package Servers. The Best Practice is to set these to a minimum value.

 

Automated clean up in 8.5 RU1+

1. Configure the Import Patch Data for Windows task (under SMP Console>Home menu>Patch Management>Metadata Import Task>General) to delete updates from policies and disable the bulletins, choosing one of the following options:

--Delete superseded updates from software update policies

"Enable this option to automatically delete the superseded updates from software update policies. You can later run the  Check Software Update Package Integrity task with the enabled option to delete downloaded packages for the deleted updates. If a policy contains updates from partially superseded bulletins, the superseded updates will not be deleted from the policy but their rollout will be disabled."

--Delete superseded updates from software update policies if policies with the corresponding superseding updates exist

"Enable this option to automatically delete the superseded updates from software update policies if policies with the corresponding superseding updates exist. You can later run the Check Software Update Package Integrity task with the enabled option to delete downloaded packages for the deleted updates. If a policy contains updates from partially superseded bulletins, the superseded updates will not be deleted from the policy but their rollout will be disabled."

2. Configure the Check Software Update Package Integrity task to clean up the software update packages (check the three boxes below).

3. Schedule the Check Software Update Package Integrity task to run on a periodic maintenance schedule (Daily is recommended).  This process will Delete the package files off of the Notification Server (default location: C:\Program Files\Altiris\Patch Management\Packages\Updates). 

 

 

 

Manual Clean up 8.5/8.6

Patch Management Solution supports removing disabled bulletins from policies that were used on both, the parent SMP and the child SMP.

Using the Check Software Update Package Integrity task, Patch facilitates the deletion of unused packages for disabled bulletins. Packages deletion is propagated to package servers as well.

 

1. To disable bulletin(s) use right-click action Disable.

2. In the opened dialog window check Remove the selected bulletins from policies.

Confirm the action by clicking on Disable software bulletins button.  The selected bulletin(s) will be deleted from the policies. If a policy contains only bulletin(s) selected for removal, it is deleted also.

3. Run Check Software Update Package Integrity task now or on a recurring schedule.

 

 

Package clean up for 7.x - 8.1 RU7

1. Disable the redundant Software Update Bulletin(s) in the Patch Remediation Center.

    --Location: Console > Actions > Software > Patch Remediation Center

    --Highlight the desired Software Update Bulletin > right-click > Disable

 

 

 

2. Delete the Software Update Policy for the bulletin(s).

NOTE: When Package Servers perform an agent Configuration Update, they see that the Packages are now "Unused" and will delete the associated patch packages.


3. Run the Check Software Update Package Integrity Check with the setting 'Delete the downloaded packages that are no longer in use (Windows only)' enabled.

    --Location: Console > Manage > Jobs and Tasks > System Jobs and Tasks > Software > Patch Management > Check Software Update Package Integrity

    --This Task will delete the physical patch files from the NS and the package resource from the Database.

    

 

Additional Information

Additional information on the "Delete packages files if they are unused for" setting: KB 181052

 

Attachments