Skip to Content

This is a little Quickyblog

Download SAP host agent from:

https://support.sap.com/patches -> Browse Download Catalog -> SAP Technology Compoents -> SAP HOST AGENT


Copy it sar file to /tmp/SAPHOSTAGENT.SAR

root> cp <location of downloaded sar file>/SAPHOSTAGENTxxx_xxx-xxxxxxxx.SAR /tmp/SAPHOSTAGENT.SAR

Create the location for the new binaries.

root> cd /usr/sap/hostctrl/

root> mkdir new

root> chown root:sapsys new

root> cd new

Avoids that upgrade is started while extraction the binaries from sar file.

root> touch .upgrading

Extract SAPHOSTAGENT to /usr/sap/hostctrl/new/.

root> /usr/sap/SID/SYS/exe/run/SAPCAR -xvf /tmp/SAPHOSTAGENT.SAR

Let the upgrade beginn…

root> rm .upgrading

By default saphostexec performs this check every 5 minutes. So, after 5 minutes do…

root> /usr/sap/hostctrl/exe/saphostctrl -function ExecuteOperation -name versioninfo

Voila!

All in one:

root> cd /usr/sap/hostctrl/; mkdir new; chown root:sapsys new; cd new; touch .upgrading; /usr/sap/SID/SYS/exe/run/SAPCAR -xvf /tmp/SAPHOSTAGENT.SAR; rm .upgrading

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply