Video Screencast Help

Set Default Package Destination Location on Package Server

Created: 09 Apr 2013 | 4 comments

Good afternoon everyone.  I was wondering if this is possible:

Currently all images created in DS 7.x automatically save to the siteserver that the client connects to.  After which that image is copied to all other site servers by default unless that image is assigned/reassigned by going to Settings->Deployment and Migration->Disk Images-> and then to the Package Servers tab.

Is there any way to set the default to something other then All Package Servers?  The reason I am asking is that our Desktop Techs are creating images and then either not changing this option fast enough or the package server starts the transfer before they can get to it.  This is causing excessive WAN traffic where there doesn't need to be.

Any help would be much appreciated

Thanks

Operating Systems:

Comments 4 CommentsJump to latest comment

SaschaH's picture

I'm not aware you can set any defaults for that. The only way would be to make a ASDK Script run as part of the imaging job. Something as discussed in here https://www-secure.symantec.com/connect/forums/asdk-and-package-management

Bechtle – your strong IT partner. Today and tomorrow

If that seems to help, please "Mark as Solution"

resendesw's picture

I will take a look at the ASDK.  Would you know what class I should start my search from?

 

Thanks

SaschaH's picture

You should start checking Altiris.ASDK.NS.SoftwareDelivery.SWDSolnPackageManagementLib in the ASDK API Documentation. Its actually NS6 implementation but should work with the NS 7 packages. The NS 7.x Software Management Framwork SDK will only be ready when 7.5 arrives. 

As discussed in the other threat you need to give some input for all the properties when you use SetPackageExPackageServerOptions as in

result = packageManagement.SetPackageExPackageServerOptions( packageObject.Guid, true, PackageServerGuids, "C:\Program Files\Altiris\Altiris Agent\Package Server Agent")

The interesting part will be to find out the Guid just created package/image and the Guid of the Siteserver its running on.

Bechtle – your strong IT partner. Today and tomorrow

If that seems to help, please "Mark as Solution"

resendesw's picture

That will be interesting but its a step in the right direction.

 

Thanks :)