Archive for August, 2016

SAP on Red Hat Linux - RHEL-7.x

Thursday, August 11th, 2016

All runs well, but one of the expected change is - Stop living in the past.

Upgrading to the latest version of Operating System with out hindering the running applications and databases.
Here in my case, this is from RHEL-6.x to RHEL-7.x - The plan and actions are chalking out. That could be another travel blog from Santiago to Maipo.

Now, that I have to build the SAP Fiori landscape I have proposed having it on RHEL-7.
Word of caution from OS Team: Hey Vipin, this is the first system in our datacenter to go with RHEL-7.

There is always a first time. The latest SAP application server - NetWeaver-7.50 is also the first one on our landscape.


- This document is for a “NEW” installation of RHEL-7.x for SAP with Oracle-12c.
- The information here is not applicable for upgrading any lower version of RHEL to RHEL-7.x.


Install RHEL-7.x


1. Check the below Software group from Software Selection:

A. Infrastructure Server

- Large Systems Performance
- Network File System Client
- Performance Tools
- Compatibiliy Libraries

2. Additional Packages:

- uuidd
- compat-libcap1
- zip and unzip
- tcsh
- libaio-devel.x86_64
- glibc-devel.x86_64
- ksh
- gcc.x86_64
- gcc-c++.x86_64
- libstdc++-devel.x86_64
- compat-libstdc++-33.x86_64

3. Apply latest patches provided by Red Hat for all RHEL 7 packages installed on the system - yum it up!

4. Filesystem : XFS

5. Apart from the standard filesystems please create below: (SID is the SAP ID for this build, varies with different SAP install)

/oracle 2GB
/oracle/client 2GB
/oracle/stage/121_64 10GB
/oracle/SID 10GB
/oracle/SID/12102 15GB
/oracle/SID/origlogA 2GB
/oracle/SID/origlogB 2GB
/oracle/SID/mirrlogA 2GB
/oracle/SID/mirrlogB 2GB
/oracle/SID/oraarch 15GB
/oracle/SID/sapreorg 10GB
/oracle/SID/sapdata1 50GB
/oracle/SID/sapdata2 50GB
/oracle/SID/sapdata3 50GB
/oracle/SID/sapdata4 50GB
/usr/sap 10GB
/usr/sap/SID 40GB
/usr/sap/trans 20GB
/sapmnt 5GB
/sapmnt/SID 12GB
/saptmp 10GB




1. Create a file /etc/sysctl.d/sap.conf

#SAP Settings
kernel.sem=1250 256000 100 1024
net.ipv4.ip_local_port_range = 9000 65535

2. Create the file /etc/security/limits.d/99-sap.conf

#SAP Settings
@sapsys hard nofile 65536
@sapsys soft nofile 65536
@sapsys hard nproc 16384
@sapsys soft nproc 2047
@sapsys soft stack 10240
@dba hard nofile 65536
@dba soft nofile 65536
@dba hard nproc 16384
@dba soft nproc 2047
@dba soft stack 10240
@dba soft memlock unlimited
@dba hard memlock unlimited

3. SELinux to “Permissive”

4. Stop and disable Firewall until further firewall policy/rule in place.