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: 
nicholas_chang
Active Contributor

SAP HANA Lifecycle Manager

SAP HLM by default will get installed together with HANA platform SPS06 installation and I’ll give a brief walkthrough on how to access, to start and to install HLM on HANA platform lower than rev60.


a) to access HLM:

Before you can access HLM, you need to ensure HLM is running on the server by ps -ef | grep -i HLM and you’ll get something return as below:


SIDadm   25882 25598  0 15:05 ?        00:00:00 /bin/bash /usr/sap/hlm_bootstraps/start-hlm.sh SID

SIDadm   25948 25882  0 15:05 ?        00:00:00 bash /usr/sap/SID/HDB10/../HLM/bootstrap-hlm.sh

SIDadm   25971 25948  0 15:05 ?        00:00:00 /bin/bash /usr/sap/hlm_bootstraps/SID/HLM/hlm.sh

SIDadm   26009 25971  0 15:05 ?        00:00:00 /bin/bash ./daemon.sh console -Dhlm.nonssl.port=51000 -Dhlm.installation.path=/hana/shared/SID/HLM -Dhlm.bootstrap.path=/usr/sap/hlm_bootstraps/SID/HLM -Dlogback.configurationFile=/usr/sap/hlm_bootstraps/SID/HLM/configuration/serviceability.xml -Dosgi.resolver.usesMode=ignore

SIDadm   26163 26009  0 15:05 ?        00:00:00 /bin/bash -c cd "/usr/sap/hlm_bootstraps/SID/HLM" ; "/usr/sap/hlm_bootstraps/SID/HLM/jvm/jre/bin/java" -server -XtraceFile=log/vm_@PID_trace.log -XX:ErrorFile=/usr/sap/hlm_bootstraps/SID/HLMserviceabilityerror.log -XX:HeapDumpPath=/usr/sap/hlm_bootstraps/SID/HLM/serviceability/heap_dump.hprof "-XX:+HeapDumpOnOutOfMemoryError" "-XX:+DisableExplicitGC" "-Xms512m" "-Xmx1024m" "-XX:PermSize=256M" "-XX:MaxPermSize=256M" "-Dosgi.requiredJavaVersion=1.6" "-DuseNaming=osgi" "-Dosgi.install.area=." "-Djava.io.tmpdir=./work/tmp" "-Djava.endorsed.dirs=lib/endorsed" "-Dorg.eclipse.equinox.simpleconfigurator.exclusiveInstallation=false" "-Dcom.sap.core.process=ljs_node" "-Declipse.ignoreApp=true" "-Dosgi.noShutdown=true" "-Dosgi.framework.activeThreadType=normal" "-Dosgi.embedded.cleanupOnSave=true" "-Dosgi.usesLimit=30" "-Dcatalina.config=file:config/catalina.properties" "-Dhttp.hostcontrol.connection" -classpath /usr/sap/hlm_bootstraps/SID/HLM/plugins/org.eclipse.equinox.launcher_1.3.0.v20120308-1358.jar:/usr/sap/hlm_bootstraps/SID/HLM/lib/org.eclipse.virgo.nano.authentication_3.6.0.RC1.jar:/usr/sap/hlm_bootstraps/SID/HLM/lib/org.eclipse.virgo.nano.shutdown_3.6.0.RC1.jar:/usr/sap/hlm_bootstraps/SID/HLM/lib/org.eclipse.virgo.util.env_3.6.0.RC1.jar -Dhlm.nonssl.port=51000 -Dhlm.installation.path=/hana/shared/SID/HLM -Dhlm.bootstrap.path=/usr/sap/hlm_bootstraps/SID/HLM -Dlogback.configurationFile=/usr/sap/hlm_bootstraps/SID/HLM/configuration/serviceability.xml -Dosgi.resolver.usesMode=ignore org.eclipse.equinox.launcher.Main -console 2>>"/usr/sap/hlm_bootstraps/SID/HLM/hlm_daemon.log"

