oracle_linux_6_64(bit)上安裝oracle11gR2數據庫環境快速準備神器oracle-rdbms-server-11gR2-preinstall

https://blog.csdn.net/nalnait/article/details/81582637?tdsourcetag=s_pctim_aiomsglinux

https://blog.csdn.net/ljunjie82/article/details/37373595?tdsourcetag=s_pctim_aiomsgc++

 

一、oracle linux上安裝oracle數據庫環境快速準備介紹
    在Linux上安裝oracle數據庫,在環境準備方面,例如該安裝的RPM包,該調整的內核參數等,不只較爲複雜,有些參數值還會由於人工設置的不合理而對往後的運行帶來必定的影響,也是整個安裝過程當中最耗時的部分。數據庫

    在oracle linux 6_64bit上,提供了oracle-rdbms-server-11gR2-preinstall包,能夠自動化的將須要安裝的rpm包,須要調整的內核參數自動化的處理,對DBA安裝數據庫確實節省了很多的時間。服務器

    在oracle linux 5和oracle linux 4上有一個類似功能的包叫oracle-validatedoracle

二、oracle-rdbms-server-11gR2-preinstall包所幹的事情
(1)自動安裝oracle所需的RPM包ui

(2)自動建立oracle用戶和dba、oinstall組this

(3)自動配置/etc/sysctl.conf內核參數url

(4)自動配置/etc/security/limits.conf參數spa

(5)關閉NUMA=OFF   (關閉非一致內存訪問).net

三、爲使用oracle-rdbms-server-11gR2-preinstall而搭建一個本地yum服務器
(若是環境中有yum服務器,此部能夠跳過)

3.1 掛載Oracle Linux 6光盤(以root用戶執行)
#mkdir -p /mnt/cdrom

#mount /dev/cdrom /mnt/cdrom

3.2 建立local.repo文件(以root用戶執行)
#vi /etc/yum.repos.d/local.repo

[HighAvailability]

name=HighAvailability

baseurl=file:///mnt/cdrom/HighAvailability

enabled=1

gpgcheck=0

 

[LoadBalancer]

name=LoadBalancer

baseurl=file:///mnt/cdrom/LoadBalancer

enabled=1

gpgcheck=0

 

[Server]

name=Server

baseurl=file:///mnt/cdrom/Server

enabled=1

gpgcheck=0

3.3 修改public-yum-ol6.repo文件配置(以root用戶執行)
#mv /etc/yum.repos.d/public-yum-ol6.repo /etc/yum.repos.d/public-yum-ol6.repo_bak

#vi /etc/yum.repos.d/public-yum-ol6.repo

[oel6_local]

name = oracle Enterprise Linux 6

baseurl=file:///mnt/cdrom/Server/

gpgcheck=0

enabled=1

四、正式使用oracle-rdbms-server-11gR2-preinstall部署環境
#yum install oracle-rdbms-server-11gR2-preinstall

運行輸出內容以下:

Loaded plugins: refresh-packagekit, security

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-6.el6 will be installed

--> Processing Dependency: glibc-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64

--> Processing Dependency: compat-libstdc++-33 for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64

--> Processing Dependency: libstdc++-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64

--> Processing Dependency: libaio-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64

--> Processing Dependency: gcc for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64

--> Processing Dependency: gcc-c++ for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64

--> Processing Dependency: compat-libcap1 for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64

--> Processing Dependency: ksh for package: oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64

--> Running transaction check

---> Package compat-libcap1.x86_64 0:1.10-1 will be installed

---> Package compat-libstdc++-33.x86_64 0:3.2.3-69.el6 will be installed

---> Package gcc.x86_64 0:4.4.6-4.el6 will be installed

--> Processing Dependency: cpp = 4.4.6-4.el6 for package: gcc-4.4.6-4.el6.x86_64

--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.6-4.el6.x86_64

---> Package gcc-c++.x86_64 0:4.4.6-4.el6 will be installed

--> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.6-4.el6.x86_64

---> Package glibc-devel.x86_64 0:2.12-1.80.el6 will be installed

--> Processing Dependency: glibc-headers = 2.12-1.80.el6 for package: glibc-devel-2.12-1.80.el6.x86_64

--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.80.el6.x86_64

---> Package ksh.x86_64 0:20100621-16.el6 will be installed

---> Package libaio-devel.x86_64 0:0.3.107-10.el6 will be installed

---> Package libstdc++-devel.x86_64 0:4.4.6-4.el6 will be installed

--> Running transaction check

---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed

--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64

--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64

---> Package cpp.x86_64 0:4.4.6-4.el6 will be installed

---> Package glibc-headers.x86_64 0:2.12-1.80.el6 will be installed

--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.80.el6.x86_64

--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.80.el6.x86_64

---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed

--> Running transaction check

---> Package kernel-headers.x86_64 0:2.6.32-279.el6 will be installed

---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

 

===================================================================================

 Package                                Arch     Version            Repository

                                                                              Size

===================================================================================

Installing:

 oracle-rdbms-server-11gR2-preinstall   x86_64   1.0-6.el6          Server    15 k

Installing for dependencies:

 cloog-ppl                              x86_64   0.15.7-1.2.el6     Server    93 k

 compat-libcap1                         x86_64   1.10-1             Server    17 k

 compat-libstdc++-33                    x86_64   3.2.3-69.el6       Server   183 k

 cpp                                    x86_64   4.4.6-4.el6        Server   3.7 M

 gcc                                    x86_64   4.4.6-4.el6        Server    10 M

 gcc-c++                                x86_64   4.4.6-4.el6        Server   4.7 M

 glibc-devel                            x86_64   2.12-1.80.el6      Server   969 k

 glibc-headers                          x86_64   2.12-1.80.el6      Server   600 k

 kernel-headers                         x86_64   2.6.32-279.el6     Server   1.9 M

 ksh                                    x86_64   20100621-16.el6    Server   684 k

 libaio-devel                           x86_64   0.3.107-10.el6     Server    13 k

 libstdc++-devel                        x86_64   4.4.6-4.el6        Server   1.5 M

 mpfr                                   x86_64   2.4.1-6.el6        Server   156 k

 ppl                                    x86_64   0.10.2-11.el6      Server   1.3 M

 

Transaction Summary

===================================================================================

Install      15 Package(s)

 

Total download size: 26 M

Installed size: 61 M

Is this ok [y/N]: y

Downloading Packages:

-----------------------------------------------------------------------------------

Total                                               46 MB/s |  26 MB     00:00     

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing : mpfr-2.4.1-6.el6.x86_64                                        1/15 

  Installing : libstdc++-devel-4.4.6-4.el6.x86_64                             2/15 

  Installing : cpp-4.4.6-4.el6.x86_64                                         3/15 

  Installing : ppl-0.10.2-11.el6.x86_64                                       4/15 

  Installing : cloog-ppl-0.15.7-1.2.el6.x86_64                                5/15 

  Installing : compat-libstdc++-33-3.2.3-69.el6.x86_64                        6/15 

  Installing : libaio-devel-0.3.107-10.el6.x86_64                             7/15 

  Installing : kernel-headers-2.6.32-279.el6.x86_64                           8/15 

  Installing : glibc-headers-2.12-1.80.el6.x86_64                             9/15 

  Installing : glibc-devel-2.12-1.80.el6.x86_64                              10/15 

  Installing : gcc-4.4.6-4.el6.x86_64                                        11/15 

  Installing : gcc-c++-4.4.6-4.el6.x86_64                                    12/15 

  Installing : ksh-20100621-16.el6.x86_64                                    13/15 

  Installing : compat-libcap1-1.10-1.x86_64                                  14/15 

  Installing : oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64         15/15 

  Verifying  : compat-libcap1-1.10-1.x86_64                                   1/15 

  Verifying  : ksh-20100621-16.el6.x86_64                                     2/15 

  Verifying  : kernel-headers-2.6.32-279.el6.x86_64                           3/15 

  Verifying  : glibc-devel-2.12-1.80.el6.x86_64                               4/15 

  Verifying  : libaio-devel-0.3.107-10.el6.x86_64                             5/15 

  Verifying  : gcc-4.4.6-4.el6.x86_64                                         6/15 

  Verifying  : oracle-rdbms-server-11gR2-preinstall-1.0-6.el6.x86_64          7/15 

  Verifying  : gcc-c++-4.4.6-4.el6.x86_64                                     8/15 

  Verifying  : libstdc++-devel-4.4.6-4.el6.x86_64                             9/15 

  Verifying  : compat-libstdc++-33-3.2.3-69.el6.x86_64                       10/15 

  Verifying  : glibc-headers-2.12-1.80.el6.x86_64                            11/15 

  Verifying  : mpfr-2.4.1-6.el6.x86_64                                       12/15 

  Verifying  : cpp-4.4.6-4.el6.x86_64                                        13/15 

  Verifying  : ppl-0.10.2-11.el6.x86_64                                      14/15 

  Verifying  : cloog-ppl-0.15.7-1.2.el6.x86_64                               15/15 

 

