在Linux上安装oracle数据库,在环境准备方面,例如该安装的RPM包,该调整的内核参数等,不仅较为复杂,有些参数值还会因为人工设置的不合理而对日后的运行带来一定的影响,也是整个安装过程中最耗时的部分。
在oracle linux 6_64bit上,提供了oracle-rdbms-server-11gR2-preinstall包,可以自动化的将需要安装的rpm包,需要调整的内核参数自动化的处理,对DBA安装数据库确实节省了不少的时间。
在oracle linux 5和oracle linux 4上有一个相似功能的包叫oracle-validated
(1)自动安装oracle所需的RPM包
(2)自动创建oracle用户和dba、oinstall组
(3)自动配置/etc/sysctl.conf内核参数
(4)自动配置/etc/security/limits.conf参数
(5)关闭NUMA=OFF (关闭非一致内存访问)
(如果环境中有yum服务器,此部可以跳过)
#mkdir -p /mnt/cdrom
#mount /dev/cdrom /mnt/cdrom
#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 |
#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 |
#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-02-15-51 |
现在要安装ORACLE 11gR2数据库,已是“万事具备,只欠东风”!
本文作者:黎俊杰(网名:踩点),从事”系统架构、操作系统、存储设备、数据库、中间件、应用程序“六个层面系统性的性能优化工作
欢迎加入 系统性能优化专业群,共同探讨性能优化技术。群号:258187244