9 Replies Latest reply on Apr 8, 2011 1:50 AM by phoffmann

    edit the package

    Apprentice

      Hi all,

       

      i would liek to know if i create a distrubutionpackage is it i script which is saved in the landesk folder? or ist i sql query?

      If it a script i would like to edit this to create i possibilty for the script to recognize in which ip range it would install to recieve the package from a repository in this ip range.

       

      thanks in advance

        • 1. Re: edit the package
          phoffmann SupportEmployee

          Urm - you're getting terminology mixed up here. I'll try to clarify for all scenarios...

           

          If you're using a custom script (as in - shows up in "Manage Scripts") - you can edit those by right-clicking them and selecting "Advanced Edit". Those scripts are saved in the \\YourCore\ldmain\scripts\ directory.

           

          If you're talking about a software distribution job consisting of a Package and a Delivery Method, then those are saved in the database and we do not permit advanced editing really.

           

          It may help if you explain what you're really after (instead of "this is my problem"), as we may be able to provide a better response to your true, greater issue.

           

          Paul Hoffmann

          LANDesk EMEA Technical Lead

          • 2. Re: edit the package
            Apprentice

            hi paul,

             

            we have to sites Paris and London.

            I want to install in London one packageserver and one in Paris. One coreserver in Paris.

            I also want to install two consoles one in Paris and one in London.

            and in would like to have one softwarepackage/method for both sites. In case i start the installation of a package the system have to select depent of in which ip range /subnet the package will installed from which packageserver the software will be installed.

            All packages in Paris should use the server in packageserver in Paris und all installations in London should use the packageserver in London. My target ist to have only one packge in the console and the packege should decide from which site it will be installed.

            • 3. Re: edit the package
              phoffmann SupportEmployee

              So - rather than complicating things like that ... you could just use Preferred Package servers and let the client work out which file-server is closer, and download from that...

               

              Paul Hoffmann

              LANDesk EMEA Technical Lead

              • 4. Re: edit the package
                Apprentice

                I have read this point in the manual but im not real understand how i create a packeg with the preffered server. At first i create the preffered server list with the ip rage the are athority for.  By creating a package i slecet the unc or url where for example the msi is. If im in Paris and i create a package with the url of London (https://lonodon/packageserver/vlcplayer.msi) and deploy this package to a workstaion in paris the system will get automaticly the msi/package from the paris package server whatever server i type in?

                • 5. Re: edit the package
                  phoffmann SupportEmployee

                  OK - crash course of how Preferred Package Servers work.

                   

                  1 - You define a package on a share (let's use HTTP for instance) -- http://MyMainFileServer/Myshare/MyPackage.exe

                   

                  2 - You copy the directory structure of this to your London + Paris servers. So you have...

                   

                  2.a - Corporate main server - http://MyMainFileServer/Myshare/MyPackage.exe

                  2.b - London server - http://MyLondonerver/Myshare/MyPackage.exe

                  2.c - Paris server - http://MyParisServer/Myshare/MyPackage.exe

                   

                  3 - You configure your agents to use Preferred Package servers (and all that good stuff).

                   

                  4 - You create a package definition, pointing it to http://MyMainFileServer/Myshare/MyPackage.exe (or wherever really, doesn't matter much).

                   

                  5 - The following will happen...

                   

                  5.a - London Clients.

                  5.a.i - They see the string "http://MyMainFileServer/Myshare/MyPackage.exe".

                  5.a.ii - They determine their preferred package server

                  5.a.iii - they - dynamically - replace the servername with the preferred package server. So in this case, should be - http://MyLondonServer/Myshare/MyPackage.exe

                   

                  5.a - Paris Clients.

                  5.b.i - They see the string "http://MyMainFileServer/Myshare/MyPackage.exe".

                  5.b.ii - They determine their preferred package server

                  5.b.iii - they - dynamically - replace the servername with the preferred package server. So in this case, should be - http://MyParisServer/Myshare/MyPackage.exe

                   

                  ====

                   

                  Preferred Package servers is - essentially - about runtime substitution of the UNC/HTTP-servers name (the rest - sharename + package/file-names MUST remain identical) ... it's conceptually pretty easy once looked at this way.

                   

                  In theory, you could configure the package with either the London or the Paris server, as clients would be replacing the server-name with whatever they determine to be the Preferred Package Server (assuming you've got the directory structures + all that in place).

                   

                  Make any more sense?

                   

                  Paul Hoffmann

                  LANDesk EMEA Technical Lead

                  • 6. Re: edit the package
                    Apprentice

                    Now im really understand :-)

                    thank you so much for this instruction.

                     

                    my last question now :-)

                     

                    what is with https? do i can use the https instead of http? for the package server? i dont found any information about it in the manual.

                    Also i would like to use a linux webserever i hope the both points https and linux are not a problem for landesk.

                     

                    thanks in advance

                    • 7. Re: edit the package
                      phoffmann SupportEmployee

                      Glad the explanation helped.

                       

                      HTTPS is presently not supported in LANDesk.

                       

                      You *CAN* use Preferred Package servers to authenticate against UNC-shares though.

                       

                      As for Linux - yes, in principle this should be OK, as long as you don't try anything too fancy (it can cause some problems in some cases/configurations). Give it a try and see how it works. It's not explicitly supported in all cases, but it'll be really down to your configuration whether it'll work or not (and you'll find out quite quickly by testing).

                       

                      Paul Hoffmann

                      LANDesk EMEA Technical Lead.

                      • 8. Re: edit the package
                        Rookie

                        Hi Mr. Hoffman,

                         

                        the example that you have provided is exactly what my company has. I have one question so far.

                        In your 5th posting "3 - You configure your agents to use Preferred Package servers (and all that good stuff)."

                         

                        Where is this located in the Agent configuration?  I am not seeing it.

                         

                        Regards,

                         

                        Dai

                        • 9. Re: edit the package
                          phoffmann SupportEmployee

                          Configuration of Preferred Package servers is done centrally -- on the Core.

                           

                          It's not part of "the agent configuration" in terms that "agent configuration 1 uses them, whilst agent configuration 2 does not".

                           

                          I would recommend reading up in the help files on preferred package servers, that should explain a fair few things to you about how they work.

                           

                          In order to access/configure/set up preferred package servers you need to:

                          1 - Log into the 32-bit Console (you can do this on the Core).

                          2 - go to CONFIGURE => PREFERRED SERVER

                           

                          3 - And you work with the preferred server tool from there, setting up which servers should be used for what IP-ranges and so on...

                           

                          - Paul Hoffmann

                          LANDesk EMEA Technical Lead.