Skip to Content
Author's profile photo Serge Muts

Which tool to use for SAP HANA Update: SUM for HANA or hdbupd?

*** Update: with SAP HANA SP6 the HANA Lifecycle Manager (HLM) should be used. Please see my other blog on how to get HLM:  http://scn.sap.com/community/hana-in-memory/blog/2013/07/19/sap-hana-lifecycle-manager-how-to-get-it

The blog is valid for SAP HANA SP5 and earlier (SP6 started with Revision 60):

Which tool should you use to update SAP HANA on the appliance? It is a common question with customers and partners. SAP made some changes over the past years and not everyone has stayed up to date on the latest recommendations regarding the Software Update Manager for HANA (SUM for HANA). For example the “Manual Update Guide” for SAP HANA was removed with SAP HANA SP5, and only the Master Update Guide and the “Automated Update Guide” are still available on help.sap.com/hana.

Let’s be clear: SUM for HANA is the recommended tool for all customers and partners to update SAP HANA! The old tool, called hdbupd, is still available but there are some drawbacks. Many customer and partner still use hdbupd since it is easy to use, however only part of SAP HANA does get updated with hdbupd and this can lead to issues down the road.

Let’s look back how we got here:

  • Older SAP HANA installations were performed with hdbinst
  • Later SAP recommended to the hardware partners that the Unified Installer should be used to install SAP HANA

The correct update tool for HANA instances installed with hdbinst is hdbupd, while SUM for HANA is the correct update tool for HANA instances installed with the Unified Installer. The problem we see is that many customers and partners use hdbupd for installations performed by the Unified Installer leading to partial updates. For example: lm_structure is not updated (this is also used by hanaconfig.sh), saphostagent is not updated, and content has to be updated manually. SUM for HANA detects which components need to be updated and ensures the components make a consistent SAP HANA instance.

So how do you recognize if your SAP HANA instance was installed with hdbinst or Unified Installer? It is really simple, if the directories /usr/sap/<SID>/SUM and /usr/sap/<SID>/lm_structure exist then the Unified Installer was used and you should apply Support Package Stacks and Revisions with SUM for HANA. If you do not have these directories, the recommendation is to bring your instance up-to-date and install SUM for HANA and lm_structure using SAP Note 1793303. After following this note you can use SUM for HANA to apply revisions and SP Stacks.

This blog is a summary of a detailed call on SUM for SAP HANA recorded in early May 2013. For more details, please listen to the recording here: http://scn.sap.com/docs/DOC-41434. You can find the slides here: http://scn.sap.com/docs/DOC-41485

I hope this information is helpful. Please let me know if you have any feedback, good or bad!

Regards,

Serge

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Andy Silvey
      Andy Silvey

      Hi Serge,

      thanks for taking the time to explain this in a blog and especially the tip, how do you recognize if your SAP HANA instance was installed with hdbinst or Unified Installer?

      On top of everything you said, an OSS Note came out yesterday with the same message:

      OSS Note 1864196 - HANA Database update with SUM or hdbupd

      All the best,

      Andy.

      Author's profile photo Serge Muts
      Serge Muts
      Blog Post Author

      Hi Andy,

      thanks for mentioning the note. It was news to me, but good timing. I plan one additional blog on this topic after getting some customer questions: What to do if you used hdbupd and should have used SUM for HANA. I hope to get it published this week.

      Best,

      Serge

      Author's profile photo Andy Silvey
      Andy Silvey

      Hi Serge,

      that's great, that will be very useful.

      All the best,

      Andy.

      Author's profile photo Ulf Zeisberger
      Ulf Zeisberger

      Hi,

      thanks you got me into the rigth direction.

      In HANA Studio the  Lifecycle manager did not start.

      Then I ran the ./sum.sh on the console,  a war file started to deploy and finally the error in the Studio (rev56) was gone.

      Regs

      Ulf

      Author's profile photo Ulf Zeisberger
      Ulf Zeisberger

      Hi,

      found out later that sum was still on rev28 (SPS04) level.

      Should be remote startable in current revisions.

      Regs

      Ulf

      Author's profile photo Denys van Kempen
      Denys van Kempen

      For those interested, I wrote a blog about the state of affairs with SAP HANA platform lifecycle management for SPS 08:

      A Short History of SAP HANA Platform Lifecycle Management

      Regards,

      Denys van Kempen

      SAP HANA Academy