Pular para o conteúdo

Instalação de Oracle RAC em Linux com VMware – Parte IV

Desabilitando os serviços desnecessários:

# chkconfig anacron off
# chkconfig arptables_jf off
# chkconfig atd off
# chkconfig autofs off
# chkconfig cpuspeed on
# chkconfig cups off
# chkconfig cups-config-daemon off
# chkconfig gpm off
# chkconfig haldaemon on
# chkconfig iptables off
# chkconfig irqbalance on
# chkconfig isdn off
# chkconfig kudzu on
# chkconfig lvm2-monitor off
# chkconfig mdmonitor off
# chkconfig messagebus on
# chkconfig microcode_ctl off
# chkconfig netfs off
# chkconfig nfslock off
# chkconfig pcmcia off
# chkconfig portmap off
# chkconfig rawdevices on
# chkconfig readahead off
# chkconfig readahead_early off
# chkconfig rhnsd off
# chkconfig rpcgssd off
# chkconfig rpcidmapd off
# chkconfig sendmail off
# chkconfig smartd off

Configurando o usuário oracle:

# groupadd oinstall
# groupadd dba
# groupadd oper
# useradd -g oinstall -G dba oracle
# mkdir -p /u01/crs/oracle/product/10.2.0/crs
# mkdir -p /u01/app/oracle/product/10.2.0/db_1
# mkdir -p /u01/oradata
# chown -R oracle:oinstall /u01
# passwd oracle

Editando o arquivo com as variáveis necessárias para o usuário oracle:

# su - oracle
$ vi /home/oracle/.bash_profile
...
export TMP=/tmp; export TMPDIR=$TMP
export ORACLE_BASE=/u01/app/oracle
export CRS_HOME=$ORACLE_BASE/product/10.2.0/crs
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
ORACLE_SID=RAC1; export ORACLE_SID
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=$ORACLE_HOME/bin:$CRS_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
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi

Instalar VMware Tools

# cd
# umount /media/cdrom

Configurar VM para usar o CD Físico

  • VM ? Install Vmware Tools ? Install
# mount /media/cdrom
# rpm -ivh /media/cdrom/VMwareTools-1.0.8-126538.i386.rpm

No ambiente gráfico, como root:

# vmware-config-tools.pl
  • Aceitar todas opções default.
# vmware-toolbox
  • Selecionar “Time syncronization…”
# halt

Quão útil foi este post ?

Clique em uma estrela para classificar o post

nota média 0 / 5. Contagem de votos: 0

Sem votos ! Seja o primeiro a classificar !

Marcações:

2 comentários em “Instalação de Oracle RAC em Linux com VMware – Parte IV”

Deixe um comentário para Blog do Portilho » Blog Archive » Instalação de Oracle RAC em Linux com VMware - Parte V Cancelar resposta

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

plugins premium WordPress