WEB开发网
开发学院数据库Oracle 在HP-UX及AIX和RHEL的安装的Oracle 11gR2 RAC 阅读

在HP-UX及AIX和RHEL的安装的Oracle 11gR2 RAC

 2012-05-13 15:31:48 来源:WEB开发网   
核心提示: core = 2097151 cpu = -1 data = -1 rss = -1 stack = -1 nofiles = -1 2.修改系统配置参数# ioo –o aio_maxreqs a
        core = 2097151
        cpu = -1
        data = -1
        rss = -1
        stack = -1
        nofiles = -1
 
   2.修改系统配置参数
# ioo –o aio_maxreqs          
aio_maxreqs = 65536  
# lsattr -E -l sys0 -a maxuproc
# smit chgsys
maxuproc 16384 Maximum number of PROCESSES allowed per user True
 
3.虚拟内存参数设置:
vmo -p -o minperm%=3
vmo -p -o maxperm%=90
vmo -p -o maxclient%=90
vmo -p -o lru_file_repage=0
vmo -p -o strict_maxclient=1
vmo -p -o strict_maxperm=0
 
4.配置网络参数
Add the following line to the /etc/rc.net
if [ -f /usr/sbin/no ] ; then
   /usr/sbin/no -o udp_sendspace=65536
   /usr/sbin/no -o udp_recvspace=655360
   /usr/sbin/no -o tcp_sendspace=65536
   /usr/sbin/no -o tcp_recvspace=65536
   /usr/sbin/no -o rfc1323=1
   /usr/sbin/no -o sb_max=2*655360
   /usr/sbin/no -r -o ipqmaxlen=512
fi
 
ipqmaxlen parameter:设置后需重启机器使其生效;
/usr/sbin/no -r -o ipqmaxlen=512
 
2.2.3 RHEL内核参数设置如下:
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 512 x processes (for example 6815744 for 13312 processes)
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 = 1048576
kernel.shmall = physical RAM size / pagesize For most systems, this will be the value 2097152. See Note: 301830.1 for more information.
kernel.shmmax = 1/2 of physical RAM, but not greater than 4GB. This would be the value 2147483648 for a system with 4Gb of physical RAM.
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
 
1.修改Oracle用户的系统限制参数
#vi /etc/security/limits.conf
grid                      soft     nproc    2047
grid                      hard     nproc    16384
grid                      soft     nofile 1024
grid                      hard     nofile 65536
oracle                    soft     nproc    2047
oracle                    hard     nproc    16384

上一页  1 2 3 4 5 6 7 8 9  下一页

Tags:HP UX AIX

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接