Search This Blog

2012-07-25

SAP: ECC 6 EhP 5 Installation

Product: SAP Module: ERP/ECC 6.0 Enhance Package 5

This post is for beginner who need to know how to prepare and install SAP ECC 6.0 with EhP 5 in Oracle Linux environment, using NetWeaver 7.02, kernel 7.20

I am going to use "Distributed System" installation, which one server will be Oracle database, and another server will be SAP. The installation order will be

1. Global Host Preparation (in database server)
2. Database Instance (in database server)
3. Central Instance

If this is going to be simple active/passive cluster (not SAP High-Availability System seup), then step 1 install in both nodes, while the rest just need to ensure virtual hostname and shared mount points are mounted (recommend to mount all in node 1 during installation).

RedHat Kernel Setup
1. Hostname restriction
Hostname or virtual hostname MUST NOT exceed 13 characters Only contain alphanumeric and hyphen. Underscore is not accepted Either all lowercase (prefer) or uppercase. CANNOT mix case

2. RedHat package selection during install
Servers/Printing Support Base System/Base Base System/X Window System Development/Legacy Software Development Development Libraries Development Tools

3. Swap space
If less than 32 GB, then it is 2 times RAM. If more than 32 GB, then see note 1597355. Basically it says follow
upto 63 GB -- 64 GB swap upto 127 GB -- 96 GB upto 255 GB -- 128 GB upto 51 GB -- 160 GB upto 1023 GB -- 192 GB

4. RPM install
compat-openldap uuidd sysstat libXp java-1.4.2-ibm-sap-devel 64-bit
binutils-2.17.50.0.6 compat-libstdc++-33-3.2.3 compat-libstdc++-33-3.2.3 (32 bit) elfutils-libelf-0.125 elfutils-libelf-devel-0.125 gcc-4.1.2 gcc-c++-4.1.2 glibc-2.5-24 glibc-2.5-24 (32 bit) glibc-common-2.5 glibc-devel-2.5 glibc-devel-2.5 (32 bit) glibc-headers-2.5 ksh-20060214 libaio-0.3.106 libaio-0.3.106 (32 bit) libaio-devel-0.3.106 libaio-devel-0.3.106 (32 bit) libgcc-4.1.2 libgcc-4.1.2 (32 bit) libstdc++-4.1.2 libstdc++-4.1.2 (32 bit) libstdc++-devel 4.1.2 make-3.81 sysstat-7.0.2 libhugetlbfs

5. Verify command "hostname" and "hostname -s" return short hostname
6. Verify commnd "hostname -f" return full hostname with domain
7. Kernel configuration for server with 256 GB RA
kernel.shmmax 100 GB
kernel.shmall 256 GB - 1 byte
kernel.msgmni 1024
kernel.sem 1250 256000 100 1024
vm.max_map_count 1000000
semmsl 250 (minimum)
semmns 3200
semopm 100
semmni 128
shmmni 4096
fs.file-max 6815744
net.ipv4.ip_local_port_range 9000 65500
net.core.rmem_default 262144
net.core.rmem_max 4194304
net.core.wmem_default 262144
net.core.wmem_max 1048576
fs.aio-max-nr 1048576
vm.nr_hugepages 51200

8. /etc/security/limits.conf
@sapsys    hard    nofile    32800
@sapsys    soft    nofile    32800
@dba       hard    nofile    32800
@dba       soft    nofile    32800
@dba       soft memlock    102400
@dba       hard memlock    102400

9. Ensure command "locale -a" contain language "en_US"

10. Append following to /etc/services
sapdp00 = 3200/tcp
sapdp00s = 4700/tcp
sapgw00 = 3300/tcp
sapgw00s = 4800/tcp
sapms[SID] = 3600/tcp

SAP Media Download
You must have S-ID account and support from SAP to download (certainly authorization must be granted, or it will show empty browser after click download). SAP software is not free download like Oracle
There are 3 areas where to download the software

1. SAP NetWeaver kernel and Oracle 10g client (10.2.0.5)
2. SAP ECC 6 with Oracle 11g Rel 2 RDBMS (11.2.0.2)
3. Oracle patches
4. Patch R3load, R3szchk, R3ldctl

SAP does not group all the software under ECC 6 folder. It does not contain Oracle patch, nor NetWeaver kernel, so they have to download from other path

