9
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 Us Hi, Guest Search the Community Activity Communications Actions Brow se Man-Ted Chan's Blog 0 Tweet 9 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 SUM for SAP HANA setup Posted by Man-Ted Chan in Man-Ted Chan's Blog on 17-Jun-2013 20:52:45 Share 1 Like

Sum for Sap Hana Setup _ Scn

Embed Size (px)

DESCRIPTION

Sum for Sap Hana Setup _ Scn

Citation preview

Page 1: Sum for Sap Hana Setup _ Scn

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

Page 2: Sum for Sap Hana Setup _ Scn

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

Page 3: Sum for Sap Hana Setup _ Scn

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.

Page 4: Sum for Sap Hana Setup _ Scn

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

Page 5: Sum for Sap Hana Setup _ Scn

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:

Page 6: Sum for Sap Hana Setup _ Scn

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

Page 7: Sum for Sap Hana Setup _ Scn

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.

Page 8: Sum for Sap Hana Setup _ Scn

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