Installed:

  oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-6.el6                          

 

Dependency Installed:

  cloog-ppl.x86_64 0:0.15.7-1.2.el6          compat-libcap1.x86_64 0:1.10-1       

  compat-libstdc++-33.x86_64 0:3.2.3-69.el6  cpp.x86_64 0:4.4.6-4.el6             

  gcc.x86_64 0:4.4.6-4.el6                   gcc-c++.x86_64 0:4.4.6-4.el6         

  glibc-devel.x86_64 0:2.12-1.80.el6         glibc-headers.x86_64 0:2.12-1.80.el6 

  kernel-headers.x86_64 0:2.6.32-279.el6     ksh.x86_64 0:20100621-16.el6         

  libaio-devel.x86_64 0:0.3.107-10.el6       libstdc++-devel.x86_64 0:4.4.6-4.el6 

  mpfr.x86_64 0:2.4.1-6.el6                  ppl.x86_64 0:0.10.2-11.el6           

 

Complete!

五、查看後臺日誌中記錄的操做內容
#more /var/log/oracle-rdbms-server-11gR2-preinstall/results/orakernel.log

Adding group oinstall with gid 54321

Adding group dba

Adding user oracle with user id 54321, initial login group oinstall, supplementary group dba and  home directory /home/oracle

Changing ownership of /home/oracle to oracle:oinstall

Please set password for oracle user

uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)

Creating oracle user passed

 

Verifying  kernel parameters as per Oracle recommendations...

fs.file-max             6815744

kernel.sem              250 32000 100 128

kernel.shmmni           4096

kernel.shmall           1073741824

kernel.shmmax           4398046511104

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

net.ipv4.ip_local_port_range            9000 65500

Setting kernel parameters as per oracle recommendations...

Altered file /etc/sysctl.conf

Original file backed up at /etc/sysctl.conf.orabackup

Verifying & setting of kernel parameters passed

 

Verifying oracle user OS limits as per Oracle recommendations...

oracle  soft    nofile          1024

oracle  hard    nofile          65536

oracle  soft    nproc           2047

oracle  hard    nproc           16384

oracle  soft    stack           10240

oracle  hard    stack           32768

Setting oracle user OS limits as per Oracle recommendations...

Altered file /etc/security/limits.conf

Original file backed up at /etc/security/limits.conf.orabackup

Verifying & setting of user limits passed

 

Verifying kernel boot parameters as per Oracle recommendations...

old boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16   KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16   KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off

 

@

"/var/log/oracle-rdbms-server-11gR2-preinstall/results/orakernel.log" 49L, 2772C

Adding group oinstall with gid 54321

Adding group dba

