11g asm Oracle 系統核心修改
# vi /etc/security/limits.conf
#ORACLE SETTING
grid soft nproc 2047
grid hard nproc 16384
grid soft nofile 1024
grid hard nofile 65536
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
# vi /etc/pam.d/login
#ORACLE SETTING
session required pam_limits.so
# vi /etc/sysctl.conf
#ORACLE SETTING
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
gird時間同步所需要的設定
Network Time Protocol Setting
/sbin/service ntpd stop
chkconfig ntpd off
rm /etc/ntp.conf
-----------------
--envs
#grid
ORACLE_SID=+ASM; export ORACLE_SID
ORACLE_BASE=/oracle/app/grid; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/grid; export ORACLE_HOME
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LANG=C; export LANG
if [ $USER = "oracle" ] || [ $USER = "grid" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
umask 022
fi
#oracle
ORACLE_BASE=/oracle/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome; export ORACLE_HOME
ORACLE_SID=DB11; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
LANG=C; export LANG
if [ $USER = "oracle" ] || [ $USER = "grid" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
umask 022
fi
#ORACLE SETTING
grid soft nproc 2047
grid hard nproc 16384
grid soft nofile 1024
grid hard nofile 65536
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
# vi /etc/pam.d/login
#ORACLE SETTING
session required pam_limits.so
# vi /etc/sysctl.conf
#ORACLE SETTING
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
gird時間同步所需要的設定
Network Time Protocol Setting
/sbin/service ntpd stop
chkconfig ntpd off
rm /etc/ntp.conf
-----------------
--envs
#grid
ORACLE_SID=+ASM; export ORACLE_SID
ORACLE_BASE=/oracle/app/grid; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/grid; export ORACLE_HOME
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LANG=C; export LANG
if [ $USER = "oracle" ] || [ $USER = "grid" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
umask 022
fi
#oracle
ORACLE_BASE=/oracle/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome; export ORACLE_HOME
ORACLE_SID=DB11; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
LANG=C; export LANG
if [ $USER = "oracle" ] || [ $USER = "grid" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
umask 022
fi
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29551564/viewspace-2133252/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 11g單例項ASM遷移到檔案系統Oracle單例ASM
- RAC 11G ASM下修改spfile檔案ASM
- oracle 11g ASM問題OracleASM
- 在linux系統上裝oracle為什麼要修改作業系統的核心引數LinuxOracle作業系統
- Oracle ASM神書《撥雲見日 解密Oracle ASM核心》出版了OracleASM解密
- /proc虛擬檔案系統與系統核心引數修改方法
- ASM 模組安裝與作業系統核心版本問題ASM作業系統
- oracle 11g asm自動備份asm磁頭任務OracleASM
- oracle 11g 系統審計功能Oracle
- Oracle 11G 修改scan_ipOracle
- Oracle 11g 修改監聽埠Oracle
- Oracle 11g修改RAC SCAN IPOracle
- oracle 11g ASM 的管理使用者OracleASM
- oracle 11g asm 磁碟組相容屬性OracleASM
- 修改Oracle10g、11g系統自動統計Job的執行時間屬性Oracle
- 修改asm口令ASM
- 【移植Linux 3.4.2核心之四】修改核心程式碼支援YAFFS檔案系統Linux
- Oracle 11g R1中ASM增強OracleASM
- oracle 11g 操作ASM許可權問題OracleASM
- oracle 11g rac 修改字符集Oracle
- Oracle 11g RAC的ASM例項記憶體引數被修改導致無法啟動OracleASM記憶體
- 修改系統時間對oracle的影響Oracle
- 全面學習和應用ORACLE ASM特性--(3)新增和修改asm磁碟組OracleASM
- 修改+asm的名字!ASM
- oracle linux 6.作業系統oracle 11g racOracleLinux作業系統
- oracle 11g ASM 磁碟組線上擴容實驗:OracleASM
- dbca建立oracle 11g rac發現不了asm磁碟OracleASM
- oracle 11G新特性--SYSASM 角色--用來管理ASMOracleASM
- 安裝oracle 11g 使用ASM儲存 詳細OracleASM
- oracle 11g R1 asm 磁碟組新特性OracleASM
- Oracle 11g 修改表級別的自動收集統計資訊比率Oracle
- Oracle 11g RAC修改靜態引數Oracle
- Windows下Oracle 11G記憶體修改WindowsOracle記憶體
- 雲伺服器修改Linux系統核心的引導順序伺服器Linux
- 11G ORACLE RAC DBCA 無法識別asm磁碟組OracleASM
- AIX6.1安裝ORACLE 11g(單機使用ASM)AIOracleASM
- How to create user for oracle10g/11g asm instanceOracleASM
- oracle 11g rac asm ORA-15064錯誤OracleASM