Product specifications
● Create mount points
# mkdir -p /hana/{shared,data,log}
# mkdir -p /usr/sap
● On these Logical Volumes, create four file systems based on xfs. For more information about creating and
tuning XFS file systems, have a look at the manpage of the mkfs.xfs executable.
○ XFS is a good file system for large files or for extremely small files.
One disadvantage is the the lack of tuning support once you have created the file system. This means
that you have to tune the file system while creating it. The only way you can tune it subsequently is by
creating it all over again.
In the example below, the file system resides at a RAID 5 Array with 3 disks, a file system block size of
4 KB and a chunk size of 64 KB.
# mkfs -t xfs -b size=4096-d su=64k,sw=2 /dev/vg00/lv_hana_shared
# mkfs -t xfs -b size=4096-d su=64k,sw=2 /dev/vg00/lv_hana_data
# mkfs -t xfs -b size=4096-d su=64k,sw=2 /dev/vg00/lv_hana_log
# mkfs -t xfs -b size=4096-d su=64k,sw=2 /dev/vg00/lv_usr_sap
○ To find out how to achieve optimum performance of the XFS file system, see
https://access.redhat.com/labs/fslayoutcalculator
● Write the mount directives to /etc/fstab
# echo “/dev/vg00/lv_hana_shared /hana/shared xfs defaults 1 3”\
>> /etc/fstab
# echo “/dev/vg00/lv_hana_data /hana/data xfs defaults 1 4”\
>> /etc/fstab
# echo “/dev/vg00/lv_hana_log /hana/log xfs defaults 1 5”\
>> /etc/fstab
# echo “/dev/vg00/lv_usr_sap /usr/sap xfs defaults 1 6”\
>> /etc/fstab
● Check if xfs file systems from /etc/fstab can be mounted
# mount -avt xfs
● Install dependencies in accordance with the SAP HANA Server Installation and Update Guide and the
numactl package if the benchmark HWCCT is to be used
# yum install gtk2 libicu xulrunner ntp sudo tcsh libssh2 \
expect cairo graphviz iptraf krb5-workstation krb5-libs.i686 \
nfs-utils lm_sensors rsyslog compat-sap-c++ openssl098e openssl \
PackageKit-gtk-module libcanberra-gtk2 libtool-ltdl xauth \
compat-libstdc++-33 numactl
● Install the SAP Java Virtual Machine
○ Download it from SAP Service Marketplace.
○ As an alternative, you can use IcedTea.
# yum -y install icedtea-web
● Disable SELinux in /etc/sysconfig/selinux
# sed -i 's/^SELINUX=enforcing/SELINUX=disabled/g' /etc/sysconfig/selinux
# sed -i 's/^SELINUX=permissive/SELINUX=disabled/g' /etc/sysconfig/selinux
● If kdump should be disabled, switch it off
# service kdump stop
Red Hat Enterprise Linux (RHEL) 6.5 Configuration Guide for SAP HANA
Install SAP HANA Manually on RHEL for SAP HANA
P U B L I C
© 2015 SAP SE or an SAP affiliate company. All rights reserved.
7