Sunday, 13 March 2016

Install SAP ERP 6 Ehp 5 with DB2 10.5 on SLES 12 using btrfs

For this trial, I am trying to install SAP ERP 6 Ehp 5 using IBM DB2 10.5 FP 4. For the OS, I am using SuSE Linux Enterprise Server 12 (the latest one) using btrfs as file system. Usually, I used ext3 for the file system.
This installation is running well and smoothly but it takes long enough when “Import ABAP” step.
After installation is finished, I am trying to access the server using SAPGUI. But I got some error like this “os release linux 3.12.28-4-default #1 smp thu sep 25 17:02:34 utc 2014 (9879bd4) x86_64 is not supported with this kernel (720)”. I know that this error is because I use SLES 12 and this OS is using the latest production release kernel.
I tried to update SAP kernel to 415 level for this error and this was succeeded. I haven’t found this error again.
But I have found a new error. The error message is “UUID daemon (uuidd) not found. Please check SAP note 1391070”
The problem was about uuidd. On this SAP note, I have found a little script to check_libuuidd. You can download from the SAP note.
sles12:~/sapinst # ./check-libuuid.sh
[ check-libuuid.sh Revision : #20 $ Date : 2014/09/26 $ ]
SLES 12 (SP 0) system
libuuid package: libuuid1-2.25-6.69.x86_64
uuidd package: uuidd-2.25-6.1.x86_64
WARNING: Unmatching version numbers of libuuid and uuid-runtime!
WARNING: This is probably caused by an incomplete system upgrade!
2.25 and 2.25 ;  6.1.x86_64 and 6.69.x86_64
uuidd is active.
uuidd is running permanently.
installed libuuid and uuidd are ok!
/usr/sbin/uuidd -t ok!
And now, I can login again to my SAP server without error again.

Exsort_not_enough_memory / Exsort_setvbuf_failed / System_no_task_storage shortdump on SAP ERP 6

Exsort not enough memory, exsort setvbuf failed, and system no task storage shortdump is happening on my production SAP ERP 6 server after we migrated my ERP to my new hardware. After searching on SAP service marketplace and observing my new server settings, I have found out the problem.

The problem is our technical consultant hadn’t setting user limit environment based on SAP Note 323816 – AIX : User limit settings. On that SAP Note, it was mentioned that we have to set <sid>adm user ulimit setting to unlimited on couple settings, just like this :
——–
In AIX, there are limits set on each user for the following:
  • cpu time per process
  • file size
  • data (heap) size per process
  • stack size per process
  • resident memory per process
  • core file size
  • number of open file descriptors
  • number of threads per process (from AIX 6.1 on)
  • processes per user (from AIX 6.1 on)
——–
This setting should be like this :
——–
Recommended settings:
cpu (time)=unlimited
fsize (file)=unlimited
data=unlimited
stack=unlimited
rss (memory)=unlimited
core (coredump)=2097151 (which means 1 GByte)
nofiles=32000
threads per process=unlimited
processes per user=unlimited
——–
To check the setting on SAP, you can user SAPGUI and transaction SA38/rsbdcos0 and running the command ‘ulimit –a’. You need run this transaction on each SAP Application Server you had.
You also need to restart your SAP instance to activate ulimit configuration.

No comments:

Post a Comment