Package Server - Not syncing all packages

InTheDark's picture

I've recently created a Package Server for one of our WAN sites (complete with the Site Maintenance policy). Around 300 packages have downloaded however, the problem I'm having is that some of the packages are in a constant state of 'retrying download'.

When I dig a little deeper it turns out that the packages in this state (40) no longer exist/have been deleted - they have neither a deployment task, resource collection or physical location in NS. So where is this info propagating to the Package Server from?

The 'Package Selector' window (in NS Tasks) also displays a list of out-of-date packages. Is there a way of updating/purging this list?

any ideas most welcome

networkchic's picture

Clearing Snapshots

On your package server do this:

navigate to the dir your altiris agent is installed. Search on that dir for snapshot.xml . When it's done searching, highlight all of them and delete. Now go to the client policies folder inside of the altiris agent and delete the xml file there. Go to the Software Delivery folder and delete AeXSWDPolicy.xml . Once this is done restart the altiris agent service on the package server. When it comes back up open the package server tab from the agent window and click Refresh and Resend. You should see your numbers for the packages go down and then back up.

Snapshots on the package servers sometimes get out of synch with the NS. If you had packages that you removed from the NS sometimes the snapshot isn't removed from the package server so it still thinks it has to download it and can't find it. Package Refresh from the NS happens at 3 a.m. and what that does is tell the Package server to check every package it has and make sure it's the latest. If it's not on the NS it will keep trying to download.

Clearing the snapshots is safe...the NS will send all new ones back to your package server when it checks in.

Emily Duncan
Sidley Austin LLP
Software Deployment Developer

Emily Duncan
Altiris Contractor

InTheDark's picture

Hi Emily Thanks for your

Hi Emily

Thanks for your post, I've tried the steps you mentioned but still have the issue. I am starting to think I have a problem on my NS server itself and not the Package server

On my NS server, under Tasks, when I select any package and click on 'Package Name', the 'Package Selector' dialogue displays a list of available packages -this list contains packages that no longer exist/have been deleted and it is these packages that my Package server is still trying to download. (There are no Tasks/Resources or files remaining for these packages)

So it looks like the available packages list in Package Selector is out of date.

Any ideas? many thanks in advance

Rob

networkchic's picture

Snapshots

It sounds like the snapshots on your NS are also corrupt. Delete the snapshots ({GUID}.xml) found under the “%ProgramFiles%\Altiris\Notification Server\Snapshots” folder
Then go to Control Panel > Scheduled Tasks and run the task called NS.Package Refresh.{GUID}. This will re-create the package snapshots on the server. Make sure that the scheduled task does in fact start.
Here's a KB article about this:
kb1492

Emily Duncan
Sidley Austin LLP
Software Deployment Developer

Emily Duncan
Altiris Contractor

InTheDark's picture

Thanks for all your help

Thanks for all your help with this.

I've tried recreating the snaphots as suggested (and repeated the process on the Package server)but still have the problem, so I'll try following the other steps in KB1492 and see if that sorts it.

Cheers, Rob

InTheDark's picture

Solution

Having followed all stages the the KB, the problem has been resolved, in particular my issue appeared to be with the SWDPackageCodebase table

https://kb.altiris.com/display/1/articleDirect/ind...