Pages

Tuesday, February 11, 2020

OS Pre-requisite Check on RHEL 6.X, 7.X for Databases (Oracle and Sybase)

  • Check the Created Mount Points

                 $ df -h   (For Oracle Only)


  • Check Hostname
                $ hostname -s

  • Check Full Qualified Domain Name
                $ hostname -f

  • Update the Linux Kernel Parameter
                 To do this append the following lines to /etc/sysctl.conf (EL6)

                      # SAP settings
                      kernel.msgmni=1024
                      kernel.sem=1250 256000 100 1024
                      vm.max_map_count=2000000
  
                To do this append the following lines to /etc/sysctl.conf (EL7)

                      # SAP settings
                      kernel.sem=1250 256000 100 1024
                      vm.max_map_count=2000000


                For Sybase Please add below parameters as well


                      kernel. randomize_va_space=0
                      kernel. exec-shield=0

                 Note : Run the command "sysctl -p" to activate the modified kernel parameters.

  • Install the OS Software Package for Oracle (EL6)

                   bc
                   binutils-2.20.51.0.2-5.36.el6 (x86_64)
                   compat-libcap1-1.10-1 (x86_64)
                   compat-libstdc++-33-3.2.3-69.el6 (x86_64)
                   compat-libstdc++-33-3.2.3-69.el6 (i686)
                   e2fsprogs-1.41.12-14.el6 (x86_64)
                   e2fsprogs-libs-1.41.12-14.el6 (x86_64)
                   glibc-2.12-1.107.el6 (i686)
                   glibc-2.12-1.107.el6 (x86_64)
                   glibc-devel-2.12-1.107.el6 (i686)
                   glibc-devel-2.12-1.107.el6 (x86_64)
                   ksh
                   libaio-0.3.107-10.el6 (x86_64)
                   libaio-0.3.107-10.el6 (i686)
                   libaio-devel-0.3.107-10.el6 (x86_64)
                   libaio-devel-0.3.107-10.el6 (i686)
                   libX11-1.5.0-4.el6 (i686)
                   libX11-1.5.0-4.el6 (x86_64)
                   libXau-1.0.6-4.el6 (i686)
                   libXau-1.0.6-4.el6 (x86_64)
                   libXi-1.6.1-3.el6 (i686)
                   libXi-1.6.1-3.el6 (x86_64)
                   libXtst-1.2.1-2.el6 (i686)
                   libXtst-1.2.1-2.el6 (x86_64)
                   libgcc-4.4.7-3.el6 (i686)
                   libgcc-4.4.7-3.el6 (x86_64)
                   libstdc++-4.4.7-3.el6 (i686)
                   libstdc++-4.4.7-3.el6 (x86_64)
                   libstdc++-devel-4.4.7-3.el6 (i686)
                   libstdc++-devel-4.4.7-3.el6 (x86_64)
                   libxcb-1.8.1-1.el6 (i686)
                   libxcb-1.8.1-1.el6 (x86_64)
                   libXrender (i686)
                   libXrender (x86_64)
                   libXrender-devel (i686)
                   libXrender-devel (x86_64)
                   make-3.81-20.el6 (x86_64)
                   smartmontools-5.43-1.el6 (x86_64)
                   sysstat-9.0.4-20.el6 (x86_64)

  • Update the user and group limit for Oracle (EL6)
                   To do this append the following lines to /etc/security/limits.conf

                  @dba       hard    nofile    32800
                  @dba       soft    nofile    32800

                   To do this append the following lines to /etc/security/limits.d/90.nproc.conf

                  @dba    soft    nproc    unlimited


  • Install the OS Software Package for Oracle (EL7)
                 
                   bc
                   binutils-2.23.52.0.1-12.el7 (x86_64)
                   compat-libcap1-1.10-3.el7 (x86_64)
                   compat-libstdc++-33-3.2.3-71.el7 (i686)
                   compat-libstdc++-33-3.2.3-71.el7 (x86_64)
                   glibc-2.17-36.el7 (i686)
                   glibc-2.17-36.el7 (x86_64)
                   glibc-devel-2.17-36.el7 (i686)
                   glibc-devel-2.17-36.el7 (x86_64)
                   ksh
                   libaio-0.3.109-9.el7 (i686)
                   libaio-0.3.109-9.el7 (x86_64)
                   libaio-devel-0.3.109-9.el7 (i686)
                   libaio-devel-0.3.109-9.el7 (x86_64)
                   libgcc-4.8.2-3.el7 (i686)
                   libgcc-4.8.2-3.el7 (x86_64)
                   libstdc++-4.8.2-3.el7 (i686)
                   libstdc++-4.8.2-3.el7 (x86_64)
                   libstdc++-devel-4.8.2-3.el7 (i686)
                   libstdc++-devel-4.8.2-3.el7 (x86_64)
                   libxcb-1.9-5.el7 (i686)
                   libxcb-1.9-5.el7 (x86_64)
                   libX11-1.6.0-2.1.el7 (i686)
                   libX11-1.6.0-2.1.el7 (x86_64)
                   libXau-1.0.8-2.1.el7 (i686)
                   libXau-1.0.8-2.1.el7 (x86_64)
                   libXi-1.7.2-1.el7 (i686)
                   libXi-1.7.2-1.el7 (x86_64)
                   libXtst-1.2.2-1.el7 (i686)
                   libXtst-1.2.2-1.el7 (x86_64)
                   libXrender (i686)
                   libXrender (x86_64)
                   libXrender-devel (i686)
                   libXrender-devel (x86_64)
                   make-3.82-19.el7 (x86_64)
                   smartmontools-6.2-4.el7 (x86_64)
                   sysstat-10.1.5-1.el7 (x86_64)



  • Update the user and group limit for Oracle (EL7)
                   To do this append the following lines to /etc/security/limits.d/99-sap.conf

                  @sapsys    hard    nofile    32800
                  @sapsys    soft     nofile    32800
                  @dba         hard    nofile    65800
                  @dba         soft     nofile    65800
                  @oinstall         hard    nofile    65800
                  @oinstall        soft     nofile    65800

                  @sapsys    soft    nproc    unlimited

                  @dba    soft    nproc    unlimited
                  @oinstall    soft    nproc    unlimited


Suggestion
Do not installation separate JAVA jdk/jre on SAP JAVA Application Server.
Always reboot the system after completing the pre-requisite.
Do not forgot to add swap space as per the SAP guidelines before starting the OS pre-requisite.
Always use the latest Software Provisioning Manager (SWPM) version for the installation.
Hostname should not be more than 13 characters.

No comments:

Post a Comment