Agent Version appears as * in DSM Explorer
search cancel

Agent Version appears as * in DSM Explorer

book

Article ID: 272517

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

After installation of a CU patch, Agent Version appears as * in DSM Explorer.
 
Example :
j*145 has CU5 installed but displayed Agent Version is * instead 14.5.0.530
 
 
In Computer Properties in Agent tab, all components are in version 14.5.0.530 except "Asset Management Device Compliance Scanner" which is still in version 14.5.0.153 :
 
On the computer following command returns 14.5.0.153 :
 
ccnfcmda -cmd getparametervalue -ps itrm/agent/solutions/scap -pn version
 

Environment

Client Automation -  14.5 with a CU patch installed

Cause

If Agent Asset Management DCS Plugin is installed (Device Compliance Scanner), the plugin version remains in 14.5.0.153 in comstore file.
As there is a mix of version reported by Agent for the components, * is displayed in DSM Explorer.
 

Resolution

On a machine with problem execute these commands :

ccnfcmda -cmd getparametervalue -ps itrm/agent/solutions/scap -pn version
IF not errorlevel 1 (ccnfcmda -cmd setparametervalue -ps itrm/agent/solutions/scap -pn version -v 14.5.0.600)
caf register all
 
 
Replace 14.5.0.600 by version number of CU patch installed.
 
14.5.0.153 = 14.5
14.5.0.227 = 14.5 CU1
14.5.0.284 = 14.5 CU2
14.5.0.369 = 14.5 CU3
14.5.0.430 = 14.5 CU4
14.5.0.530 = 14.5 CU5
14.5.0.600 = 14.5 CU6
 
 
Here are some generic commands to find automatically the CU version number :
 
ccnfcmda -cmd getparametervalue -ps itrm/agent/solutions/generic -pn version > "%temp%\ver.txt"
SET /P DSM_VER= < "%temp%\ver.txt"
DEL "%temp%\ver.txt"
ccnfcmda -cmd getparametervalue -ps itrm/agent/solutions/scap -pn version
IF not errorlevel 1 (ccnfcmda -cmd setparametervalue -ps itrm/agent/solutions/scap -pn version -v %DSM_VER%)
caf register all

Additional Information

In CU source install files, these lines could be added in the PostInstallScript script.

 

Manager patch :
Edit file PostInstallScript.bat and add these 2 lines in bold :
 
ccnfcmda -cmd getparametervalue -ps itrm/agent/solutions/dts -pn version
IF not errorlevel 1 (ccnfcmda -cmd setparametervalue -ps itrm/agent/solutions/dts -pn version -v 14.5.0.600)
ccnfcmda -cmd getparametervalue -ps itrm/agent/solutions/scap -pn version
IF not errorlevel 1 (ccnfcmda -cmd setparametervalue -ps itrm/agent/solutions/scap -pn version -v 14.5.0.600)
 
 
 
Agent Patch :
Edit file postInstall_enc.bat and add these 2 lines in bold :
 
ccnfcmda -cmd getparametervalue -ps itrm/agent/solutions/dts -pn version
IF not errorlevel 1 (ccnfcmda -cmd setparametervalue -ps itrm/agent/solutions/dts -pn version -v 14.5.0.600)
ccnfcmda -cmd getparametervalue -ps itrm/agent/solutions/scap -pn version
IF not errorlevel 1 (ccnfcmda -cmd setparametervalue -ps itrm/agent/solutions/scap -pn version -v 14.5.0.600)