Steps to Upgrade SAP Host Agent

Determine the current installed version of SAP Host Agent and download the desired installation file from the http://service.sap.com/swdc.

Extract the downloaded file to a new directory and execute the below command. Only one single command be used and the entire upgrade process will execute automatically.

saphostexec.exe -upgrade

Upgrade service
[Thr 7444] Wed Feb 19 10:09:05 2014
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\saphostexec.exe
is newer than C:\Program Files\SAP\hostctrl\exe\saphostexec.exe
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\sapstartsrv.exe
is newer than C:\Program Files\SAP\hostctrl\exe\sapstartsrv.exe
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\saphostctrl.exe
is newer than C:\Program Files\SAP\hostctrl\exe\saphostctrl.exe
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\sapcontrol.exe
is newer than C:\Program Files\SAP\hostctrl\exe\sapcontrol.exe
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\lssap.exe
is newer than C:\Program Files\SAP\hostctrl\exe\lssap.exe

[Thr 7444] sapevents.dll is ignored for upgrade check.
[Thr 7444] Wed Feb 19 10:09:07 2014
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\librfc32.dll
is newer than C:\Program Files\SAP\hostctrl\exe\librfc32.dll
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\saposcol.exe
is newer than C:\Program Files\SAP\hostctrl\exe\saposcol.exe
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\sapacosprep.exe
is newer than C:\Program Files\SAP\hostctrl\exe\sapacosprep.exe
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\libsapacosprep.dll
is newer than C:\Program Files\SAP\hostctrl\exe\libsapacosprep.dll
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\ldapreg.exe
is newer than C:\Program Files\SAP\hostctrl\exe\ldapreg.exe
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\ldappasswd.exe
is newer than C:\Program Files\SAP\hostctrl\exe\ldappasswd.exe
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\sldreg.exe
is newer than C:\Program Files\SAP\hostctrl\exe\sldreg.exe
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\sldreglib.dll
is newer than C:\Program Files\SAP\hostctrl\exe\sldreglib.dll
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\sapcpp47.dll
is newer than C:\Program Files\SAP\hostctrl\exe\sapcpp47.dll
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\xml71d.dll
is newer than C:\Program Files\SAP\hostctrl\exe\xml71d.dll
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\sapdbctrl.exe
is newer than C:\Program Files\SAP\hostctrl\exe\sapdbctrl.exe
[Thr 7444] Wed Feb 19 10:09:08 2014
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\libsapdbadactrl.dll
is newer than C:\Program Files\SAP\hostctrl\exe\libsapdbadactrl.dll
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\libsapdbdb6ctrl.dll
is newer than C:\Program Files\SAP\hostctrl\exe\libsapdbdb6ctrl.dll
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\libsapdbmssctrl.dll
is newer than C:\Program Files\SAP\hostctrl\exe\libsapdbmssctrl.dll
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\libsapdboractrl.dll
is newer than C:\Program Files\SAP\hostctrl\exe\libsapdboractrl.dll
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\libsapdbsybctrl.dll
is newer than C:\Program Files\SAP\hostctrl\exe\libsapdbsybctrl.dll
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\sapcimc.exe
is newer than C:\Program Files\SAP\hostctrl\exe\sapcimc.exe
[Thr 7444] C:\Users\Administrator\Desktop\hostagentB\sapcimb.exe
is newer than C:\Program Files\SAP\hostctrl\exe\sapcimb.exe
[Thr 7444] hostagent_acknowledgements.txt is ignored for upgrade check.

Upgrade saphostexec / saphostcontrol
Check Installation Path ...ok
Copy Executable ...
Wait for SAPHostControl to be stopped ...

Wait for SAPHostExec to be stopped ...

Copying...ok
Start saphostexec ...Wait for SAPHostExec to be started ...
Wait for SAPHostControl to be started ...
Check that SAPHostExec is still running ...
ok
[OK] SAPHostExec / SAPHostControl successfully upgraded

Check the upgraded version of SAP Host Agent again and you can delete the old folder.

You May Also Like

1 Comment

Leave a Reply?