3 Replies Latest reply on Dec 1, 2008 12:04 PM by Bill Robinson

    BlPackage question?

      If you have a pre-defined BlPackage and there are two deploy jobs need to use the same BlPackage but each has to modify the package’ contents a little bit. Let assume the worse case scenario is that two jobs may need to modify the BlPackage at the same time.


      How does BladeLogic handle in this case?

      Are there any other alternative ways to handle this situation?

        • 1. Re: BlPackage question?
          Bill Robinson

          either one job deploys the wrong content (because the package got modified out from under it by the other job) or you get some kind of error w/ the package object locked because the other job is making the change.


          can you create 2 packages? can you do some parameterization in the package so you don't need to make changes? what are you deploying that you need to modify at deploy time ?

          • 2. Re: BlPackage question?

            Thanks Bill,


            Files and their paths may be different for each deployment. We may have to create different packages or figure it out the way to parameterize them.


            What happen if two users execute/start the same jobs?

            • 3. Re: BlPackage question?
              Bill Robinson

              look into parameterizing and properties.


              if 2 users start up a job at the same time, depending on what the job does, the 2nd may fail or the 2nd may wait for the 1st to finish.


              if you run a job, change the targets of the job and run it again, you should have 2 copies of the job running against a different set of targets. (i think you need to enable parallel job mode for this to work though)