Está en la página 1de 6

Pre requisitos para RAC 11gR2 sobre Linux x86

Estos requisitos tienen que ser verificados en cada uno de los nodos que constituyen el RAC

SO: RHEL5, OEL5 - 5.2 or greater which is Kernel 2.6.18-92 or newer

Storage: 3.8G Database RAM: 1Gb Swap: If RAM=1024Mb to 2048Mb then 1.5 times RAM If RAM=2049Mb to 16Gb then 1 times RAM If greater than 16Gb then 16 Gb
tmp: 1GB JDK: JDK (version TBS) is installed

Conexin entre los nodos Comando Resultado Status

$ping c 3 nodo2 $ping c 3 nodo2-priv

Secure shell

Desde los nodos verificar la conexin con SSH a cada uno de los dems nodos sin solicitar contrasea Comando Resultado Status $ps fea | grep sshd $ssh nodo2 date $ssh nodo2-priv date $ssh nodo2 $ssh nodo2-priv Variables de ambiente

En el archivo .bash_profile del usuario oracle, verificar cada uno de las variables a utilizar en la instalacin y la exportacin de cada uno de estos parmetros. ENV Resultado Status $ORACLE_BASE $ORACLE_HOME $CRS_HOME $TNS_ADMIN $PATH

Prerequisitos

PRE Mnimo en memoria 1G Mnimo en /tmp 500MB Espacio en disco 5GB para cluster Mnimo en swap, el doble que la RAM Arquitectura de SO

Resultado

Status

Network

Deben de existir tres IPs en cada uno de los nodos, una ip pblica, ip privada y una ip virtual. Estas deben de estar en el archivo hosts junto con sus alias. Comando
#more /etc/hosts #ifconfig

Resultado

Status

Grupos y usuarios Grupos /usr/sbin/groupadd /usr/sbin/groupadd /usr/sbin/groupadd /usr/sbin/groupadd /usr/sbin/groupadd /usr/sbin/groupadd Usuarios useradd usermod useradd usermod

oinstall dba oper asmadmin asmdba asmoper

-g -g -g -g

oinstall oinstall oinstall oinstall

-G -G -G -G

asmadmin -m -s /bin/bash -d /home/grid -r grid asmadmin,asmdba,asmoper,dba grid dba -m -s /bin/bash -d /home/oracle -r oracle dba,oper oracle

Archivo .bash_profile para oracle


if [ -t 0 ]; then stty intr ^C fi export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/rac #export ORACLE_SID=<your sid> export ORACLE_PATH=/u01/app/oracle/common/oracle/sql export ORACLE_TERM=xterm PATH=${PATH}:$HOME/bin:$ORACLE_HOME/bin PATH=${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin PATH=${PATH}:/u01/app/common/oracle/bin export PATH LD_LIBRARY_PATH=$ORACLE_HOME/lib LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE_HOME/oracm/lib LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib export LD_LIBRARY_PATH

CLASSPATH=$ORACLE_HOME/JRE CLASSPATH=${CLASSPATH}:$ORACLE_HOME/jlib CLASSPATH=${CLASSPATH}:$ORACLE_HOME/rdbms/jlib CLASSPATH=${CLASSPATH}:$ORACLE_HOME/network/jlib export CLASSPATH THREADS_FLAG=native; export THREADS_FLAG

Archivo .bash_profile para grid


umask 022 if [ -t 0 ]; then stty intr ^C fi export ORACLE_BASE=/u01/app/grid export ORACLE_HOME=/u01/app/11.2.0/grid #export ORACLE_SID=<your sid> export CV_NODE_ALL=node1,node2 export CVUQDISK_GRP=asmadmin export ORACLE_PATH=/u01/app/oracle/common/oracle/sql export ORACLE_TERM=xterm PATH=${PATH}:$HOME/bin:$ORACLE_HOME/bin PATH=${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin PATH=${PATH}:/u01/app/common/oracle/bin export PATH LD_LIBRARY_PATH=$ORACLE_HOME/lib LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE_HOME/oracm/lib LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib export LD_LIBRARY_PATH CLASSPATH=$ORACLE_HOME/JRE CLASSPATH=${CLASSPATH}:$ORACLE_HOME/jlib CLASSPATH=${CLASSPATH}:$ORACLE_HOME/rdbms/jlib CLASSPATH=${CLASSPATH}:$ORACLE_HOME/network/jlib export CLASSPATH THREADS_FLAG=native; export THREADS_FLAG

