Jump to contentJump to page navigation: previous page [access key p]/next page [access key n]
Applies to SUSE Linux Enterprise Server for SAP Applications 15 SP1

5 Upgrading an SAP HANA Cluster Edit source

This chapter describes how to upgrade your SAP HANA cluster with the YaST module SUSE HANA Cluster Update. This acts as a wizard and guides you through the entire SAP HANA cluster maintenance procedures.

The official SAP HANA documentation describes the so-called Near Zero Downtime Upgrade Process. The YaST module is based on this process and handles the part of the procedure related to the SUSE cluster. Not all steps can be done automatically. Some steps need to be performed manually by the SAP HANA administrator. The YaST module will inform you during the process.

This YaST module is available in the yast2-sap-ha package for SUSE Linux Enterprise Server for SAP Applications 12 SP3 and higher. Currently, the wizard is only prepared to handle the SAP HANA Scale-up Performance Optimized scenario.

The upgrade covers the following tasks:

5.1 Preparing the Upgrade Edit source

  1. Install the yast2-hana-update package on both nodes:

    root # zypper install yast2-hana-update

    After the installation, you can find the module SUSE HANA Cluster Update in the YaST Control Center.

  2. On the secondary node, start the YaST Control Center and open the SUSE HANA Cluster Update module.

  3. In the YaST module, review the pre-requirements. Make sure to fullfill all of them before continuing with the next step. Keep in mind, the wizards supports only the HANA Scale-up Performance Optimized scenario.

  4. To upgrade the SAP HANA system, select the secondary node.

  5. Select the location of the installation medium.

    Point to the location where the SAP medium is located. If wanted, check the Mount an update medium on all hosts and provide the NFS share and path.

    Important
    Important: Differences between SAP HANA Version 1.0 and 2.0

    If you are upgrading from SAP HANA version 1.0 to version 2.0, make sure to check This is a HANA 1.0 to HANA 2.0 upgrade.

    The YaST module will copy the PKI SSFS keys from the former secondary node to the former primary node. More information provides the Help button.

Continue with Section 5.2, “Upgrading your SAP HANA Cluster”.

5.2 Upgrading your SAP HANA Cluster Edit source

  1. Review the update plan generated by the wizard.

    The wizard shows you two steps: automatic and manual. In this automatic step, the wizard puts cluster resources into maintenance mode before it starts with the automatic steps. The manual steps are SAP HANA specific and need to be executed by an SAP HANA administrator. For more information, see the official SAP HANA documentation.

  2. Update the SAP HANA software.

    The wizard executes the automatic actions and waits until the SAP HANA administrator performs the SAP HANA upgrade.

  3. Perform the SAP HANA upgrade.

  4. Review the plan for the primary (remote) node.

    After the SAP HANA upgrade is done, the wizard shows the update plan. When you continue with this step, the wizard turns the primary node into a secondary node to make it ready for the upgrade.

    Keep in mind, this step can take some time.

Continue with Section 5.3, “Finishing the Upgrade Task”.

5.3 Finishing the Upgrade Task Edit source

  1. Update the former primary node.

    Pay special attention for the --hdbupd_server_nostart option on this step.

  2. Restore the previous state of the cluster.

    By default, the wizard registers the formater master now as secondary on the SAP HANA system replication. If you desire to revert the system replication to its original state, click the Reverse button.

  3. Review the update summary.

    You can review the original and current SAP HANA versions and the cluster state.

    Note
    Note: Dealing with Intermediate Cluster State

    If the wizard is faster than the status update of the cluster resources, the summary shows an intermediate cluster state. The cluster state is UNDEFINIED or DEMOTED.

    To overcome this, check the cluster status again with the command SAPHanaSR-showAttr and make sure the former secondary node is now in the state PROMOTED.

Refer to the SUSE blog post https://www.suse.com/c/how-to-upgrade-your-suse-sap-hana-cluster-in-an-easy-way/ for further information.

Print this page