Deployment and Imaging Group

 View Only
  • 1.  Set Default Package Destination Location on Package Server

    Posted Apr 09, 2013 06:22 PM

    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



  • 2.  RE: Set Default Package Destination Location on Package Server

    Posted Apr 10, 2013 06:02 AM

    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



  • 3.  RE: Set Default Package Destination Location on Package Server

    Posted Apr 10, 2013 12:35 PM

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

     

    Thanks



  • 4.  RE: Set Default Package Destination Location on Package Server

    Posted Apr 10, 2013 03:10 PM

    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.



  • 5.  RE: Set Default Package Destination Location on Package Server

    Posted Apr 10, 2013 04:16 PM

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

     

    Thanks :)