SIDadm   26164 26163  6 15:05 ?        00:01:11 /usr/sap/hlm_bootstraps/SID/HLM/jvm/jre/bin/java -classpath /usr/sap/hlm_bootstraps/SID/HLM/plugins/org.eclipse.equinox.launcher_1.3.0.v20120308-1358.jar:/usr/sap/hlm_bootstraps/SID/HLM/lib/org.eclipse.virgo.nano.authentication_3.6.0.RC1.jar:/usr/sap/hlm_bootstraps/SID/HLM/lib/org.eclipse.virgo.nano.shutdown_3.6.0.RC1.jar:/usr/sap/hlm_bootstraps/SID/HLM/lib/org.eclipse.virgo.util.env_3.6.0.RC1.jar -server -XtraceFile=log/vm_@PID_trace.log -XX:ErrorFile=/usr/sap/hlm_bootstraps/SID/HLMserviceabilityerror.log -XX:HeapDumpPath=/usr/sap/hlm_bootstraps/SID/HLM/serviceability/heap_dump.hprof -XX:+HeapDumpOnOutOfMemoryError -XX:+DisableExplicitGC -Xms512m -Xmx1024m -XX:PermSize=256M -XX:MaxPermSize=256M -Dosgi.requiredJavaVersion=1.6 -DuseNaming=osgi -Dosgi.install.area=. -Djava.io.tmpdir=./work/tmp -Djava.endorsed.dirs=lib/endorsed -Dorg.eclipse.equinox.simpleconfigurator.exclusiveInstallation=false -Dcom.sap.core.process=ljs_node -Declipse.ignoreApp=true -Dosgi.noShutdown=true -Dosgi.framework.activeThreadType=normal -Dosgi.embedded.cleanupOnSave=true -Dosgi.usesLimit=30 -Dcatalina.config=file:config/catalina.properties -Dhttp.hostcontrol.connection -Dhlm.nonssl.port=51000 -Dhlm.installation.path=/hana/shared/SID/HLM -Dhlm.bootstrap.path=/usr/sap/hlm_bootstraps/SID/HLM -Dlogback.configurationFile=/usr/sap/hlm_bootstraps/SID/HLM/configuration/serviceability.xml -Dosgi.resolver.usesMode=ignore org.eclipse.equinox.launcher.Main -console

b) If nothing returns, start HLM:


/hana/shared/<SID>/HLM/bootstrap-hlm.sh


If folder /HLM don’t exist on the server, means HLM is not installed on the server.


c) to install HLM:


via HANA studio rev60 by using SUM4HANA.

I’ll skip this method where the steps are just similar when performing HANA DB revision update using SUM4HANA.


Manual Installation:

i) download SAPHANALM06_0-10012745.SAR or latest from SMP

ii) extract it to temp directory, eg: HLM_install

iii) copy SAPHANALM06_0-10012745.SAR to the temp directory where you extracted the SAR earlier, eg: HLM_install as the SAR is needed during installation.

iv) Ensure SAPHOSTAGENT is above level 149, advisable to update it to the latest level. Level 153 till today.

v) go to the extracted temp directory and run ./hdbinst

Just click enter when prompt if you are running single Hana Database.


SAP HANA Lifecycle Manager Installation kit detected.

SAP HANA Database Installation Manager - SAP HANA HLM Installation 1.50.00.000000

*********************************************************************************

Options:

  SAP HANA system ID | Description

---------------------------------------------------------

  SID                | SAP HANA Database SID 1.00.57.378530

Enter SAP HANA system ID [SID]:

Root user password (SSH connectivity):

Root user SSH key passphrase (SSH connectivity):

The installation will complete in jiffy and now, enjoy using HLM!

Refer to http://help.sap.com/hana/SAP_HANA_Update_and_Configuration_Guide_en.pdf for detailed info.

57 Comments
Labels in this area