Adding user oracle with user id 54321, initial login group oinstall, supplementary group dba and  home directory /home/oracle

Changing ownership of /home/oracle to oracle:oinstall

Please set password for oracle user

uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)

Creating oracle user passed

Adding group oinstall with gid 54321

Adding group dba

Adding user oracle with user id 54321, initial login group oinstall, supplementary group dba and  home directory /home/oracle

Changing ownership of /home/oracle to oracle:oinstall

Please set password for oracle user

uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)

Creating oracle user passed

Adding group oinstall with gid 54321

Adding group dba

Adding user oracle with user id 54321, initial login group oinstall, supplementary group dba and  home directory /home/oracle

Changing ownership of /home/oracle to oracle:oinstall

Please set password for oracle user

uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)

Creating oracle user passed

 

Verifying  kernel parameters as per Oracle recommendations...

fs.file-max             6815744

kernel.sem              250 32000 100 128

kernel.shmmni           4096

kernel.shmall           1073741824

kernel.shmmax           4398046511104

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

net.ipv4.ip_local_port_range            9000 65500

Setting kernel parameters as per oracle recommendations...

Altered file /etc/sysctl.conf

Original file backed up at /etc/sysctl.conf.orabackup

Verifying & setting of kernel parameters passed

 

Verifying oracle user OS limits as per Oracle recommendations...

oracle  soft    nofile          1024

oracle  hard    nofile          65536

oracle  soft    nproc           2047

oracle  hard    nproc           16384

oracle  soft    stack           10240

oracle  hard    stack           32768

Setting oracle user OS limits as per Oracle recommendations...

Altered file /etc/security/limits.conf

Original file backed up at /etc/security/limits.conf.orabackup

Verifying & setting of user limits passed

 

Verifying kernel boot parameters as per Oracle recommendations...

old boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16   KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16   KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off

 

old boot params: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off

 

 

Adding group dba

Adding user oracle with user id 54321, initial login group oinstall, supplementary group dba and  home directory /home/oracle

Changing ownership of /home/oracle to oracle:oinstall

Please set password for oracle user

uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)

Creating oracle user passed

 

Verifying  kernel parameters as per Oracle recommendations...

fs.file-max             6815744

kernel.sem              250 32000 100 128

kernel.shmmni           4096

kernel.shmall           1073741824

kernel.shmmax           4398046511104

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

net.ipv4.ip_local_port_range            9000 65500

Setting kernel parameters as per oracle recommendations...

Altered file /etc/sysctl.conf

Original file backed up at /etc/sysctl.conf.orabackup

Verifying & setting of kernel parameters passed

 

Verifying oracle user OS limits as per Oracle recommendations...

oracle  soft    nofile          1024

oracle  hard    nofile          65536

oracle  soft    nproc           2047

oracle  hard    nproc           16384

oracle  soft    stack           10240

oracle  hard    stack           32768

Setting oracle user OS limits as per Oracle recommendations...

Altered file /etc/security/limits.conf

Original file backed up at /etc/security/limits.conf.orabackup

Verifying & setting of user limits passed

 

Verifying kernel boot parameters as per Oracle recommendations...

old boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16   KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16   KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off

 

@

@

 

Adding group oinstall with gid 54321

Adding group dba

Adding user oracle with user id 54321, initial login group oinstall, supplementary group dba and  home directory /home/oracle

Changing ownership of /home/oracle to oracle:oinstall

Please set password for oracle user

uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba)

Creating oracle user passed

 

Verifying  kernel parameters as per Oracle recommendations...

fs.file-max             6815744

kernel.sem              250 32000 100 128

kernel.shmmni           4096

kernel.shmall           1073741824

kernel.shmmax           4398046511104

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

net.ipv4.ip_local_port_range            9000 65500

Setting kernel parameters as per oracle recommendations...

Altered file /etc/sysctl.conf

Original file backed up at /etc/sysctl.conf.orabackup

Verifying & setting of kernel parameters passed

 

