Page 1 of 1

Update HANA using SUM without a SMP connection

Posted: Sun Jan 13, 2013 9:19 pm
by Hay Bouten
Preparations

If security measures prevent your SAP HANA server to directly connect to the SAP Service MarketPlace you can perform a SUM for HANA revision update with locally stored patch files. The HANA administrator needs to download the patch files, including the stack.xml, from the SAP Service MarketPlace[/b].

Use the "Support Package Stack Download" or the "Comprised Software Component Versions" to download the patch files. The stack.xml file can be generated using the "Support Package Stack Download" wizard. This will generate you an stack.xml file with the currect revision level. Place the patches, including the stack.xml file in a for <sid>adm accessible directory (i.e./HANAPatch_rev47) on your SAP HANA server.

HANA Patchen
Start the SAP HANA Studio and select in the <SID> context menu "Lifecycle Management".
LocalUpdate001.jpg
LocalUpdate001.jpg (46.26 KiB) Viewed 15659 times
SUM is started automatically. If SUM display a pop-up telling you its running in secure mode, you can "fix" this by following the instruction in the topic "SUM can't start automatic due to secure mode"
LocalUpdate002.jpg
LocalUpdate002.jpg (19.97 KiB) Viewed 15659 times
If you haven't setup the certificates yet you will see this pop-up. Accept the certificate.
LocalUpdate003.jpg
LocalUpdate003.jpg (45.47 KiB) Viewed 15659 times
As an example we will perform the "Apply Single Support Packages (Advanced option)" option to apply a patch from the local filesystem. Select your patch directory using the "Browse" button.
LocalUpdate004.jpg
LocalUpdate004.jpg (32.16 KiB) Viewed 15657 times
Navigate to your patch directory and press the "OK" button.
LocalUpdate005.jpg
LocalUpdate005.jpg (33.7 KiB) Viewed 15657 times
In the Update window you now can press "Next" button.
LocalUpdate006.jpg
LocalUpdate006.jpg (32.29 KiB) Viewed 15657 times
The downloaded patch also contained a SUMforHANA patch, so SUM performs a "Self Update" first.
LocalUpdate007.jpg
LocalUpdate007.jpg (18.04 KiB) Viewed 15657 times
Restart SAP HANA Studio after the SUM patch has been installed. After the restart navigate to the "Lifecycle Management" and start it again. The "Lifecycle Management" wizard will continue at the location were it was stopped.
LocalUpdate007a.jpg
LocalUpdate007a.jpg (38.28 KiB) Viewed 15640 times
The sapadm password is required to patch the SAPHost agent, Specify the password of user sapadm[/b amd press "Next" to continue.
[attachment=7]LocalUpdate008.jpg[/attachment]

SUM detects the installed components and matches these to the patches in the patch directory.
[attachment=6]LocalUpdate009.jpg[/attachment]

The overview screen shows the current patch level and the available patch level. If the SUM proposal is correct press the "Update" button to continue.
[attachment=5]LocalUpdate010.jpg[/attachment]

If nesseary the SUM proposal can be changed. Click the the Target version column to change the proposal.
[attachment=4]LocalUpdate011.jpg[/attachment]

The SUM update is running. SAP HANA is being patched.
[attachment=3]LocalUpdate012.jpg[/attachment]

The patch summary screen shows that the patch is applied successful.
Attention: The SAP HANA Studio repository has been patched, but the SAP HANA Studio has to be patched manually (also on the HANA server).
[attachment=2]LocalUpdate013.jpg[/attachment]

To return to the SUM start screen press the Start Over button.
[attachment=1]LocalUpdate014.jpg[/attachment]

Re: Update HANA using SUM without a SMP connection

Posted: Sun Jul 07, 2013 8:39 am
by Hay Bouten
SUM for HANA has been replaced by SAP HANA Lifecycle Manager. More information can be found here.