Client Management Suite

 View Only
  • 1.  Managed Software Delivery 7.1 (What am I missing??)

    Posted Nov 17, 2011 03:27 PM

    I have spent the past two days wrapping my head around the changes in Software Delivery/Managed Software Delivery (6.x/7.1) when it comes to installing software on clients.  I think with a little more testing I'll like the new way of performing software delivery.  However I have ran into some fundamental problems that I simply can't seem to find an answer for and I am hoping someone can help or point me in the right direction on these issues.

    Issue 1 - Running utilities/scripts

    I often found myself using 6.9 Software Delivery to run utilities/scripts on computers.  Example utilities/scripts might be an exe (created with Wise Script) to perform some work on a computer (i.e. migrate printers, configure registry settings, uninstall software, cleanup after a virus/worm outbreak, etc.).  Obviously these are utilities, not software.  Using Managed Software Delivery to perform this seems odd, as there is no software being delivered, and seems backwards to import these utilities into the Software Catalog.  What are people doing to run utilities on nodes in 7.1?  Obviously there is Quick Delivery/Tasks but I have found issues with using these mechanisms around scheduling (i.e. knowing when the computer will be available) similar to the issue I am having with Managed Software Delivery scheduling (see Issue 2 - Scheduling issues).

    Issue 2 - Scheduling issues

    In 6.9 Software Delivery we had "Run As Soon As Possible after the scheduled time."  7.1 is missing this, and without this feature I don't know how I can reliably deploy software.  In my 9000 node environment, a health care system, I have computers that could be: 1) only on at night, 2) only on during the day, 3) desktops and laptops that can often be in a low power state (S3/S4) at any time due to utilizing power management to save on energy consumption.  If I want to deliver software to all my computers (and I want to avoid using WOL), how can I reliably setup a schedule (compliance schedule)?  I have tried using various schedules including Schedule Windows and what I have found is that if a computer misses (because it's in a low power state, turned off, etc.) a schedule or the start of a Schedule Window, it simply reschedules it for the next scheduled time or start of next scheduled window.  So if I have a computer that is only on from for example 2AM - 6AM, unless I have a Scheduled time in that time period, the software will never install on that computer.  Am I missing something?  If I had "Run As Soon As Possible after the scheduled time" I wouldn't be running into this issue.  What is the purpose of a Schedule Window if it only uses the Start of the window to do anything?  I have tried using the "During window, check every:" option, which helps address part of the problem, but I have found that if I don't have a valid "compliance check" defined, the software delivery job runs multiple times during the Schedule Window (I was hoping it would only run once per Schedule Window).  It seems odd to me that Symantec had removed Run As Soon As Possible... from Software Delivery in 7.1 but added it to Patch Management.  Adding it to Patch Management should have been an indication that this is a needed feature, not only in patching, but also in delivering software.

    I look forward to any comments and suggestions.

    Eric



  • 2.  RE: Managed Software Delivery 7.1 (What am I missing??)

    Posted Nov 17, 2011 08:26 PM

    For part 2, there is a "Run Once ASAP" option.  However, if you want to run it more than once, you need to set a scheduled time in the past.  You can also specify a window if you want the window as well.

    Your best practice for a Managed Software Delivery is that you use a software resource that contains a valid detection check.  The detection check (performed on the compliance schedule) checks to see whether the software is present.  If the software is present, remediation will not occur for an install action, but will occur for an uninstall action.  If the software is not present, remediation will occur for an install action, but will not occur for an uninstall action.  The compliance schedule is separate from the remediation schedule to allow you to pre-stage the content by downloading it to the client cache prior to remediation.

    For your remediation check, if you want a software to install only once, use the 'Run Once ASAP' option.  If you want the software to remain installed, you can add a scheduled window -- run remediation every 4 hours, for example.  However, if you want the system to run the install immediately if it ever does not have the software present, you should have a scheduled time in the past, e.g. yesterday at 00:00.  With this behavior, a newly-provisioned system that receives an updated configuration would see that it has an overdue compliance check for CutePDF Writer, the detection check evaluates to false, and remediation occurs immediately since it's overdue.

    Does this answer your question about the second part?



  • 3.  RE: Managed Software Delivery 7.1 (What am I missing??)

    Posted Nov 17, 2011 08:34 PM

    For issue #1, you can try using a copy file task, which allows you to execute a command when the copy is successful.  A quick delivery task may work best after the scheduling issues are worked out -- hopefully the above post gets you there.  And you could also combine these solutions with a Run Script task.  For example, you could copy a file and then run a script (two tasks) as part of a job (jobs contain tasks you've already created).

    Regarding scheduling problems, remember that tasks occur only at the time they are scheduled, and only work if the client can talk to the NS.  A policy has more flexible scheduling options and can work even if the client cannot talk to the NS.  For example, a policy would allow a client to download an .exe utility during the day, cache it, and then execute it at 8 p.m., even if that computer were disconnected from the network.  A task would tell the client at 8 p.m. to download the .exe and execute it, but the .exe is not cached locally.

    Does any of this work for you about the utilities?



  • 4.  RE: Managed Software Delivery 7.1 (What am I missing??)

    Posted Nov 18, 2011 04:22 PM

    Thanks for the response Mike.

     
    I am trying to find the "Run Once ASAP" option you mentioned but I haven't located such an option in 7.1.  I am looking at the "Compliance" schedule in a Policy for a Managed Software Delivery.  Am I looking in the wrong place?  The options I have available (Altiris Client Management Suite 7.1 SP1b = 7.1.21) for "compliance" schedule is: Scheduled time (no date to choose, just time), Schedule Window, At user login, At computer startup.  None of these scheduling options have a "Run Once ASAP" option that I can find. In the "Remediation" schedule there are even less options but I have simply been using Immediately.
     
    So my questions:
    1) Where is the "Run Once ASAP" option you mentioned?
    2) You mentioned scheduling "in the past", I don't see any place to set a date other than the "Start/End dates" in the Advanced options in both the "Compliance" and "Remediation" schedule. With my testing, even with a Start date in the past, if I have a window of 00:00 - 23:59, if the computer is off at 00:00, it then schedules it for the next day at 00:00 instead of running it as soon as it knows it didn't run it.  So in this instance, if the computer is never on at 00:00, the compliance check will never run, and thus will never run Remediation (do the install). 
     
    I completely understand the Best Practices (use a compliance check, etc), however I still cannot understand how to get the computer to install ASAP after it misses a schedule. 
     
    With issue #1, I still don't know how to reliably set a schedule.  If I want a task to run every day at 09:00, or as soon as possible after 09:00, there doesn't seem to be any way to accomplish the later reliably like there was in NS 6.9 even using Task/Job.  A very important software delivery job I have setup in 6.9 runs a custom Utility every day at 09:22 and 21:22 every day, on every node.  Running that utility as soon as possible after one of these schedules is missed is critical to me.  Yet, I cannot find a way to accomplish this with 7.1.
     
    Again, I appreciate your comments and suggestions.
     
    Eric