Blogia
tecnolakis

Controles Prerequisitos Motor Oracle

Controles Prerequisitos Motor Oracle

MEMORIA


[root@localhost SOFT]# grep MemTotal /proc/meminfo
MemTotal:       254752 kB

PROCESADOR
[root@localhost SOFT]# grep "model name" /proc/cpuinfo
model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz


SWAP
[root@localhost SOFT]# grep SwapTotal /proc/meminfo
SwapTotal:     6136820 kB


Compilador  C   OK

/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba

/usr/sbin/useradd -g oinstall -G dba oracle

passwd oracle  arcor2009


modificar  los  parametros  de  KERNEL

[root@localhost etc]# ls -la sysctl*
-rw-r--r--  1 root root 987 May  6 01:44 sysctl.conf
-rw-r--r--  1 root root 604 May  6 01:43 sysctl.conf.bak realizar  un backup

fs.file-max = 200000
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 4194304
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144
net.ipv4.tcp_wmem = 262144 262144 262144
net.ipv4.tcp_rmem = 4194304 4194304 4194304

Reiniciar  el  kernel para  que  tome   los  valores

/sbin/sysctl -p


Modificar  los  shell limits

/etc/security/limits.conf

oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536


Agregar
 /etc/pam.d/login file, if it does not already

session required pam_limits.so


modificar  el .profile  del usuario


if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
     ulimit -p 16384
     ulimit -n 65536
else
     ulimit -u 16384 -n 65536
fi
fi


ORACLE_BASE=/u01/app/oracle
export ORACLE_BASE

PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.

export PATH

PS1=’[E900] $PWD >’;export PS1
NLS_LANG=american_america.WE8ISO8859P1
EDITOR=vi
export ORACLE_HOME PATH ORACLE_BASE ORACLE_SID EDITOR NLS_LANG AIXTHREAD_SCOPE LD_LIBRARY_PATH

0 comentarios