Diary of a Confused DBA…..

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
******************************************************************************

5 Comments »

  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

    Comment by Ravindra — September 20, 2008 @ 10:40 am

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

    Comment by prambustotorm — July 6, 2009 @ 1:00 pm

  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

    Comment by niraj — July 10, 2009 @ 2:41 am

  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

    Comment by Microware — October 14, 2009 @ 12:53 am


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.