Linux 4 x86 RPMs

Software

1.) binutils-2.15.92.0.2-25 2.) compat-libstdc++-33-3.2.3-47.3 3.) elfutils-libelf-0.97.1-5 4.) glibc-2.3.4-2.41 5.) glibc-common-2.3.4-2.41 6.) libaio-0.3.105-2 7.) libgcc-3.4.6-10 8.) libstdc++-3.4.6-10 9.) make-3.80-7.EL4 10.) pdksh-5.2.14-30.6 11.) unixODBC-2.2.11-1.RHEL4.1 1.) elfutils-libelf-devel-0.97.1-5.i386.rpm

2.) glibc-headers-2.3.4-2.41.i386.rpm a.) glibc-kernheaders-2.4-9.1.103.EL.i386.rpm will be required as a prerequisite 3.) glibc-devel-2.3.4-2.41.i386.rpm 4.) gcc-3.4.6-10.i386.rpm 5.) libstdc++-devel-3.4.6-10.i386.rpm 6.) gcc-c++-3.4.6-10.i386.rpm 7.) libaio-devel-0.3.105-2.i386.rpm 8.) sysstat-5.0.5-19.el4.i386.rpm 9.) unixODBC-devel-2.2.11-1.RHEL4.1.i386.rpm
ASMLIB (Existe una versin para cada versin de kernel) oracleasm-2.6.18-164.el5-2.0.5-1.el5 (i686) oracleasm-support-2.1.3-1.el5 (i386) oracleasmlib-2.0.4-1.el5 (i386)

Parmetros de kernel

kernel.shmall = physical RAM size / pagesize 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 fs.file-max = 512 x processes (for example 6815744 for 13312 processes) fs.aio-max-nr = 1048576 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

Archivo /etc/security/limits.conf oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536

Linux 5 x86

1.) binutils-2.17.50.0.6-2.el5

2.) compat-libstdc++-33-3.2.3-61 3.) elfutils-libelf-0.125-3.el5 4.) glibc-2.5-24 5.) glibc-common-2.5-12 6.) ksh-20060214-1.7 7.) libaio-0.3.106 8.) libgcc-4.1.2-42.el5 9.) libstdc++-4.1.2-42 10.) make-3.81-1.1

1.) elfutils-libelf-devel-0.125-3.el5.i386.rpm a.) requires elfutils-libelf-devel-static-0.125-3.el5.i386.rpm as a prerequisite. b.) elfutils-libelf-devel and elfutils-libelf-devel-static each depend upon the other. Therefore, they must be installed together, in one (1) "rpm -ivh" command as follows: rpm -ivh elfutils-libelf-devel-0.125-3.el5.i386.rpm elfutils-libelf-devel-static-0.1253.el5.i386.rpm 2.) kernel-headers-2.6.18-92.el5.i386.rpm 3.) glibc-headers-2.5-24.i386.rpm 4.) glibc-devel-2.5-24.i386.rpm 5.) libstdc++-devel-4.1.2-42.el5.i386.rpm 6.) libgomp-4.1.2-42.el5.i386.rpm 7.) gcc-4.1.2-42.el5.i386.rpm 8.) gcc-c++-4.1.2-42.el5.i386.rpm 9.) libaio-devel-0.3.106-3.2.i386.rpm 10.) sysstat-7.0.2-1.el5.i386.rpm 11.) unixODBC-2.2.11-7.1.i386.rpm 12.) unixODBC-devel-2.2.11-7.1.i386.rpm
Parmetros de kernel

kernel.shmall = 2097152 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 fs.file-max = 512 x processes (for example 6815744 for 13312 processes) fs.aio-max-nr = 1048576 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

Archivo /etc/security/limits.conf oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536
Deshabilitar firewall en caso de que este activado

Por ltimo correr el cluster verify en el nodo 1 /home/software/Disk1/./cluvfy stage -pre crsinst -n node1,node2, -verbose

También podría gustarte