A Package Server is unable to download and install the Package Server agent after replacing main disk and reinstalling the SMA
search cancel

A Package Server is unable to download and install the Package Server agent after replacing main disk and reinstalling the SMA

book

Article ID: 176230

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

SCENARIO:

  1. A package server was operating normally when the disk housing the package files failed.
  2. The failed disk was replaced and the Symantec Management Agent was reinstalled. The reinstall of the SMA would eventually cause the Package Server Agent to show as uninstalled in "Sites Server Settings"
  3. In the console, under "Site Server Settings" the  "Package Service" option still showed as checked, but the UI showed that the PSA was not installed.
  4. After running the Delta Resource Membership Update and Policy Filter Update schedules were run the agent received the Package Server Installation policy after updating its configuration.
  5. The SMA is unable to download the Package Server Agent and does not progress from that point.

 

 

 

 

Environment

Symantec Management Platform 8.x

Cause

The Notification Server had prevously received a status of "Ready" as well as the download codebases from the package server prior to the disk failing.  

As a result, when the SMA requested the Package Server Installation package files to download the NS referred the Package Server's base agent, for downloading, to its self.
However, the files it is told to download do not exist because they were on the disk that failed and therefore no longer exist.  The NS is unaware of this.

Resolution

Tweak the database so that the NS does not receive a ready status for the package(s) when the PS requests it. By so doing the NS will allow the Management Agent to download the package files directly from it, instead of referring the package server to its self.

 

  1. Modify the SQL below by putting the correct name of the Package Server in question in the first line (replacing "SS-Child2")
  2. Run the modified SQL against the database.
  3. Reset IIS
  4. Update the Package Server's agent configuration.

 

declare @psName nvarchar(50) = 'SS-Child2'

declare @psGuid uniqueidentifier = (select Guid from vRM_Computer_Item where Name = @psName)

update SWDPackageServer set [Status] = 'Not Ready' where PkgSvrId = @psGuid and [Status] = 'Ready'
delete from SWDPackageCodebase where [Source] = @psGuid
delete from ResourceUpdateSummary where InventoryClassGuid = '9E6F402A-6A45-4CBA-9299-C2323F73A506' and ResourceGuid = @psGuid