search cancel

How do I add lost Installation records into the MDB manually?

book

Article ID: 54161

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 Server Automation

Issue/Introduction

Description:

One of the agents got deleted accidently from the DSM Explorer.

It was re-registered again by running a USD job check on the agent. The machine re-appeared under 'All Computers' but the installation records are missing.

<Please see attached file for image>

Figure 1

I know the packages that were installed on the agent. Is there a way to add the install records manually?

Solution:

The only way to add an installation record is to use the sd_acmd addinstallrecord command on the agent.
Create a software delivery using a batch file containing the sd_acmd commands and deploy it to the agent.

sd_acmd AddInstallRecord { <item> <version> <procedure> <date> | current <time> | current <orderedby> <comment> [<target>]}

Syntax: sd_acmd addinstallrecord "Item" "version" "procedure" "date"|current "time"|current "orderedby" "comment"

Note: "date"|current - either you can specify the date in the quotes or you can use the current parameter which will fetch the current system date. The same applies for "time"|current.

Ex: sd_acmd addinstallrecord "Adobe Acrobat Reader" "5.0" "Setup" current current "Administrator" "Adding Adobe Information".

<Please see attached file for image>

Figure 2

<Please see attached file for image>

Figure 3

Environment

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

Attachments

1558714088177000054161_sktwi1f5rjvs16tat.gif get_app
1558714086228000054161_sktwi1f5rjvs16tas.gif get_app
1558714084052000054161_sktwi1f5rjvs16tar.gif get_app