10 Replies Latest reply on Jun 16, 2015 5:23 AM by DennisUtman

    Keep trying to distribute package to failed devices

    DennisUtman Rookie

      Hi all

       

      I need your help here

       

      So I got this scenario where I like to distribute a package to let's say 1000 clients.

      A lot of them fails for several reasons, but mostly because the clients are turned off - "Cannot Find Agent"

       

      This is fine, as long as the package keeps trying to install until the device is successful.

       

      So I have been talking to LANDESK support and they tell me to use the schedule task option:

      schedule task.JPG

       

      Now here I would choose "start now" for the package to start right away.

      Then I mark the "Repeat every: Hour" - and choose to schedule these devices for "Devices that did not succeed".

       

      According to the LANDESK support, I now have a package that will install right away, and for those who fails, it will keep trying every hour.

       

      My problem is that it is simply not happening. I have failed devices that keep being failed, even though I turn on 4 PC's that have failed, and they have been turned on for days without the package tryed to install, which it should every hour :S

       

      I have also tryed to go into the schedule task option again to check that everything is as it should be, but here i see the "repeat every:" mark is gone, and the start time is now set to "leave unscheduled".

       

      It's like the options I have set doesn't save? But some of the failed devices IS getting a retry now and then as I can see that I get some new successful devices in now and then.

       

      Am I doing something wrong here? Maybe in the wrong order?

       

      Any suggestion would be appreciated thank you.


      Dennis

        • 1. Re: Keep trying to distribute package to failed devices
          Markus.Gonser ITSMMVPGroup

          Hi Dennis,

           

          which Task type did you selected? (Policy-supported push, policy, push)

          If you choose "policy-supported push" you have to start the task once. All offline machines will be as failed,

          but if they are go in online mode, they check their policies and will start the installation automatically.

           

          If you really want that the task runs every hour you have to change this also in "task settings - Frequency"

           

          best regards

          Markus

          • 2. Re: Keep trying to distribute package to failed devices
            LSattan Apprentice

            just a side note, we have a ticket open currently due to issues with tasks not being deployed due to the agent not being found, these devices are on and should be receiving the task. The task will do a discovery which uses UDP so make sure nothing is blocking that. Good luck cause so far we have not resolved this issue for us. Ill update if we do find a resolution though.

            • 3. Re: Keep trying to distribute package to failed devices
              DennisUtman Rookie

              Hi Markus

               

              What i really want, is to distribute a package to some devices, knowing that the package will be installed on all the devices sooner or later. The failed devices needs to retry again and again until the package is successful.

               

              Right now, we have to push "start now:>Devices that did not succeed" over and over again until all is successful which is a solution that aren't working for us at all.

               

              If you have the solotion to our problem, it would be nice if you could tell me the step by step clicks for making it work.

               

              Thanks

              Dennis

              • 4. Re: Keep trying to distribute package to failed devices
                Specialist

                We only use push to stop our IT-ers from manual installation. For deployment with a big number of devices we use policy based distribution as computers won't fail when turned off.

                • 5. Re: Keep trying to distribute package to failed devices
                  LSattan Apprentice

                  If you have the task set as policy-push then the push will run but fail for those offline, when those check in on their policy sync they should get the task policy, I don't think you even need to set it to reschedule but you could to be sure. You could also set a task to do a policy sync and repeat that task every hour, this is under manage scripts, basically you would run a task to tell the agent to check in for a policy, its supposed to run a little different than normal push task. For my issue I was on with support yesterday and found that a bunch of my agents appear to be broken. You may want to check this in your environment as well.

                  • 6. Re: Keep trying to distribute package to failed devices
                    DennisUtman Rookie

                    We are distributing packages to remote sites very often and there cannot know if the devices are online or offline, so we need to be 100% sure that the package gets installed.

                     

                    So LSattan,

                    is this what you suggest?:
                    Task settings.JPG
                    Policy-supported push

                    Frequency: Run once

                     

                    and

                    schedule task.JPG

                    Repeat every Hour

                    Devices that did not succeed

                     

                     

                     

                    Will these options guarantee packages keep trying to install until they are successful?

                     

                    Thanks

                    Dennis

                    • 7. Re: Keep trying to distribute package to failed devices
                      LSattan Apprentice

                      Yes, policy-push will ensure those not online will get the task as a policy when they check in. The other thing we do is use the "policy sync" script, and schedule that as task on a repeated schedule as well. target the same group of machine. If you go to distribution, manage scripts, look in the all scripts list for "policy sync", schedule that one as well, it basically goes out finds the devices and tells them to check for new policies. This is good if the device is online but for some reason will not accept a push task.  We have had a lot of broken agents lately though so you need to be sure this is causing a problem as well.

                      • 8. Re: Keep trying to distribute package to failed devices
                        DennisUtman Rookie

                        There are no scripts called policy sync, but i found the one called "Package Sync", which seems like the one you are talking about:

                         

                        Package sync.JPG

                         

                        So i need to schedule this script for all the devices that are scheduled for a package? or am i misunderstanding?

                        • 9. Re: Keep trying to distribute package to failed devices
                          LSattan Apprentice

                          i thought it was built in but maybe we added it, the script just contains this, you can create a new custom script and add this line under the [Machines] header

                           

                          [MACHINES] (this is the header this line needs to go under)

                          REMEXEC100=cmd /c "%LDMS_CLIENT_DIR%\PolicySync.exe"

                          • 10. Re: Keep trying to distribute package to failed devices
                            DennisUtman Rookie

                            I'm working on a Change Request for activating Policy Sync at login. I guess that should solve the problem?

                             

                            I will return when I have some feedback

                             

                            Dennis