Skip to Content
Please note SUM for SAP HANA is no longer support in SP6 and is replaced with HLM
Hi everybody,
My name is Man-Ted and I’m currently on the SAP HANA support team and I’ve been on the team since September 2012. Our team as a collective has been noticing a rise in a certain area of SAP HANA, SUM for SAP HANA. As part of my training for support I took it upon myself to learn and setup SUM for SAP HANA on our local environment. This blog will document the steps I did to setup our environment as well a walk through of the product along with troubleshooting one can do.

So what is SUM for SAP HANA?

SUM stands for Software Update Manager, this tool allows users to download and upgrade SAP HANA components through the SAP HANA Studio. SUM for SAP HANA was not available until SAP HANA SP3.

So does that mean I need SUM for SAP HANA to upgrade my HANA system?

SUM for SAP HANA is the only supported method for users to upgrade their SAP HANA system. Previously upgrades were done using hdbupd, but this only upgrades the system and not the system landscape metadata (lm_structure)

How do I get SUM?

SUM for SAP HANA will be pre-installed for users unless they had SAP HANA SPS02 as there was no SUM for SAP HANA during the SPS02 release.
You can verify if SUM for SAP HANA is installed on you system by checking if /usr/sap/<SID>/SUM exists.

There’s no SUM folder

If the SUM folder is not present you will have to install SUM for SAP HANA, to do this please follow SAP Note 1793303 (please note this note is for single node systems). The SAP Note has a script that will assist in installing LCM, SUM and your SAP Host Agent, but you must have SAPCAR and SAP HANA sever already installed on your system. The following will be the steps that I had to do for this script.

Have the following files downloaded from the SMP to you are going to installing SUM for SAP HANA, keep them in .SAR format (please note that if you have either LCM or SAP Host Agent already installed it’s fine the script will not install that component, but you will still need the SAR files present)
  • SAP HANA Studio
  • SAP Host Agent
  • LM Structure
  • SUM for SAP HANA
Download the script file from SAP Note 1793303, extract the download and place the above downloads into the script folder (the folder in the example below is named ‘install’) and edit the install.properties file in the folder, it will look like the following (please note that the italic text is only sample data)
#### User-defined parameters
# The SID of the system
sid=TST
# The instance number
instanceNr=42
## SAP HANA edition (HANA_Platform / HANA_EnterpriseEdit)
hanaEdition=HANA_Platform
## Optional parameters
# SAPLOCALHOST as defined in system profiles
# If not set here, the script will try to detect it
# SAPLOCALHOST=
# Path to SAPCAR
# If not set here, the script will try to find it
# SAPCAR=
# Installation number
# Required for download from SMP
# Set it here, if not set in /usr/sap/<SID>/SYS/global/hdb/metadata/installation.properties
#installNr=
Once set run the install.sh script
/wp-content/uploads/2013/06/1_232365.gif
To verify if the script went ok check to see if the following folders exist
<HANA_DIR>/SUM
<HANA_DIR>/lm_structure

How do I start SUM for SAP HANA?

So once you have SUM for SAP HANA setup properly your SAP HANA studio will always try to connect or start SUM. To start SUM for SAP HANA you need to enter in your key store password (this keystore was set during the installation of SUM for SAP HANA)
/wp-content/uploads/2013/06/19_233749.gif
If it is running the screen will look like this
/wp-content/uploads/2013/06/20_233795.gif

By default the keystore password has to be entered in each time before starting SUM/LCM, optionally a keystore file can be used. (A keystore file should only be used if the security on the file system that has SUM for SAP HANA installed can be trusted). To start SUM for SAP HANA execute ./sum.sh, it should look like the following:
If you are going to use a keystore file please read the below from documentation:
  1. Create a text file and name it catalina.properties.
  2. Store the password in there, using the content: keystore.password=****** (where ****** is the key store password).
  3. Save the file in directory <SUM_DIR>/config. (Make sure that this file is readable only by <SID>adm user)

So How Do I Use SUM for SAP HANA/Lifecycle Manager (LCM)?

First things first, how are we going to connect the Service Market place?
This portion is under the assumption you have already downloaded and configured SUM for SAP HANA and it is now running
Before loading the LCM we will need to set up how we will get checking for updates, please do the following before loading the LCM
Inside HANA Studio select Window-> Preferences
/wp-content/uploads/2013/06/3_232482.gif
/wp-content/uploads/2013/06/4_232483.gif
In the ‘Preferences’ Window you can select either stack.xml (you get this from the Software Download Center from the SMP) or you can enter in your SMP information.
In my example I will be using the SMP, select “Use SMP configuration” and enter in your S-user ID that you would use to download files from the SMP.
/wp-content/uploads/2013/06/5_232485.gif
Now that the SMP information is setup Lifecycle Management can connect to the Service Market Place. (Please note, make sure that SUM for SAP HANA is already running or you have setup your keystore, refer to the ‘How do I start SUM for SAP HANA?’ section)
Right click on your System and select “Lifecycle Management” and the studio will either try to start or connect to the SUM for SAP HANA service.
/wp-content/uploads/2013/06/6_232488.gif

