1. Preparing OS and system for SAP installation.


***************** Index of Pages on the topic…. ****************************
1. preparing os and system for SAP installation
2. installation of sap central instance.
3. installation of database
4. post-installation tasks
******************************************************************************

Installation of Suse Linux Enterprise server was definitely a cool one. Very good installtion interface. The precaution I took in this case of installtion is the partitions. I choosed ReiserFS for installation. No special reason at least at the time of installation. I just gave it a try, it is a new File Sysytem, I was used to EXT2 and EXT3 filesystem previously.

So what are the components I installed? I mean need to take care additionally for ECC 6 installation? I especially checked the glibc modules, orarun packages and yes obviously, installed RDAC driver for sensing the LUN of DS4700.

Now how to install RDAC drivers? Once you allocate a partition for a particular blade in a blade center and then restart the machine, it shows you four different partitions from SLES, as shown in the screenshot below…

Like above /dev/hdg, /dev/hdh, /dev/hdi, /dev/hdj four partition is being shown from partition manager, although I actually allocated only 150 GB single partition to it. So how do manage it? Here is how….

Download and copy RDAC driver to the /tmp directory. for my case the driver I used is linuxrdac-09.02.C5.13. The RDAC driver is released as a source-code package in the format of a compressed tar file. To unpack the source package, type the following command and press Enter:
$ tar -zxvf  rdac-LINUX-09.02.C5.13-source.tar.gz
Where 09.02.C5.13 is the release version of the RDAC driver. The source files will uncompress to the “/tmp/linuxrdac-09.02.C5.13”   directory.

On the SuSE operating system, it is assumed that the low level HBA driver names are included in INITRD_MODULES in /etc/sysconfig/kernel. For the systems that have QLogic HBA’s, the modules file should include a qla2xxx and qla2300 ( or qla2300).

Then you do a make and make install from “/tmp/linuxrdac-09.02.C5.13”.

Finally you need to add two lines as showned in the output of the make install script output in the menu file in /boot directory. now reboot and you will find the four partitions became one.

Besides above all also do need to configure/ edit configuration file also. You require to create some OS directories also. This is required for the SAP and Oracle (I did the installation with Oracle Database only). Now let us create the following directories. One need to first deside about the SAP SID a string of length 3 before to create the directory. Let say the SID you decided is A01, then you need to create the following directories….

  • /usr/sap/<SAPSID>
  • sapmnt/<SAPSID>
  • /usr/sap/trans
  • /oracle
  • /oracle/client
  • /oracle/stage/102_64
  • /oracle/<DBSID>
  • /oracle/<DBSID>/102_64
  • /oracle/<DBSID>origlogA
  • /oracle/<DBSID>/origlogB
  • /oracle/<BDSID>/mirrlogA
  • /oracle/<DBSID>/mirrlogB
  • /oracle/<DBSID>/oraarch
  • /oracle/<DBSID>/sapreorg
  • /oracle/<DBSID>/sapdata1
  • /oracle/<DBSID>/sapdata2
  • /oracle/<DBSID>/sapdata3
  • /oracle/<DBSID>/sapdata4

You also should not forget to install the packages — sapinit, orarun and you need to install jdk also. For sapinit and orarun dont need to worry much, execute Yast, these two packages come in the pack, simply search, select and say apply and that will do the entire job for you.  JDK and JRE is specially needed if you do install JAVAAS along with WEBAS. Please consult sap note 1172419 for the same. This shows from what are the required package, from where you can download the same and how to install. Please follow the same.

