Deployment Solution

 View Only
  • 1.  How To: Reclaim used licenses for Software Deployment?

    Posted Feb 22, 2011 02:41 PM

    I'd like to know how I can run a query to find inactive machines through a certain time period and then mass delete entries in order to reclaim licenses? Or is there an easier way? My notification server is 6.0 SP3.

    I'm familiar with how to build tasks/packages/collections in Altiris but I'm not particularly knowledgeable about administrative functions. We currently have an issue in our environment where we've run out of licenses for software distribution; I know several of those computers now exist under different names or no longer exist.

    Any help would be appreciated.



  • 2.  RE: How To: Reclaim used licenses for Software Deployment?

    Posted Feb 22, 2011 03:56 PM

    How licensing works:

    http://www.symantec.com/business/support/index?page=content&id=HOWTO1201

    From the article, for Software Delivery:

  • License recovery—Retired computers will not release a license.
    • Computers can be deleted to release a license
    • For unmanaged computers, the event deletion in Data Purging for Software Delivery can be used to clear out old records and free up licenses. This will not work for systems actively using Software Delivery Solution.

    So you'd want to find computers, perhaps using the report on the NS that shows who has not reported data in X days, and then delete those computers to free up licenses.

    Does that make sense?



  • 3.  RE: How To: Reclaim used licenses for Software Deployment?

    Posted Feb 22, 2011 04:52 PM

    Yeah, that's makes sense and I figured that's what needed to be done.

    What is the report in NS called that shows clients that have not reported in X number of days? The closest thing I could find is a report that generates a list of Inactive machines. I'm not sure what Altiris considers "inactive" to actually mean. (Machine is down, Client not responsive, etc.) I'm also not entirely clear on how Software Delivery relates to the machines labeled "active" and "retired."



  • 4.  RE: How To: Reclaim used licenses for Software Deployment?

    Posted Feb 22, 2011 09:48 PM

    Here you go... this should get you what you are looking for!

     

    -- You must first create a view to make obtaining this information easier...

    Create VIEW [dbo].[vResourceUpdateSummaryMax] AS
    select resourceguid,max(modifiedDate) as MaxDate
    From ResourceUpdateSummary
    group by resourceguid


    -- Now the query to return the desired results..

    SELECT  TOP 2000 vc.guid                    AS '_Guid',
             vc.[domain]                  AS 'Domain',
             vc.[name]                   AS 'Name',
             Datediff(dd,rus.[modifieddate],Getdate())   AS 'Last Seen (Days)',
             CONVERT(VARCHAR(11),rus.[createddate],103)  AS 'Agent Install Date'
    FROM   vcomputer vc
         JOIN vresource vr
          ON vc.guid = vr.guid
         JOIN resourceupdatesummary rus
          ON vc.guid = rus.resourceguid
           AND rus.inventoryclassguid = 'C74002B6-C7B9-47BB-A5D6-3031AF73BB8D'
    WHERE  vc.guid IN (SELECT w2._resourceguid
               FROM  inv_aex_ac_client_agent w2
               WHERE w2._resourceguid = vc.guid)
    ORDER BY 'Last Seen (Days)'



  • 5.  RE: How To: Reclaim used licenses for Software Deployment?

    Posted Feb 23, 2011 09:52 AM

    it's that simple.  If a system does not report up an inventory within x days, it is considered inactive.  Inventory is generally sent daily the first time a client can connect to a server after 24 hrs since the last check-in.  If this doesn't happen for 30 days, many companies will delete, or mark as retired, all those machines.  If, in the odd chance, one of those is from someone that took a 3 month leave, when they check back in, the computer will be re-added to the database, or can be taken out of retirement.  The only draw-back is that if it was deleted before, you have lost the inventory history and can't tell if the customer who was gone for 2 months also stole RAM...

    A system is "Active" when it is actively being managed by Notification Server and it's policies.  A system is "Retired" for asset retirement purposes.  That is, literally, that you're pulling it out of active use because, as an asset, you're retiring it - you've now written off the value of the system and it will no longer be used.  Some companies must keep records of all systems they've ever owned, so the "delete" option is not really an option.  For those, when a system is unplugged and buried either in a junk heap, closet, or a school as a hand-me-down, then it is "retired" in the Notification Server.  It is no longer a "managed" system, which in the DB literally means that a field is changed from a 1 to a 0. 

    Again, "inactive" means "silent" for that period of time.  Why is not what we're concerned about.  Could be hung for a month, unplugged accidentally, blown up by a stick of dynamite, agent removed by some hack of an end-user - whatever.

     

    Does that help?  A LOT of customers simply use that report.  If you've not found it already, you can search for it, or one of us will point it out.