Inside Notification Server agent interfaces: GetPackageInfo.apsx

book

Article ID: 179817

calendar_today

Updated On:

Products

Management Platform (Formerly known as Notification Server)

Issue/Introduction

 

Resolution

Question
What is the function of the GetPackageInfo.aspx page, and how does it work?

Answer
This page is an interface between the Altiris Agent and the Altiris Notification Server database.

It is used by the agent to interrogate the server and retrieve Software Delivery packages information (both from NS Core and Software Delivery Solution). The Altiris agent sends a http request to the Altiris NS '/Altiris/NS/Agent/GetPackageInfo.aspx' with a single parameters (xml) containing the following attributes:

XML Attributes:
version – Specifies the version of the package info request XML. The default value is 1 for NS 6.0. This attribute is optional. 
resource - Specifies the GUID of the resource (Agent) making the request. This attribute is mandatory. 
totalTime - Specifies the total time in minutes that an Agent has been downloading a package. 
type - Specifies the type of request. This value must be set to 'codebases' for NS 6.0. This attribute is mandatory. 
compress – Specifies whether the response should be compressed. The default value is false. This attribute is optional. 
package/guid – Specifies the GUID of the package to examine. This attribute is mandatory.
address/ip - Specifies the IP address of the resource (Agent) making the request. This attribute is mandatory.
The Altiris agent receives a reply from the Altiris Server, which is an xml string containing the following xml elements:

<response type="codebases">

<packages>

<package guid="<PackageGuid>">

<codebases speedTest="<0 or 1>">

 <codebase url="<PakageCodebase: Http>" snapshot="<PackageSnapshotUrl>" />

 <codebase url="<PackageCodeBase: UNC>" snapshot="<PackageSnapshotUrl>" />

</codebases>

</package>

</packages>

</response>


For more details see the attached word document.

Attachments

Inside NS - GetPackageInfo ASPX.doc get_app
Inside NS - GetPackageInfo ASPX.doc get_app