18
Generated by Jive on 2015-01-19+01:00 1 My first HANA upgrade - view on the basis side + Step by Step Introduction: After I finish my first HANA upgrade I want to share with you the upgrade documents, Prerequisites, important note's, errors and solution. 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:

Hana Upgrade Step by Step

Embed Size (px)

DESCRIPTION

hana_upgrade_step_by_step.pdf

Citation preview

  • Generated by Jive on 2015-01-19+01:001

    My first HANA upgrade - view on the basisside + Step by Step

    Introduction:

    After I finish my first HANA upgrade I want to share with you the upgrade documents, Prerequisites,important note's, errors and solution.

    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-08http://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=3https://www.youtube.com/playlist?list=PLkzo92owKnVwQAKI4s23cOi-gU4qI4YkZhttp://www.saphana.com/docs/DOC-4685My point of view:In my company we used the HANA server to COPA. the SAP CO-PA Accelerator, powered by SAPHANA, empowers organizations with easy access to data to make timely decisions.https://www.youtube.com/watch?v=ZuT16HWAgrMhttp://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 totalmemory 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:

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

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

    Picture 0.1 DBACOCKPIT administration

    Picture 0.2 Alerts from DBACOCKPIT

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

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

    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 thepossible update paths from Maintenance Revisions to SPS Revisions.

    SAP Guide:

    http://help.sap.com/hana/SAP_HANA_Master_Update_Guide_en.pdfhttp://help.sap.com/hana/SAP_HANA_Server_Installation_Guide_en.pdf

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

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

    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 SPS08.

    In order to run the SAP HANA Database Revision 80 (or higher) on SLES 11, additional operatingsystem software packages are requiredTherefore you need to install an additional runtimeenvironment 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) beforedoing the upgrade

    Before you start the upgrade from Revision 64, 65 and 66, please check outSAP HotNews Note 1918267. (1919034 - Related to 1918267: How to run procedureMERGE_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 individualcomponents.

    You have a valid, permanent SAP license for the SAP HANA database. You have user names and passwords for the following users: adm user sapadm user S-user for the SAP Service Marketplace (SMP)

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

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

    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 SystemThe SAP HANA lifecycle management tool hdblcm(gui) is the recommended tool to update an SAP HANAsystem. With the SAP HANA lifecycle management tool hdblcm(gui) you perform the update from the localhost.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 theSAP HANA database. Perform the update process in offline mode during a business downtime. After theupdate, 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

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

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

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

    Picture 1.0

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

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

    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

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

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

    Upgrade duration was 20 minutes!!!

    Post-Update StepsAfter an upgrade to a new SAP HANA SPS it is recommended to redeploy the calculation views. For moreinformation, see SAP Note 1962472 - Redeployment of calculation views recommended when upgrading to anew 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.SARRun the command: ./hdbinst -a studio --copy_repository= - Picture 2.1

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

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

    Picture 2.1

    Picture 2.2

    Log:

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

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

    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 endof the blog for more information.

    Picture 3.0

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

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

    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

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

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

    Picture 3.2

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

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

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

    Picture 3.3

    Here you can see the available updates Press next

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

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

    Picture 3.4

    Accept the terms and press finish

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

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

    Picture 3.5

    In Picture 3.5 you can see the update is in process

    Picture 3.7

    Restart the HANA studio.

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

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

    Picture 3.8

    The HANA studio is updated

    Errors and solution:Upgrade Error:

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

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

    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:

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

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

    Picture 5.0

    Error when I try to update the studio from: Help Install New software Picture 5.0Solution in Note number - 2026732 - Can't update SAP HANA Studio via Update SiteCause:If the differences between studio revisions is great, the Eclipse installer cannot resolve the differences inpackage 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