17.07.2023 Views

SUSE_Linux_Enterprise_Server_15_x_for_SAP_Applications_Configuration_Guide_for_SAP_HANA_en

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.9 Create Mount Points

In order to use our logical volumes (independently if they were created based on internal disks or on multipath

devices), we must create mount points within the root file system.

Create the mount points:

# mkdir -p /hana/{shared,data,log}

# mkdir -p /usr/sap

The next step varies depending on your SAP HANA deployment. For a scale-up system, the file systems can be

mounted during the system boot. Edit /etc/fstab to add the mount commands or append it from the

command line to the file.

echo “/dev/system/lv_usr_sap /usr/sap xfs defaults 1 2” >> /etc/fstab

echo “/dev/system/lv_hana_shared /hana/shared xfs defaults 1 2”>> /etc/fstab

echo “/dev/vg00/lv_hana_data /hana/data xfs defaults 1 2” >> /etc/fstab

echo “/dev/vg01/lv_hana_log /hana/log xfs defaults 1 2” >> /etc/fstab

For the multipath example, adapt the names. It is mandatory to use unique and persistent identifier such as

aliases for UUIDs or the UUIDs themselves. The dm-x identifiers can change based on adding new disks,

changing paths etc.

Mount all file systems from /etc/fstab unless SAP HANA Auto Host Failover is implemented. For details see

SAP HANA Host Auto-Failover .

Mount all file systems from /etc/fstab :

# mount -av

3.10 Tweak the Default System Settings for SAP HANA

SAP HANA needs some special configuration settings in order to use all the performance the hardware offers.

The SUSE default configuration settings are not set for an SAP HANA workload, therefore you must adapt

some of the settings.

Starting with SLES4SAP12 SP2 we added the tool saptune. Check the referenced SAP Note for all last

updated settings. About the details how to use saptune check SAP Note 1275776 - Linux: Preparing SLES for

SAP environments .

To tune a system, first find a tuning profile using saptune as shown:

# saptune solution list

saptune knows the following profiles:

SAP BusinessObjects Profile for servers hosting an SAP SAP BusinessObjects application.

SAP HANA Profile for servers hosting an SAP HANA database.

SUSE Linux Enterprise Server 15.x for SAP Applications Configuration Guide for SAP HANA

Sample Installation of SLES 15 for SAP Applications P U B L I C 45

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!