So what others? You need to configure your OS memory requirement which can be done simply by editing the /etc/sysctl.conf file. Some of the important parameters you need to change are the following.. these parameters will be required when the database installtion part will be going on. Either can be set in this session or during oracle installtion phase you can set this (by editing the sysctl.conf file activating the same using sysctl -p command from root.

  • kernel.shmmax
  • net.core.rmem_max
  • net.core.remem_default
  • net.core.wmem_max
  • net.core.wmem_default

Another one file you do nid to edit is the /etc/SuSE-Release file. change the os version from 10 to 9 otherwise Oracle Universal Installer will fail and not start.

So this is all I feel. And this is the end of the OS preparation. Hope I get Enough time to write the SAP portion of it.

***************** Index of Pages on the topic…. ****************************
1. preparing os and system for SAP installation
2. installation of sap central instance.
3. installation of database
4. post-installation tasks
******************************************************************************

17 thoughts on “1. Preparing OS and system for SAP installation.”

  1. Hi,
    Thanks for information,
    we also required some os level parametar list has to be set for sap installation on linux.

    Regards,
    Ravi ghangurde

  2. Amazing blog! Very interesting posts. I will allways read it. Also subsribed on rss.

  3. hi

    i need installation of sap 5 with snap shot.
    cab u send me if u have.

    i am waiting for ur repply.

    niraj kumar

  4. Hello,
    i might be wrong, but as far as i now,
    SAP says “Do not install orarun packet if you plan to use Oracle 10…”.

    Greetings

  5. Hi Soumen

    Good day Soumen, can I have installation guide of SAP ECC 6.0 SR3 in windows operating systems (XP or Server). Can share with me?

    Looking forward for your reply.

    Regards,
    jay280584@gmail.com

  6. Hi Soumen

    Good day Soumen, can I have installation guide of ERP 6.0 EHP4 in windows operating systems (XP or Server). Can share with me?

    Looking forward for your reply.

    Regards,
    jay280584@gmail.com

  7. Hi

    Do have installation guide of ERP 6.0 EHP4 in windows operating systems (XP or Server). Can share with me?

    Looking forward for your reply.

    Regards,
    jay280584@gmail.com

    • Hi Jay,

      No I didn’t document anything for windows yet. But there is the installation guide available from service marketplace.

      Regards,

  8. Hi Soumen.
    interesting article. i was searching on google how to tuning REDHAT with SAP. and found this blog.
    can you give me advice about my problem ?
    i had server running Linux Redhat. with kernel 2.6.18-164.el5. and SAP run on it.
    all database saved into storage IBM DS4300. connect with 4 fiber channel. using 2 HBA’s. configured with RDAC multipathing.
    the performance server is slow when i activate the multipathing. but when i tried to unplugged 2 fiber from different HBA. the performance back to normal.
    i’ve checked into multipathing configuration. and i think there is nothing wrong.
    please advice.

    • Hi,

      This seems more of an issue with the hardware/OS configuration rather than something related to SAP and Database.

      But just check the result of touch or use simple file copy to storage and check whether your inference is correct.

      Thanks & Regards, Soumen Chattopadhyay. =========================================== Soumen Chattopadhyay I do blog at: https://soumen.wordpress.com =========================================== _________________________________________________ I silently laugh at my own cenotaph, — And out of the caverns of rain, Like a child from the womb, like a ghost from the tomb, I arise, and unbuild it again. _________________________________________________

  9. I’m really inspired together with your writing skills and also with the format in your blog. Is that this a paid subject or did you modify it yourself? Either way keep up the nice high quality writing, it is uncommon to see a nice weblog like this one today..

  10. Fantastic blog and extremely instructive ! Great help and to end up being continued ;–) Apologies for my personal poor speech, i am just french …

  11. Wow, awesome weblog format! How lengthy have you ever been blogging for? you made running a blog look easy. The entire look of your web site is wonderful, as smartly as the content material!

  12. the information in your blog seems interesting and detailed but overwhelming to me!!…..

    am new on sap and am trying to install sap erp 6.0 sr3, with oracle on suse(sles 12) in vmware environment.
    please i need a guide in simple english of the installation
    or better still how to partition the system, which partition to use, copy my files to suse environment, which oracle i need, how to install the oracle etc

    when i try creating groups for the oracle oinstall, it tells me group already exit.

    do appreciate in advance!

    • I do not know which OS you are using. It seems OS is not your play ground , Iwill rather suggest you to use native OS gui based tool (e.g yast2 for Suse linux) to delete the oinstall group.

  13. Installing SAP on vmware also need to follow some speciak configuration for the vmware as well as os level
    You can find it out from vmware KB or SAP note

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s