安装SAP在REHL76 系统要按SAP管网的说明配置
具体如下
- limits 配置
cat /etc/security/limits.conf|grep -v ^#|grep -v ^$:
soft core 65536
hard rss 65536
hard nproc 65536
-
oradev soft nproc 65536soft nproc 65536
oradev hard nproc 65536
oradev soft nofile 65536
oradev hard nofile 65536
oradev soft stack 65536
oradev hard stack 32768
oradev hard memlock 8000000
oradev soft memlock 8000000
oracle soft nproc 65536
oracle hard nproc 65536
oracle soft nofile 65536
oracle hard nofile 65536
oracle soft stack 65536
oracle hard stack 32768
oracle hard memlock 8000000
oracle soft memlock 8000000
@sapsys hard nofile 32800
@sapsys soft nofile 32800
@dba hard nofile 32800
@dba soft nofile 32800
cat /etc/security/limits.d/20-nproc.conf |grep -v ^#|grep -v ^$:
-
root soft nproc unlimitedsoft nproc unlimited
系统参数配置
cat /etc/sysctl.conf|grep -v ^#|grep -v ^$:
fs.aio-max-nr = 1048576
fs.file-max = 6815744
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
kernel.msgmni=1024
kernel.panic_on_oops = 1
kernel.sem = 1250 256000 100 1024
kernel.shmmax = 214748364800
kernel.shmall = 52428800
kernel.shmmni = 4096
vm.nr_hugepages = 2500
vm.max_map_count=2000000DNS配置
4.关闭防火墙
5.package
rpm -ivh compat-libcap1-1.10-7.el7.x86_64.rpm
rpm -ivh ksh-20120801-139.el7.x86_64.rpm
rpm -ivh libaio-devel-0.3.109-13.el7.x86_64.rpm
rpm -ivh compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm