8/13/2014 SUM for SAP HANA setup | SCN
http://scn.sap.com/people/man-ted.chan/blog/2013/06/17/sum-for-sap-hana-setup 1/9
Getting Started Newsletters Store
Products Services & Support About SCN Downloads
Industries Training & Education Partnership Developer Center
Lines of Business University Alliances Events & Webinars Innovation
Log On Join UsHi, Guest Search the Community
Activity Communications Actions
Brow se
Man-Ted Chan's Blog
Previous
post
Next
post
0 Tweet 9
Please note SUM for SAP HANA is no longer support in SP6 and is replaced with HLM
Hieverybody,
MynameisMan-TedandI'mcurrentlyontheSAPHANAsupportteamandI'vebeenontheteamsinceSeptember2012.
OurteamasacollectivehasbeennoticingariseinacertainareaofSAPHANA,SUMforSAPHANA.Aspartofmytraining
forsupportItookituponmyselftolearnandsetupSUMforSAPHANAonourlocalenvironment.Thisblogwilldocument
thestepsIdidtosetupourenvironmentaswellawalkthroughoftheproductalongwithtroubleshootingonecando.
So what is SUM for SAP HANA?SUMstandsforSoftwareUpdateManager,thistoolallowsuserstodownloadandupgradeSAPHANAcomponentsthrough
theSAPHANAStudio.SUMforSAPHANAwasnotavailableuntilSAPHANASP3.
So does that mean I need SUM for SAP HANA toupgrade my HANA system?SUMforSAPHANAistheonlysupportedmethodforuserstoupgradetheirSAPHANAsystem.Previouslyupgradeswere
doneusinghdbupd,butthisonlyupgradesthesystemandnotthesystemlandscapemetadata(lm_structure)
How do I get SUM?SUMforSAPHANAwillbepre-installedforusersunlesstheyhadSAPHANASPS02astherewasnoSUMforSAPHANA
duringtheSPS02release.
YoucanverifyifSUMforSAPHANAisinstalledonyousystembycheckingif/usr/sap/<SID>/SUMexists.
There’s no SUM folderIftheSUMfolderisnotpresentyouwillhavetoinstallSUMforSAPHANA,todothispleasefollowSAPNote1793303
(pleasenotethisnoteisforsinglenodesystems).TheSAPNotehasascriptthatwillassistininstallingLCM,SUMandyour
SAPHostAgent,butyoumusthaveSAPCARandSAPHANAseveralreadyinstalledonyoursystem.Thefollowingwillbethe
stepsthatIhadtodoforthisscript.
HavethefollowingfilesdownloadedfromtheSMPtoyouaregoingtoinstallingSUMforSAPHANA,keepthemin.SAR
format(pleasenotethatifyouhaveeitherLCMorSAPHostAgentalreadyinstalledit’sfinethescriptwillnotinstallthat
component,butyouwillstillneedtheSARfilespresent)
SAPHANAStudio
SAPHostAgent
LMStructure
SUMforSAPHANA
DownloadthescriptfilefromSAPNote1793303,extractthedownloadandplacetheabovedownloadsintothescript
folder(thefolderintheexamplebelowisnamed‘install’)andedittheinstall.propertiesfileinthefolder,itwilllooklikethe
following(pleasenotethattheitalictextisonlysampledata)
#### 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
SUM for SAP HANA setup
Posted by Man-Ted Chan in Man-Ted Chan's Blog on 17-Jun-2013 20:52:45
Share 1Like
8/13/2014 SUM for SAP HANA setup | SCN
http://scn.sap.com/people/man-ted.chan/blog/2013/06/17/sum-for-sap-hana-setup 2/9
# 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=
Oncesetruntheinstall.shscript
Toverifyifthescriptwentokchecktoseeifthefollowingfoldersexist
<HANA_DIR>/SUM
<HANA_DIR>/lm_structure
How do I start SUM for SAP HANA?SoonceyouhaveSUMforSAPHANAsetupproperlyyourSAPHANAstudiowillalwaystrytoconnectorstartSUM.Tostart
SUMforSAPHANAyouneedtoenterinyourkeystorepassword(thiskeystorewassetduringtheinstallationofSUMfor
SAPHANA)
Ifitisrunningthescreenwilllooklikethis
BydefaultthekeystorepasswordhastobeenteredineachtimebeforestartingSUM/LCM,optionallyakeystorefilecanbe
used.(AkeystorefileshouldonlybeusedifthesecurityonthefilesystemthathasSUMforSAPHANAinstalledcanbe
trusted).TostartSUMforSAPHANAexecute./sum.sh,itshouldlooklikethefollowing:
Ifyouaregoingtouseakeystorefilepleasereadthebelowfromdocumentation:
1. Createatextfileandnameitcatalina.properties.
2. Storethepasswordinthere,usingthecontent:keystore.password=******(where******isthekeystorepassword).
3. Savethefileindirectory<SUM_DIR>/config.(Makesurethatthisfileisreadableonlyby<SID>admuser)
So How Do I Use SUM for SAP HANA/Lifecycle Manager(LCM)?Firstthingsfirst,howarewegoingtoconnecttheServiceMarketplace?
ThisportionisundertheassumptionyouhavealreadydownloadedandconfiguredSUMforSAPHANAanditisnow
running
BeforeloadingtheLCMwewillneedtosetuphowwewillgetcheckingforupdates,pleasedothefollowingbeforeloading
theLCM
InsideHANAStudioselectWindow->Preferences
8/13/2014 SUM for SAP HANA setup | SCN
http://scn.sap.com/people/man-ted.chan/blog/2013/06/17/sum-for-sap-hana-setup 3/9
Inthe‘Preferences’Windowyoucanselecteitherstack.xml(yougetthisfromtheSoftwareDownloadCenterfromthe
SMP)oryoucanenterinyourSMPinformation.
InmyexampleIwillbeusingtheSMP,select"UseSMPconfiguration"andenterinyourS-userIDthatyouwoulduseto
downloadfilesfromtheSMP.
NowthattheSMPinformationissetupLifecycleManagementcanconnecttotheServiceMarketPlace.(Pleasenote,make
surethatSUMforSAPHANAisalreadyrunningoryouhavesetupyourkeystore,refertothe'HowdoIstartSUMforSAP
HANA?'section)
RightclickonyourSystemandselect“LifecycleManagement”andthestudiowilleithertrytostartorconnecttotheSUM
forSAPHANAservice.
8/13/2014 SUM for SAP HANA setup | SCN
http://scn.sap.com/people/man-ted.chan/blog/2013/06/17/sum-for-sap-hana-setup 4/9
DuringtheinitialloadtheLCMwillchecktoseeifthereisanewrevisionofSUMforSAPHANAavailable,ifthereisno
updateloginusingthesapadmuser:
OnceintheLCMitshouldlooklikethis:
Asyoucanseefromtheabovetherearevariousoptionsforusers,hereisaquickexplanationofeachoption:
ApplySupportPackageStack–ThiswillupdatealltheSAPproductsthataredeployedonthissystem.
ApplySingleSupportPackages–ThisoptionallowsuserstoselectwhichspecificSAPproductandtowhichversion
(availableontheSMP)theywouldliketoupdate
DeploymentofHANAContent–UpdatesfromaDVDziponthelocalfilesystem
8/13/2014 SUM for SAP HANA setup | SCN
http://scn.sap.com/people/man-ted.chan/blog/2013/06/17/sum-for-sap-hana-setup 5/9
SAPServiceMarketPlace–ThisstatesthatSUMforSAPHANAwillconnecttotheSMPtodownloadthepatchupdate.After
thefileisdownloadedthefilewillgetunarchivedandwillinstall.
DownloadedcontentonHANAsystem–IftheSARfileisalreadydownloadedandonthesystemyouwouldselectthis
optionandpointtowherethefileis.Afterclickingnextitwillun-archiveandinstallthepatch.
Afterclickingnext,LCMwillcheckforupdates
Oncethat’sdoneyoushouldseethewhatnewupdatesareavailableforyourSAPHANAsystem.Iftherearenonew
updatesyouwillseeunder“Targetversion”youwillsee“notavailable”
Ifthereareupdatesyoucannowselectifyouwouldlikeyoursoftware
Andyoucanpickandchoosewhichproductsyouwouldlikeupdate,inthiscaseweonlywantedtoupgradeourSAPHANA
databaseserver:
8/13/2014 SUM for SAP HANA setup | SCN
http://scn.sap.com/people/man-ted.chan/blog/2013/06/17/sum-for-sap-hana-setup 6/9
Afteryouclick'Download'aprogressbarofthedownloadwillappear
Oncethesoftwareisdownloadeditwillextractandinstalltheproduct,ifitissuccessfulthefollowingscreenwillappear:
SUMthing has failed me!InthissectionIwilldiscusssomeerrorsyoucouldencounterwithSUMforSAPHANA
ThefirsterrorsthatmayoccuriswhentryingtoloadtheLCM
ThiserrorindicatesthattheSUMforSAPHANAserviceisnotrunning,toresolvethisyoucansetupakeystorefileorlogin
toyoursystemandstartSUMforSAPHANA
8/13/2014 SUM for SAP HANA setup | SCN
http://scn.sap.com/people/man-ted.chan/blog/2013/06/17/sum-for-sap-hana-setup 7/9
Ifakeystorefileissetandthefollowingerroroccurs:
Thismeansthepassworddefinedinyourkeystorefileisincorrect.
Afterlogginginandyoutrytocheckforanupdateyoumightseethis
ChecktheLCMsettingsunderWindows->Preferences,thereiseitheranerrorwiththeloginorproxysettings.
8/13/2014 SUM for SAP HANA setup | SCN
http://scn.sap.com/people/man-ted.chan/blog/2013/06/17/sum-for-sap-hana-setup 8/9
Average User Rating
(1 rating)
My Rating:
0 Tweet 9
Afterthefiledownloadssuccessfullyyourunintoanerrorduringtheinstallationprocess.Soasyoucanseethiserrorpage
reallytellsusnothing,fortunatelythere’salinktotheerrorlogonthepage.Ifyoumadeitthisfartheerroriseitherdueto
SAPCARnotbeingabletounarchivethefileoranerroroccurredduringtheexecutionoftheinstallationscript.To
determinetheerrorpleasecheckthelogslocatedinthefollowingdirectory<SUM_DIR>/log
Ifyoucan’tunderstandthelogspleaseopenasupportticketwithSAP,viaservice.sap.com,withthelogsattached.
2758 View s Tags: sap, sum, hana_smp_
Share 1Like
5 Comments
Like (0)
Andy Silvey 18-Jun-2013 08:28
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.
Like (1)
Man-Ted Chan 18-Jun-2013 21:42 (in response to Andy Silvey)
Hi Andy, Thaks for the comment, that note is referenced under the "There's no SUM folder" section Thanks again, Man-Ted
Like (0)
Andy Silvey 19-Jun-2013 08:23 (in response to Man-Ted Chan)
Hi Man-Ted, thanks and sorry missed that :-) Good job. Andy.
Like (0)
Jeff Han 25-Jun-2013 20:36
Excellent document! In my case, i found if the system has AFL library installed. The SUM upgrade will fail and give errorlike this:Software feature for component with name HANA_AFL and vendor sap.com was not found in list withinstalled features
Like (0)
Man-Ted Chan 25-Jun-2013 21:49 (in response to Jeff Han)
Hi Jeff, I think AFL was not installed using the HANA On-Site configuration tool. Please review myother blog post on the HANA On-Site Configuration tool
8/13/2014 SUM for SAP HANA setup | SCN
http://scn.sap.com/people/man-ted.chan/blog/2013/06/17/sum-for-sap-hana-setup 9/9
Follow SCNSite Index Contact Us SAP Help Portal
Privacy Terms of Use Legal Disclosure Copyright