ITAM: Unable to upgrade from 14.1 to a RU patch or 17.2
book
Article ID: 130762
calendar_today
Updated On:
Products
CA IT Asset ManagerCA Software Asset Manager (CA SAM)ASSET PORTFOLIO MGMT- SERVERCA Service Management - Asset Portfolio ManagementCA Service Management - Service Desk Manager
Issue/Introduction
Attempts to upgrade ITAM/APM on a rollup patch or to a release such as 17.2 may error out during the Binary update step, being told:
"Failed to apply CA APM Patch, refer logs for more details":
In the T6EE494_20190408_160730.log files, one may notice when searching for "WriteIIS7ConfigChanges" (entries of interest in bold)
MSI (s) (A4!40) [16:07:52:498]: PROPERTY CHANGE: Adding WriteIIS7ConfigChanges property. Its value is '**********'.
MSI (s) (A4!40) [16:07:52:498]: Doing action: WriteIIS7ConfigChanges
Action start 16:07:52: WriteIIS7ConfigChanges.
Action ended 16:07:52: WriteIIS7ConfigChanges. Return value 1.
MSI (s) (A4:F8) [16:08:26:781]: Executing op: ActionStart(Name=WriteIIS7ConfigChanges,Description=Installing Config Keys and Values,)
MSI (s) (A4:F8) [16:08:26:781]: Executing op: CustomActionSchedule(Action=WriteIIS7ConfigChanges,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
CA IT Asset Manager 14.1, upgrading to a rollup patch or to 17.x
Cause
Examining HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CA\Shared\ITAM in registry reveals two entries are missing: WebSiteName and WebSitePort.
Resolution
To address the issue, please do the following, ensuring you have a full backup/snapshot of the environment before proceeding.
The following instructions introduce a change to your registry. Please be sure to take all precautions and backups prior to modifying your registry.
1. Go to Application Server 2. Run 'regedit' 3. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CA\Shared\ITAM 4. Right Click on ITAM and export to save the registry key (just a backup) 5. Add the following registry keys. a. WebSiteName b. WebSitePort
To add them Right click in the right-pane - select New -> String Value Enter: Name: WebSiteName Hit Enter. Right click on WebSiteName. Select Modify. Enter Value Data: APMWebsite Click OK.
Do the same to add the next parameter too. Name: WebSitePort Value: 99
After introducing the above registry entries and saving the changes, re-test the RU or 17.2 patch update.