You are on page 1of 18

My first HANA upgrade - view on the basis

side + Step by Step


Introduction:
After I finish my first HANA upgrade
important note's, errors and solution.

I want to share with you the upgrade documents, Prerequisites,

Upgrade duration was 20 minutes amazing!!!


I had during the upgrade errors for more information, please check at the end of the blog.

SAP HANA SPS08 What's new?


The technical side: SAP documents, SCN blogs
http://www.saphana.com/community/blogs/blog/2014/05/28/what-s-new-in-sap-hana-sps-08
http://help.sap.com/saphelp_hanaplatform/helpdata/en/81/faed74b8894160917dd43372618a37/
content.htm?frameset=/en/81/faed74b8894160917dd43372618a37/frameset.htm&current_toc=/
en/6f/22be4fb8c24038bcaf02f91d75b2a1/plain.htm&node_id=3
https://www.youtube.com/playlist?list=PLkzo92owKnVwQAKI4s23cOi-gU4qI4YkZ
http://www.saphana.com/docs/DOC-4685
My point of view:
In my company we used the HANA server to COPA. the SAP CO-PA Accelerator, powered by SAP
HANA, empowers organizations with easy access to data to make timely decisions.
https://www.youtube.com/watch?v=ZuT16HWAgrM
http://www.sap.com/pc/tech/in-memory-computing-hana/software/profitability-analysis/index.html
Before upgrading the HANA DB from SPS06 to SPS08 we have a lot of memory and CPU consuming, the total
memory available on the host is used, CPU resource are running low,
And more important problem we did not expect them.
For you can feel it, I I'll put some pictures here:

Generated by Jive on 2015-01-19+01:00


1

My first HANA upgrade - view on the basis side + Step by Step

Picture 0.1 DBACOCKPIT administration

Picture 0.2 Alerts from DBACOCKPIT

Generated by Jive on 2015-01-19+01:00


2

My first HANA upgrade - view on the basis side + Step by Step

Picture 0.3 HANA studio administration


After the upgrade like a magic the CPU and memory consuming are decreased, and the system works so fast!!

Tasks you need to take care before you start the upgrade
Before I start the upgrade I had to upgrade GCC 4.7 (2001528) and to Run script keepTransaction.py
(1919033) and script MERGE_ALL_TABLES (1919034) see details in Prerequisites and planning.
SAP information:
When to upgrade your SAP HANA system?
SAP HANA Revision Strategy
Please check "SAP Note 1948334: SAP HANA Database Update Paths for Maintenance Revisions" for the
possible update paths from Maintenance Revisions to SPS Revisions.

SAP Guide:
http://help.sap.com/hana/SAP_HANA_Master_Update_Guide_en.pdf
http://help.sap.com/hana/SAP_HANA_Server_Installation_Guide_en.pdf

Generated by Jive on 2015-01-19+01:00


3

My first HANA upgrade - view on the basis side + Step by Step

SAP Note's:

1514967 - SAP HANA: Central Note


2004651 - SAP HANA Platform SPS 08 Release Note
1523337 - SAP HANA Database: Central Note
2000003 - FAQ: SAP HANA
1944799 - SAP HANA Guidelines for SLES Operating System
2009879 - SAP HANA Guidelines for RedHat Enterprise Linux (RHEL)
2001528 - Linux: SAP HANA Database SPS 08 revision 80 (or higher) on RHEL 6 or SLES 11
1918267 - SAP HANA DB: corrupt deltalog of column store table
2052914 - ODBC driver issue after upgrade to Revision >= 82
1995791 - HLM: Updating SAP HANA Troubleshooting

Source release:
SPS 06 Rev 64
Target release:
SPS 08 Rev 84
Prerequisites and planning:
If you upgrade from a lower SAP HANA SPS, it is recommended to update ALL other components
(Studio, Modeler, DB Clients, DBSL, SLT, DS, ...) to at least the minimal version of SAP HANA SPS
08.
In order to run the SAP HANA Database Revision 80 (or higher) on SLES 11, additional operating
system software packages are requiredTherefore you need to install an additional runtime
environment for GCC 4.7 Before you start the upgrade or the installation of Revision 80 or higher,
please check out SAP Note 2001528.
If you upgrade from a Revision prior to SPS6, first upgrade your system to the latest SPS6 Revision
(69.07) before upgrading to Revision 82.00. (X)
Please make sure to read note 2052914 (ODBC driver issue after upgrade to Revision >= 82) before
doing the upgrade
Before you start the upgrade from Revision 64, 65 and 66, please check out
SAP HotNews Note 1918267. (1919034 - Related to 1918267: How to run procedure
MERGE_ALL_TABLES) Please check details below

Before starting the update for the components in your SAP HANA landscape several prerequisites have to be
fulfilled.
Make sure you fulfill the following prerequisites: from SAP_HANA_Server_Installation_Guide_en.pdf
If you are performing an offline update, you have all the necessary installation files for the individual
components.
You have a valid, permanent SAP license for the SAP HANA database.
You have user names and passwords for the following users:
<sid>adm user
sapadm user
S-user for the SAP Service Marketplace (SMP)

Generated by Jive on 2015-01-19+01:00


4

My first HANA upgrade - view on the basis side + Step by Step


You have carefully read the update instructions for the individual components
You have made the necessary preparations to perform backups for the SAP HANA database and the
other components.

