Skip to Content
Author's profile photo Srinivasan Vinayagam

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

/wp-content/uploads/2015/02/1_651959.jpg

After Upgrade Host Agent

/wp-content/uploads/2015/02/1_651959.jpg

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:

/wp-content/uploads/2015/02/2_651961.jpg



Find Current version:

Navigate to host agent exe directory and execute below command

/wp-content/uploads/2015/02/2_651961.jpg

Result:

/wp-content/uploads/2015/02/2_651961.jpg

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


/wp-content/uploads/2015/02/2_651961.jpg

/wp-content/uploads/2015/02/2_651961.jpg

Download the SAR and save temporary directory.

/wp-content/uploads/2015/02/2_651961.jpg

/wp-content/uploads/2015/02/2_651961.jpg

Procedure:

  1. Log on as a user with required authorization:

  Windows: As a member of the local Administraors group.

  1. Copy the downloaded SAPHOSTAGENT<SP-version>.SAR archive to a temporary directory, for example::

E:\SAP HostAgent_720_Patch116\

File : SAPHOSTAGENT116_116-20005735.SAR

/wp-content/uploads/2015/02/2_651961.jpg

  1. 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

/wp-content/uploads/2015/02/2_651961.jpg

  1. 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”

/wp-content/uploads/2015/02/2_651961.jpg

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

/wp-content/uploads/2015/02/2_651961.jpg

SAP Host Agent Guide:

https://websmp204.sap-ag.de/~sapidb/012003146900000135752013E/SAP_Host_Agent_129.pdf

Thanks & Regards,

V Srinivasan

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Excellent blog. Very helpful when doing the hostagent update.

      Author's profile photo Srinivasan Vinayagam
      Srinivasan Vinayagam
      Blog Post Author

      Hi Mani,

      Thank You

      Author's profile photo M.R. Iyyappan
      M.R. Iyyappan

      hi Srinivasan

      good

       

      Author's profile photo Former Member
      Former Member

      Thank you Srini. Excellent blog. Exactly what I was looking for!!

      Author's profile photo Former Member
      Former Member

      Good One

      Author's profile photo Giridhara Tadikonda
      Giridhara Tadikonda

      Also look how to upgrade without extracting hostagent at https://help.sap.com/saphelp_nw73ehp1/helpdata/en/a9/4798cf6d9f4c0190ecf7144fd05832/content.htm?no_cache=true