Home > Workload Solutions > SAP > White Papers > SAP HANA Operating System Upgrade > Prerequisites
Before you perform an upgrade, it is recommended that you create a backup of the SAP HANA database and the operating system.
The procedure varies depending on your setup. To stop the database on a scale-out system:
sapcontrol –nr <InstanceId> -function StopSystem HDB 1000 500
If the OCFS2 is not defined as a cluster resource, follow these steps:
umount –a –t ocfs2
The output of the command grep ocfs2 /proc/mounts must be empty. If it is not, identify the process that is blocking the unmount by running the following command:
lsof /hana/shared
Kill that process and repeat step 3.
/etc/init.d/openais stop
Before you perform an upgrade, it is recommended that you place the cluster into maintenance mode or shut it down.
You can place the cluster into maintenance mode by running the following command:
crm configure property maintenance-mode=true
You can disable the mode later by running the following command:
crm configure property maintenance-mode=false
You can disable the cluster service before an upgrade by running the following command:
chkconfig openais off
After a successful update, you can enable the cluster by running the following command:
chkconfig openais on
After you perform an upgrade, verify that all recommended operating system settings have been implemented.
If an SAP HANA Hardware Configuration Check Tool (HWCCT) is used for validation, ensure that you download the latest patches from SAP Note 2161344: HWCCT patch note.