“© 2020. SAP SE or an SAP affiliate company. All rights reserved.” “Used with permission of SAP SE”
at regular intervals to avoid errors and to keep your Database up to date
Prerequisites for HANA DB Upgrade.
You want install new revision on SAP HANA database. For example in EWA report you found “A critical SAP Note exists for your current SAP HANA revision”
Find correction on SAP Launchpad. For example if you want upgrade Rev037_1 to Rev037_3
Don’t forget about installed plugins. Check installed Plug-ins in Hana Studio or in DBACockpit transaction.
Download SAR archives with correct version from Launchpad too
NB: For HANA DB Rev037_3 ->LCAPPS plugin must be 037.03 version too
Let’s start update process in Dev landscape.
Extract files from SAR archives.
NB: Very important moment. Structure after extracting procedure must be separated
Stop SAP systems. ERS – ASCS (SCS) – Dialog Instance (-es)
NB: stopsap j2ee *for Java systems
stopsap R3 *for ABAP systems
Make backup for SYSTEMDB and ALL tenants
Stop HANA DB
NB: su <sidadm>
NB: Average time for HANA DB stopping: 5-20 minutes (this measure depends on the DB-size).
Now we are ready for upgrade
Run command from root privileges from folder with extacted HANA Revision files,
NB:For example OS-path may be:
NB: Installation process must be from SYSTEM (SAP HANA initial DB super user)
If you lock this user for security reasons ->
Unblock SYSTEM user for this task
Updating process (continious)
Check Hana NEW version after updating procedure.
NB: /usr/sap/<sid>/<sid><instance>/HDB version
HANA DB already started automaticaly at this point so time to start application server in reserve sequence
ERS – ASCS (SCS) – Dialog Instance(es).
NB: startsap j2ee *for Java systems
startsap R3 *for ABAP systems
Log-in in your SAP system to 000 client and check ouput of transaction SICK
NB:Result must be – no errors reported.
Repeat steps above for HANA DB in QAS system and after additional approvals in PROD landscape.
SAP BASIS Routine task with examples from real life was provided
Related Notes / Guides:
SAP HANA Administration Guide 2.0 SPS 03
SAP Note 1948334 – SAP HANA Database Update Paths for SAP HANA Maintenance Revisions
2378962 – SAP HANA 2.0 Revision and Maintenance Strategy