Reserves 30 GB of space to download all medias. Some are in ZIP, while some are in RAR format. Any media which is larger than 1,000 MB will be in multi part RAR file. Please note that the first RAR file is always in EXE extension, but it does not need to extract from Windows. This is because rarlab (the company who create rar utility) uncompress utility (called unrar) can skip through the Windows EXE binary header and uncompress the multi part files. This is not well documented in SAP

1. Media for SAP ECC 6 EhP 5
Navigation path http://service.sap.com/swdc SAP Software Download Center
- Installations and Upgrades
- My Company's Application Components
- My Company's Software
- SAP ERP
- SAP ERP ENHANCE PACKAGE
- EHP5 FOR SAP ERP 6.0
- Installation
- DB System based on
- ORACLE Database
- based on SAP NetWeaver 7.02
Media name and media ID
BS7i2010 Installation Master Linux on x86_64 64bit 51043618_8
- Contains sapinst executable (runs by root) to extract all the other media SAP ERP 6.0 EHP5 Installation Export 1 of 12 51039090_1 to SAP ERP 6.0 EHP5 Installation Export 12 of 12 51039090_12
- Contains database import dump to load into new Oracle database
- Used by "Database Instance" install
SAP Enh. Package 5 for SAP ERP 6.0 1 of 7 51036979_1 to SAP Enh. Package 5 for SAP ERP 6.0 5 of 7 51036979_5
- Contains Enhance Package 5
- Used by "Central Instance" install
SAP ERP 6.0 EHP5 Language 1 of 11 51039096_1 to SAP ERP 6.0 EHP5 Language 11 of 11 51039096_11
- Contain many different languages
- Used by "Central Instance" install

2. Media for SAP EHP2 for NetWeaver 7.0 and Oracle
SAP Software Download Center
- Installations and Upgrades
- My Company's Application Components
- My Company's Software
- SAP ERP
- SAP ERP ENHANCE PACKAGE
- EHP5 for SAP ERP 6.0
- Installation
- Linux
- Oracle database
BS7i2010 UC-Kernel 7.20 Linux on x86_64 64bit 51039103_10
- Need by "Database Instance" and "Central Instance" install
ORACLE Client 10.2.0.5 V3 51042929
- Need by "Database Instance" install

3. Media for latest Oracle patch
Navigation Path:
http://service.sap.com/swdc
Click on "Database Patches" on top menu
- Oracle
- 11.2.0.2
- Oracle RDBMS
- Linux x86_64

SAP_112026_201207_LINX8664.zip
- Just choose the latest zip file
- SAP provide file monthly
- The homepage only keep last 2 months patch. Older patches are purged
Click on "Database Patches" on top menu

- Oracle
- 11.2.0.2
- OPatch
mopatch-2_1_12.zip
opatch-112019.zip
- opatch used by mopatch, so both are required

5. Free unrar utility
Download from rarlab directly. SAP does not provide this info clearly in any of their ECC download page. Please remember that the complete RAR utility is NOT free. rarlab only provide unrar utility below free
http://www.rarlab.com/rar/unrar-linux-x64.gz

Unpack Procedure
Files can upload to server (Linux) as regular UNIX account. Unpack the files using the same user account as well

For zip file, use following syntax
unzip 51033500_1.ZIP

- Most file contains a sub-directory, so no need to create it manually
If want to see it before unpack (to verify it contains a sub-directory), use following syntax
unzip -t 51033500_1.ZIP
For .gz file (unrar utility), uncompress using following syntax
gunzip unrar-linux-x64.gz
mv unrar-linux-x64 unrar

For rar file, use following syntax (after gunzip unrar)

unrar x 51039090_1.EXE

Must unpack with the 1st file. Although you may interested in a specific files in other RAR part file, you still have to specify file #1

Launch SAPinst Installer
Login as root, or sudo as root into database server Ensure X Windows is working, or set "export DISPLAY=IP:0.0" I will not cover this here

cd /Download/Install._Mst._BS7i2010___ORACLE_11.2_/IM_LINUX_X86_64
export SAPINST_USE_HOSTNAME=[virtual hostname of database]
./sapinst

A graphical interface will appear. If you see blank screen, then the X Windows utility is not compatible. If using MobaXterm, then see my other blog about the solution. Otherwise, use VNC, which does not emulate X Windows at all, and not going to have any problem viewing

Navigate to
Enhancement Package 5 for SAP ERP 6.0
- SAP Application Server ABAP
- Oracle
- Distributed System
- Global Host Preparation (1st time choose this)
- Database Instance (2nd time choose this to install further)
- Central Instance (choose from when install from central instance server)

Kindly donate $1 if this post help

No comments: