Synchronize signature and heuristic software inventory

book

Article ID: 20375

calendar_today

Updated On:

Products

CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER CA Server Automation CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Description:

Sometimes it could be necessary to re-synchronize the Software Inventory (method Heuristic or signature scan) if a problem has occurred during transfer or collect of previous software inventory files. There might be a difference between the software inventory displayed in the DSM Explorer and the software inventory collected by the Agent machine.

DSM Agent is sends only delta files between software inventories and so if a problem occurs during collect of full or previous delta files, the software inventory displayed in DSM Explorer may not correct.

Solution:

There are 3 possible solutions:

____________________________________________________________________________________________________________________

Solution 1:

From DSM explorer, right click on the machine and select "Asset Jobs - Activate Job Check..."

Select "Rescan Software Inventory" and "Re-collect"

<Please see attached file for image>

Figure 1

Pros : Very easy and quick method to re-synchronize only one machine or a few machines.

Cons : Not recommended to re-synchronize a lot of machines with this solution.

____________________________________________________________________________________________________________________

Solution 2:

<Please see attached file for image>

Figure 2

Another solution is to use the predefined Asset Command Job "Force AM Agent to rescan software inventory" :

This AM job executes the command line :
caf start amagent args /RESCAN_SOFTWARE /COLLECT

Attach this Asset Job to one machine or group of machines.

The scheduling of this job may be changed to "Run only once" in order to avoid its execution every time.

Pros : Very easy and quick method to re-synchronize only one machine or a few machines.

Cons : Not very easy to re-synchronize a lot of machines with this solution.

____________________________________________________________________________________________________________________

Solution 3:

Another solution is to delete the software inventory files located in BAK directory on agent machines. So no delta will be found and a full software inventory file will be sent to the Scalability Server.

It is possible to force the sending of a FULL software inventory by deleting the software inventory files located in BAK directory on agent machines. This could be done with a Asset job Script.

  1. In DSM Explorer go to Jobs/Asset Jobs.

    Right Click on "My Asset Jobs" and select New in popup menu.

    The "New Job Wizard" dialog Box appears. Select "Script" in Job Type listbox

    <Please see attached file for image>

    Figure 3

  2. Click Next. Give a name to the job. In this example - "Synchronize Software Inventory".

    <Please see attached file for image>

    Figure 4

  3. Click NEXT

    Enter following script :

    IF UCase(Left(EnvGetString("OS"), 7)) = UCase("Windows") then
    DeleteFile(ComputerPath+"\BAK\AMSOFT.XML")
    DeleteFile(ComputerPath+"\BAK\AMAPP.DAT")
    Else
    DeleteFile(ComputerPath+"/work/BAK/amosoft.xml")
    EndIf

    <Please see attached file for image>

    Figure 5

  4. Click Next. Click on "Set Scheduling" button.

    In Tab Scheduling, select "Run Only Once".

    In Tab Miscellaneous, check "This job is allowed to run unattended"

    <Please see attached file for image>

    Figure 6

  5. Click OK and Finish.
  6. Drag & Drop this job to "All Computers" group or the computer group with machines you want to re-synchronize.

____________________________________________________________________________________________________________________

Environment

Release: UASIT.99000-12-Asset Intelligence
Component:

Attachments

1558695762118000020375_sktwi1f5rjvs16n5p.gif get_app
1558695760243000020375_sktwi1f5rjvs16n5o.gif get_app
1558695758439000020375_sktwi1f5rjvs16n5n.gif get_app
1558695756609000020375_sktwi1f5rjvs16n5m.gif get_app
1558695754779000020375_sktwi1f5rjvs16n5l.gif get_app
1558695752778000020375_sktwi1f5rjvs16n5k.gif get_app