Correctly extract SAP HANA platform edition files for install or upgrade
Hello everyone:
This is the correct way to extract the *.SAR files. It assumes you have downloaded the SAPCAR utility to some path on your server, and have created a subdirectoy specific to the version you want to install or upgrade.
Sample file structure:
/usr/sap/install/SAPCAR_0-80000935-linux
/usr/sap/install/1025/HANA_AFL100_102P_50-70000758.SAR
/usr/sap/install/1025/HANA_SERVER100_102_50-70000738.SAR
/usr/sap/install/1025/… (etc.)
To extract the files and move the signature files to their respective directories, execute the following commands from the /usr/sap/install/1025 directory.
../SAPCAR_0-80000935-linux -xvf HANA_AFL100_*-70000758.SAR
mv SIGNATURE.SMF SAP_HANA_AFL/
../SAPCAR_0-80000935-linux -xvf HANA_SERVER100_*-70000738.SAR
mv SIGNATURE.SMF SAP_HANA_DATABASE/
../SAPCAR_0-80000935-linux -xvf HANA_CLIENT100_*-70000737.SAR
mv SIGNATURE.SMF SAP_HANA_CLIENT/
mv SAP_HANA_CLIENT/ SAP_HANA_CLIENT.Linux64/
../SAPCAR_0-80000935-linux -xvf HANA_CLIENT100_*-70000784.SAR
mv SIGNATURE.SMF SAP_HANA_CLIENT/
mv SAP_HANA_CLIENT/ SAP_HANA_CLIENT.Linux32/
After this extraction, you can execute the HANA lifecycle management tool from the command line, GUI, or Web (for upgrades only).
Command Line
SAP_HANA_DATABASE/hdblcm
Graphical User Interface
SAP_HANA_DATABASE/hdblcmgui
Browser based (upgrade only)
https://hostname:1129/lmsl/HDBLCM/NDB/index.html#update_system
Hope this helps a couple of people!
All the best,
Joerg.