SAP HANA Lifecycle Management, HLM for short, is a part of SAP HANA Platform. It provides flexible customization for SAP HANA, including administrative, upgrade and many other features for an easier and rapid maintenance.
Since HLM is not a default option for SAP HANA installation, we need some additional work to install and configure it. This document will show examples to introduce how to install, configure and use HLM.
These two installations could be downloaded from SMP (Service Market Place).
1. Unzip SAR files on the server
sapcar –xvf SAPHANALM07_0-10012745.SAR
sapcar –xvf SAPHOSTAGENT155_155-20005731.SAR
After the extraction, the directory shows like this.
2. Install hostagent
Enter the SAPHOSTAGENT directory to start installation.
After the installation, a hostctrl directory will be generated in /usr/sap .
Check whether the hostagent service has been started.
Note: If the version of SAP HANA is SP07 or above, the hostagent is a default option when SAP HANA is installed. We list the installation steps of hostagent for the reference if the SAP HANA is of old version.
3. Install HLM
Enter the SAPHANALM directory to start installation, here we choose instance H70.
After that, HLM directory is created in home directory of the instance: /hana/shared/H70.
After the above steps, HLM is accessible now. Three ways is provided to access HLM:
- Use SAP HANA Studio
- Use web browser
- Use command line
Here we’ll introduce using SAP HANA Studio. Please make sure your Internet Explorer version is 9.0 or higher.
First, choose the instance, and log on with “Lifecycle Management” option in right-click menu.
Below picture shows the main interface of HLM, which includes many features. We have “Configuration of SLT and SMD” and “Rename of SAP HANA system for SAP HANA System” in “Integrate SAP HANA System in Landscape” part; “Update of HLM, SAP HANA server, client and studio” in “Update SAP HANA System” part; “Add/Delete Additional Host” in “Administrate SAP HANA System”, “Mange Additional SAP HANA Components” such as AFL, SDA and so on.
There’re two ways of updating SAP HANA system: Apply Support Package Stack and Apply Single Support Package. The difference between them lays on that the former one is an overall update for every available components and the later one can update one component alone. Besides, the update could be manual or automatic. Automatic update takes action by downloading and installing online while for the manual one, installation packages are firstly downloaded and installed later.
A SMP account is needed since installations must be downloaded from SMP in automatic update.
Note: Entry the Preference option in SAP HANA Studio and search with “marketplace”. Fill in your SMP account and proxy information and then click “save”. Then you needn’t fill in your SMP once updating automatically.
After an automatic detection, all the available components will be listed with its version No, so you could update to any point. Now we take SAP HANA Client for example.
For the manually upgrade, you need download SAR packages from SMP first and put them to the HANA server. The HLM will detect the available updates and then you can start the update according to the automatic one.
This blog mainly introduce the installation and use of HLM, which makes SAP HANA much convenient in administration and use.