Notes: 1918267, 1919034 (Very important)


Run script keepTransaction.py note number 1919033
Run MERGE_ALL_TABLES Note number 1919034

Perform an Update on the SAP HANA System


The SAP HANA lifecycle management tool hdblcm(gui) is the recommended tool to update an SAP HANA
system. With the SAP HANA lifecycle management tool hdblcm(gui) you perform the update from the local
host.
To update an SAP HANA system from a remote host you use the SAP HANA lifecycle manager (HLM).

Update Process: from SAP_HANA_Server_Installation_Guide_en.pdf


Before updating the SAP HANA components, make sure that no read or write processes are running on the
SAP HANA database. Perform the update process in offline mode during a business downtime. After the
update, you have to start SAP HANA and its components again.
This is a general sequence of the steps you have to perform:
1. Stop all processes.
2. Make a system backup if necessary.
3. Perform an update.
4. Update the depending components.
5. Perform the post-update steps.
6. Restart all processes.

Upgrade Procedure:
SAP HANA Lifecycle manager

Generated by Jive on 2015-01-19+01:00


5

My first HANA upgrade - view on the basis side + Step by Step

1. Download Software component from lifecycle management remember you need S-user and download
the relevant stack

Picture 1.0

Generated by Jive on 2015-01-19+01:00


6

My first HANA upgrade - view on the basis side + Step by Step

Picture 1.1
2. Press Run to Start the installation

Picture 1.2
You can see the installation successful - Picture 1.2

Picture 1.3

Generated by Jive on 2015-01-19+01:00


7

My first HANA upgrade - view on the basis side + Step by Step

Upgrade duration was 20 minutes!!!

Post-Update Steps
After an upgrade to a new SAP HANA SPS it is recommended to redeploy the calculation views. For more
information, see SAP Note 1962472 - Redeployment of calculation views recommended when upgrading to a
new SPS.
Stop the script keepTransaction.py note number 1919033

Upgrade HANA Studio on the Linux

Picture 2.0 After the upgrade we have the messages: update the HANA studio.
Unpack with SAPCAR the studio IMC_STUDIO100_84_0-10009662.SAR
Run the command: ./hdbinst -a studio --copy_repository=<target_repository_path> - Picture 2.1

Generated by Jive on 2015-01-19+01:00


8

My first HANA upgrade - view on the basis side + Step by Step

Picture 2.1

Picture 2.2
Log:

Generated by Jive on 2015-01-19+01:00


9

My first HANA upgrade - view on the basis side + Step by Step

Picture 2.3
In case you want to see the log, please go to the path in Picture 2.2

Update studio Procedure:


Upgrade from Studio Help Install New software cause error, please check the error at the end
of the blog for more information.

Picture 3.0

Generated by Jive on 2015-01-19+01:00


10

My first HANA upgrade - view on the basis side + Step by Step

Picture 3.1
After Picture 3.1 I get an error, please check the information at the end of the blog
Upgrade from Studio Help Check for update

Generated by Jive on 2015-01-19+01:00


11

My first HANA upgrade - view on the basis side + Step by Step

Picture 3.2
After I press on check for update you can see the target studio release and press Next

Generated by Jive on 2015-01-19+01:00


12

My first HANA upgrade - view on the basis side + Step by Step

Picture 3.3
Here you can see the available updates Press next

Generated by Jive on 2015-01-19+01:00


13

My first HANA upgrade - view on the basis side + Step by Step

Picture 3.4
Accept the terms and press finish

Generated by Jive on 2015-01-19+01:00


14

My first HANA upgrade - view on the basis side + Step by Step

Picture 3.5
In Picture 3.5 you can see the update is in process

Picture 3.7

Restart the HANA studio.

Generated by Jive on 2015-01-19+01:00


15

My first HANA upgrade - view on the basis side + Step by Step

Picture 3.8

The HANA studio is updated

Errors and solution:


Upgrade Error:

Generated by Jive on 2015-01-19+01:00


16

My first HANA upgrade - view on the basis side + Step by Step

Picture 4.0
You can see the error I get when I start the upgrade. (Picture 4.0)
Please follow the following item from note #1995791:
Validity: there was a file /usr/sap/HAN.hdbupgrade dated last year
Which was used when the database was upgraded to REL 60. It appears
that the previous upgrade was still in a "hung" state which causes the
error message below (SAP HANA Database installation kit
'1.00.60.379371' required)
during the manual update as well as using HLM.
Solution: the solution is to mv the file to HAN.hdbupgrade.old and
resume the update. Once resumed a new file HAN.hdbupgrade with recent
date will be generated.
Update Studio Error:

Generated by Jive on 2015-01-19+01:00


17

My first HANA upgrade - view on the basis side + Step by Step

Picture 5.0
Error when I try to update the studio from: Help Install New software Picture 5.0
Solution in Note number - 2026732 - Can't update SAP HANA Studio via Update Site
Cause:
If the differences between studio revisions is great, the Eclipse installer cannot resolve the differences in
package dependencies.
Solution:
Users will need to manually upgrade the SAP HANA Studio

I hope this guide will help you to start thinking about upgrading your HANA Server - good luck

Thanks you for reading my document.


Naor

Generated by Jive on 2015-01-19+01:00


18

You might also like