Upgrading SAP Host Agent Manually
SAP Host Agent Manual Upgrade
One of the reasons for SAP Host Agent Upgrade:
Got an error as below when configured managed system in Solution Manager
After Upgrade Host Agent
Note: Solution Manager System Host agent Version is 720.116, but Managed system version is 720.44
SAP Host Agent Upgrade Process:
Host Agent default installation directory in Windows “C:\Program Files\SAP\hostctrl “
Service:
Find Current version:
Navigate to host agent exe directory and execute below command
Result:
Target Version Patch Level Release: 720 Patch Level: 116
SAP Help Portal for Installation:
http://help.sap.com/saphelp_nw73/helpdata/en/ba/5e83bd129e4932a4a7726fcea01c4f/content.htm
SAP Help Portal for Upgrade:
http://help.sap.com/saphelp_nw73/helpdata/en/1b/e599b387e14710b4846ff4de32a3b6/content.htm
Methods for Host Agent Upgrade:
Download Host Agent Target Patch Version
Download the SAR and save temporary directory.
Procedure:
- Log on as a user with required authorization:
Windows: As a member of the local Administraors group.
- Copy the downloaded SAPHOSTAGENT<SP-version>.SAR archive to a temporary directory, for example::
E:\SAP HostAgent_720_Patch116\
File : SAPHOSTAGENT116_116-20005735.SAR
- Extract the SAPHOSTAGENT<SP-version>.SAR archive using SAPCAR.
Take SAP Note 212876 into account when doing so. Use the following command for extraction, and execute them in the directory of the archive:
Windows |
<path to SAPCAR> sapcar.exe -xvf SAPHOSTAGENT<SP-version>.SAR |
- Perform the upgrade by running the following command from the temporary directory
saphostexec.exe –upgrade
D:\<Host Agent Latest Files>saphostexec.exe -upgrade pf=”C:\Program Files\SAP\hostctrl\exe\host_profile”
5. After the upgrade has finished successfully, you can check the version of the upgraded host agent by executing the following command from the directory of the SAP Host Agent executables:
%ProgramFiles%\SAP\hostctrl\exe\saphostexec.exe –version
SAP Host Agent Guide:
https://websmp204.sap-ag.de/~sapidb/012003146900000135752013E/SAP_Host_Agent_129.pdf
Thanks & Regards,
V Srinivasan
Excellent blog. Very helpful when doing the hostagent update.
Hi Mani,
Thank You
hi Srinivasan
good
Thank you Srini. Excellent blog. Exactly what I was looking for!!
Good One
Also look how to upgrade without extracting hostagent at https://help.sap.com/saphelp_nw73ehp1/helpdata/en/a9/4798cf6d9f4c0190ecf7144fd05832/content.htm?no_cache=true