Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
willi_eimler
Contributor
0 Kudos
1,140


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

Labels in this area