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 -p new

root> chown root:sapsys new

root> cd new

root> rm -rf *

 

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 -manifest SIGNATURE.SMF
 

 

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/saphostexe -version

 

Voila!

 

All in one:

 

root> cd /usr/sap/hostctrl/; mkdir -p new; chown root:sapsys new; cd new; rm -rf *; touch .upgrading; /usr/sap/SID/SYS/exe/run/SAPCAR -xvf /tmp/SAPHOSTAGENT.SAR -manifest SIGNATURE.SMF; 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