Verifying oracle user OS limits as per Oracle recommendations...

oracle  soft    nofile          1024

oracle  hard    nofile          65536

oracle  soft    nproc           2047

oracle  hard    nproc           16384

oracle  soft    stack           10240

oracle  hard    stack           32768

Setting oracle user OS limits as per Oracle recommendations...

Altered file /etc/security/limits.conf

Original file backed up at /etc/security/limits.conf.orabackup

Verifying & setting of user limits passed

 

Verifying kernel boot parameters as per Oracle recommendations...

old boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16   KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16   KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off

 

old boot params: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off

 

Setting kernel boot parameters as per Oracle recommendations...

Boot parameters will be effected on next reboot

Altered file /boot/grub/grub.conf

Original file backed up at /boot/grub/grub.conf.orabackup

Verifying & setting of boot parameters passed

 

Taking a backup of old config files under /var/log/oracle-rdbms-server-11gR2-preinstall/backup/Jul-07-2014-02-15-51

 

kernel.shmmax           4398046511104

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

net.ipv4.ip_local_port_range            9000 65500

Setting kernel parameters as per oracle recommendations...

Altered file /etc/sysctl.conf

Original file backed up at /etc/sysctl.conf.orabackup

Verifying & setting of kernel parameters passed

 

Verifying oracle user OS limits as per Oracle recommendations...

oracle  soft    nofile          1024

oracle  hard    nofile          65536

oracle  soft    nproc           2047

oracle  hard    nproc           16384

oracle  soft    stack           10240

oracle  hard    stack           32768

Setting oracle user OS limits as per Oracle recommendations...

Altered file /etc/security/limits.conf

Original file backed up at /etc/security/limits.conf.orabackup

Verifying & setting of user limits passed

 

Verifying kernel boot parameters as per Oracle recommendations...

old boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16   KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16   KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off

 

old boot params: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off

 

Setting kernel boot parameters as per Oracle recommendations...

Boot parameters will be effected on next reboot

Altered file /boot/grub/grub.conf

Original file backed up at /boot/grub/grub.conf.orabackup

Verifying & setting of boot parameters passed

 

Taking a backup of old config files under /var/log/oracle-rdbms-server-11gR2-preinstall/backup/Jul-07-2014-02-15-51

 

 

Verifying  kernel parameters as per Oracle recommendations...

fs.file-max             6815744

kernel.sem              250 32000 100 128

kernel.shmmni           4096

kernel.shmall           1073741824

kernel.shmmax           4398046511104

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

net.ipv4.ip_local_port_range            9000 65500

Setting kernel parameters as per oracle recommendations...

Altered file /etc/sysctl.conf

Original file backed up at /etc/sysctl.conf.orabackup

Verifying & setting of kernel parameters passed

 

Verifying oracle user OS limits as per Oracle recommendations...

oracle  soft    nofile          1024

oracle  hard    nofile          65536

oracle  soft    nproc           2047

oracle  hard    nproc           16384

oracle  soft    stack           10240

oracle  hard    stack           32768

Setting oracle user OS limits as per Oracle recommendations...

Altered file /etc/security/limits.conf

Original file backed up at /etc/security/limits.conf.orabackup

Verifying & setting of user limits passed

 

Verifying kernel boot parameters as per Oracle recommendations...

old boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16   KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.39-200.24.1.el6uek.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16   KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off

 

old boot params: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet, new boot params: kernel /vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=6d525a20-64f5-48a3-8482-bb7a0ae4f665 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet numa=off

 

Setting kernel boot parameters as per Oracle recommendations...

Boot parameters will be effected on next reboot

Altered file /boot/grub/grub.conf

Original file backed up at /boot/grub/grub.conf.orabackup

Verifying & setting of boot parameters passed

 

Taking a backup of old config files under /var/log/oracle-rdbms-server-11gR2-preinstall/backup/Jul-07-2014-0

相關文章
相關標籤/搜索