/wp-content/uploads/2013/06/7_232489.gif
During the initial load the LCM will check to see if there is a new revision of SUM for SAP HANA available, if there is no update login using the sapadm user:
/wp-content/uploads/2013/06/8_232490.gif
Once in the LCM it should look like this:
/wp-content/uploads/2013/06/9_232496.gif
As you can see from the above there are various options for users, here is a quick explanation of each option:
Apply Support Package Stack – This will update all the SAP products that are deployed on this system.
Apply Single Support Packages – This option allows users to select which specific SAP product and to  which version (available on the SMP) they would like to up date
Deployment of HANA Content – Updates from a DVD zip on the local file system
SAP Service MarketPlace – This states that SUM for SAP HANA will connect to the SMP to download the patch update. After the file is downloaded the file will get unarchived and will install.
Downloaded content on HANA system – If the SAR file is already downloaded and on the system you would select this option and point to where the file is. After clicking next it will un-archive and install the patch.

After clicking next, LCM will check for updates
/wp-content/uploads/2013/06/10_232498.gif
/wp-content/uploads/2013/06/11_232503.gif
Once that’s done you should see the what new updates are available for your SAP HANA system. If there are no new updates you will see under “Target version” you will see “not available”
/wp-content/uploads/2013/06/12_232504.gif
If there are updates you can now select if you would like your software
/wp-content/uploads/2013/06/13_232505.gif
And you can pick and choose which products you would like update, in this case we only wanted to upgrade our SAP HANA database server:
/wp-content/uploads/2013/06/13_232505.gif
After you click ‘Download’ a progress bar of the download will appear
/wp-content/uploads/2013/06/15_232509.gif
Once the software is downloaded it will extract and install the product, if it is successful the following screen will appear:
/wp-content/uploads/2013/06/17_232511.gif

SUMthing has failed me!

In this section I will discuss some errors you could encounter with SUM for SAP HANA
The first errors that may occur is when trying to load the LCM
/wp-content/uploads/2013/06/18_232513.gif
This error indicates that the SUM for SAP HANA service is not running, to resolve this you can set up a keystore file or login to your system and start SUM for SAP HANA
/wp-content/uploads/2013/06/19_233749.gif
/wp-content/uploads/2013/06/19_233749.gif
If a keystore file is set and the following error occurs:
/wp-content/uploads/2013/06/21_232519.gif
This means the password defined in your keystore file is incorrect.

After logging in and you try to check for an update you might see this/wp-content/uploads/2013/06/22_232521.gif
Check the LCM settings under Windows-> Preferences, there is either an error with the login or proxy settings.
/wp-content/uploads/2013/06/23_232528.gif
After the file downloads successfully you run into an error during the installation process. So as you can see this error page really tells us nothing, fortunately there’s a link to the error log on the page. If you made it this far the error is either due to SAPCAR not being able to unarchive the file or an error occurred during the execution of the installation script. To determine the error please check the logs located in the following directory <SUM_DIR>/log

If you can’t understand the logs please open a support ticket with SAP, via service.sap.com, with the logs attached.
To report this post you need to login first.

7 Comments

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

  1. Andy Silvey

    Hi Man-Ted,

    very nice blog thank you.

    To add to your detail there’s also a useful OSS Note,

    OSS 1793303 – Install and configure SUM for SAP HANA

    All the best,

    Andy.

    (0) 
    1. Man-Ted Chan Post author

      Hi Andy,

      Thaks for the comment, that note is referenced under the “There’s no SUM folder” section

      Thanks again,

      Man-Ted

      (0) 
  2. Jeff Han

    Excellent document!

    In my case, i found if the system has AFL library installed. The SUM upgrade will fail and give error like this:

    Software feature for component with name HANA_AFL and vendor sap.com was not found in list with installed features

    (0) 
    1. Man-Ted Chan Post author

      Hi Jeff,

      I think AFL was not installed using the HANA On-Site configuration tool. Please review my other blog post on the HANA On-Site Configuration tool

      (0) 
      1. Sudhakar Tripurana

        Hi Man-Ted Chan,

        Question:

        Where do we install the SUM for SAP HANA ( install.sh) ..is it on the CI(AIX) which is currently running or HANA DB(Suse Linux) .

        We do plan to move the current CI(AIX) to Redhat Linux server.

        We ran SUM(DMO) from CI(AIX) for migration and Unicode conversion with host agent installed and configured. This CI (AIX) is connected to the  HANA DB appliance (Suse Linux).

        Appreciate if you can respond at the earliest.

        Thanks

        Trip

        (0) 

Leave a Reply