Skip to Content

As you probably know the is a new tool in SAP HANA SP6 called HANA Lifecycle Manager (HLM). I have been receiving some questions how to get from using SUM or even hdbupd to using HLM. First of all I recommend that you read the official SAP HANA Update Guides on http://help.sap.com/hana simply to understand HLM and what options HLM gives you.

When I first looked at SAP HANA SP6 the update path to HLM was not quite so clear to me after reading the update guides. My first test included updating SAP HANA to revision 60 using SUM SP5 Patch 5, however after the update I had to install HLM manually….. Not what I expected. With a new SAP HANA SP6 installation using the Unified Installer HLM will be installed by default, so no additional steps are needed to get HLM if the unified installer is used (as it should be).

Fortunately I have friends in our SAP Sofia location! Albena Zaharieva presented a number of options and I did spend some time this week testing what I expect to be the most common scenario’s at customers. I mainly tested updating from SAP HANA SP5 (standalone and scale out), but also one SAP HANA SP4 standalone instance.

Scenario A:  you have been using SUM to update SAP HANA and want to update to the latest SP6 revision and install HLM. You will need the sapadm and <sid>adm passwords, but not root.
• Make sure you use the latest SAP HANA Studio.
• If you download patches manually, make sure the latest SUM, HLM and saphostagent patches are included.
• The minimum versions are SUM SP5 Patch 7, saphostagent version 153 (I used 155), and HLM SP6 (I used HLM SP6 patch 1). Also see note 1836498 for minimum versions.
• Run SUM and let SUM update itself to the latest patch level by starting the stack or revision update.
• After SUM restarts, there will be an option to install HLM.
• OR: follow scenario B steps instead, these will also work ?

Scenario B:  you received a new server with an older SAP HANA revision (i.e. 53) and you want to keep things simple by bypassing SUM configuration. Or, you have continued to use hdbinst (Oh no!) and you want to bypass SUM to get to HLM. Note: that you will need the root password for this option.
• Update saphostagent to at least version 153 (I tested with version 155). This is a manual step for example using rpm or ‘saphostexec -upgrade’
• Install HLM manually as described in the SAP HANA Update guide chapter 6.1. Note that you need root to do this!
• Start HLM perspective (lifecycle management) and proceed with the update to SP6.

Both scenario’s worked, in my humble opinion scenario B was easier. Overall I like to use HLM to update SAP HANA and think that development did a good job. The HLM options to use studio, browser, and even command line provides a lot of flexibility.

The result:

HLM.png

With thanks to Albena Zaharieva and as always, comments welcome! I will answer when I return from vacation.

Regards,
Serge

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. John De Baets

    scenario B, installing HLM

    bounced into this error:

    Installation failed

        Cannot initialize custom event handler: Can’t load ‘/tmp/saphanaupdates/saphanalm06/instruntime/SSH2.so’ for module Net::SSH2: libssh2.so.1: cannot open shared object file: No such file or directory at DynaLoader.pm line 190.

    at sdbrun/Require.pl line 62

    BEGIN failed–compilation aborted at HLM/Installer/OS/SSH2RemoteExecutor.pm line 9.

    BEGIN failed–compilation aborted at HLM/Installer/BaseExecutionPlanManager.pm line 31.

            …propagated at base.pm line 94.

    BEGIN failed–compilation aborted at HLM/Installer/ExecutionPlanManager.pm line 35.

    BEGIN failed–compilation aborted at HLM/Installer/InstallationEventHandler.pm line 16.

    usefull doc for this:

    ugrading HANA Lifecycle Management LIBSSH2 error

    https://forums.suse.com/archive/index.php/t-3035.html

    (0) 

Leave a Reply