Archive for the ‘Linux’ Category

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.

End of Maintenance for Redhat Linux Distributions

Thursday, November 11th, 2010

Red Hat Enterprise Linux 6
General Availability : November 10, 2010
End of Production 1 : Q4 of 2014
End of Production 2 : Q4 2015
End of Production 3 : November 30, 2017 [End of Regular Life Cycle]
End of Extended Life Cycle : November 30, 2020

Red Hat Enterprise Linux 5
General Availability : March 15, 2007
End of Production 1 : Q4 2011
End of Production 2 : Q4 2012
End of Production 3 : March 31, 2014 [End of Regular Life Cycle]
End of Extended Life Cycle : March 31, 2017

MaxDB : SAP Re-Installation

Monday, August 9th, 2010

Clean up the following File Systems or DIRs
> /etc/opt/sdb
> /usr/spool/sql
> /sapdb/*

This Time Of The Year

Sunday, August 8th, 2010

This time of the year, I dealt with a combination of Redhat Linux 5.5, MaxDB[7.7 and 7.8] and obviously SAP on top running on VMWare ESX 4.1 with IBMs hardware plus NetBackup-6.5.4.

ERP 6.4 / NW7.01
PI 711
Redhat Cluster Suite [RHCS]

Busy time, but I will try to share my experience with those terrific combination.

Red Hat Enterprise Linux 6 Beta Released

Thursday, April 22nd, 2010

Red Hat Enterprise Linux 6 enters Beta-1 today!. The next generation of the Red Hat Enterprise Linux platform.
If you are interested in trying the Beta, download available.

Red Hat Enterprise Linux 6 blurs the lines between virtual, physical, and cloud computing to address shifts taking place in the modern IT environment.

The following are some of the many improvements and new features that are included in Red Hat Enterprise Linux 6 Beta:

Power management: tickless kernel and improvements through the application stack to reduce wakeups, power consumption measurement by Powertop, Power Management (ASPM, ALPM), and adaptive system tuning by Tuned, all enhance more efficient system power usage.

Next generation networking: comprehensive IPv6 support (NFS 4, CIFS, mobile support [RFC 3775], ISATAP support), FCoE, iSCSI, and a new and improved mac 802.11 wireless stack.

Reliability, availability, and serviceability (RAS): system-level enhancements from industry collaborations make the most of hardware RAS capabilities and NUMA architectures.

Fine-grained control and management: improved scheduler and better resource management in the kernel via Completely Fair Scheduler (CFS) and Control Groups (CG).

Scalable filesystems: ext4 file system provides support for larger file sizes and significantly reduces repair times over ext3. XFS® is a high-performance file system that supports extremely large files and is optimized for large data transfers.

Virtualization: KVM includes performance improvements and new features, sVirt protects the guest and host from unauthorized access, SR-IOV and NPIV deliver high-performance virtual use of physical devices, and libvirt leverages kernel resource management functionality.

Enterprise security enhancement: SELinux includes improved ease of use, application sandboxing, and significantly increased coverage of system services, while SSSD provides unified access to identity and authentication services as well as caching for off-line use.

Development and runtime support: SystemTap improvements, ABRT is a new framework for simple collection and reporting of bug information, and improvements are made to GCC (version 4.4.3), glibc (version 2.11.1), and GDB (version 7.0.1).

View the full release notes in detail.

SAP Troubled Kernel Patch

Sunday, January 31st, 2010

Next time when the system starts sneezing or coughing with the following symptoms:
The dialog work process may crash sporadically when you reprint from the graphic display of a spool request from transaction SP01. The same problem may also occur for the raw display of a spool request. When you forward or download a spool request, a dump ASSIGN_TYPE_ILLEGAL_CAST occurs in the function RSPO_SPOOLDATA_WRITE.

Check for the following Kernel Patch level for the respective release:

SAP KERNEL 7.00 32-BIT SP239
SAP KERNEL 7.10 32-BIT SP184
SAP KERNEL 7.00 64-BIT SP239
SAP KERNEL 7.10 64-BIT SP184
SAP KERNEL 7.01 64-BIT SP077
SAP KERNEL 7.11 64-BIT SP071

Please do not apply the following kernel patches which have been created between 23.12.2009 and 14.01.2010:
6.40 315
7.00 237, 238
7.01 75, 76
7.10 183
7.11 69, 70

    The following fixed kernels are available:

6.40 Check OSS
7.00 239
7.01 77
7.10 183
7.11 71

Also check the following notes:
Note 1422843 - Wrong deletion date in spool request
Note 1425811 - Dialog work process crashes for spool display

SAP Standard Job Changes

Friday, December 12th, 2008

Certain jobs that were delivered as standard jobs in the past are no longer recommended by SAP.

1. The following job definitions are deleted:
(program RSM13002)

2. The following job definitions are changed:
(old: program RSBTCDEL, new: program RSBTCDEL2)
(Note: From a technical point of view, this is not a change, but rather the old job definition is deleted and a new job definition is created.)

3. The following job definition is new:

SAP on Linux

Monday, September 17th, 2007

I was at my Chennai office to conduct training and I called it as “SAP on Linux
I started by Thursday for two days training, to meet some of my counterparts and friends out there.

The class was packed with around 20 new joiners, who have just started to venture into SAP Basis. I started my session by keeping in mind: On the long run; if they have to make a choice between Windows and Linux/UNIX on SAP, there wouldn’t be a second thought to have the fun with Linux.

I picked up RedHat Linux for the demo session; since I had deployed FIVE SAP systems at my Bangalore office and they are running well on RedHat AS-4 and CentOS-5 [The number FIVE really matters for me]

I would like to paste the contents of some of the important slides:

    0.ENV_VARIABLE settings :

On Bash shell before you run ./sapinst as root

• JAVA_HOME=/opt/java1.4;
export JAVA_HOME
• SAPINST_JRE_HOME=/opt/java1.4/jre;
• PATH=$PATH:/opt/java1.4/bin;
export PATH
• PATH=$PATH:/opt/java1.4/jre/bin;
export PATH

    1. Aditional Package Information for RHEL-4

: rpm -ivh

• glibc-2.3.4-2.9.x86_64.rpm
• kernel-smp-2.6.9-42.EL.x86_64.rpm [The kernel patch is important]
• glibc-common-2.3.4-2.9.x86_64.rpm
• mkinitrd-
• IBMJava2-AMD64-142-SDK-1.4.2-7.0.x86_64.rpm [For Java]
• saplocales-2.3.4-3.x86_64.rpm
• libaio-0.3.103-3.x86_64.rpm‎ [To avoid Oracle: error while loading Libraries ]

    3. Important SAP Notes

• Red Hat Enterprise Linux 5: Installation and Upgrade (Note 1048303)
• Red Hat Enterprise Linux 3 and 4: Installation and upgrade (Note 722273)

I packed up on Sunday night after the fun with the same ‘ol feelings; Chennai, it’s still not a classic rock

Closely an year back at the same workplace: My first CRM installation on “ ONE ” server out of 30 other running SAP servers.
I proposed to do it on Linux, but it didn’t happened since the senior was comfortable with Windows-2003. I said to myself “My call is not too far but FAR and the count started from FIVE

    Current Music:- The temple of the king by Rainbow -

Xen: I am a para-virtualized one!

Thursday, September 6th, 2007

The party over and my virtual machine is ready for topping with SAP.

One point: I have done a kernel upgrade from 2.6.18-8 to 2.6.18-8.1.8 at the guest OS level; in fact the dom0 machine too.

Heck with, I wanna know what would happen if I use the normal kernel on my PV/guest_OS and I change the default kernel-2.6.18-8.1.8.el5xen to kernel-2.6.18-8.1.8.el5 :)

[fubar@blxvirtual ~]# xm reboot cenos5v

screwed! [Didn’t came up]

Later I have resolved the issue. All I have done

mount my image

[foobar@blxvirtual sagar]# lomount -diskimage /var/lib/xen/images/cenos5v.img -partition 1 /vipin

[foobar@blxvirtual sagar]# cd /vipin/grub/grub.conf

change default 1 to 0 :)

Happy Xenning around !!!

Xen, Let’s do it

Sunday, September 2nd, 2007

Its been another work-around and Xen is the opted card I chose to play.

Making a virtualized environment on CentOS-5 [final] linux distro and SAP on top of both.

Happy Xenning around!!!