{"id":2076,"date":"2018-06-05T23:02:45","date_gmt":"2018-06-06T02:02:45","guid":{"rendered":"https:\/\/zmsolution.laraclaud.com.br\/?p=2076"},"modified":"2020-01-21T22:29:30","modified_gmt":"2020-01-22T01:29:30","slug":"instalando-o-oracle-rac-12c-usando-virtualbox","status":"publish","type":"post","link":"http:\/\/zmsolution.com\/instalando-o-oracle-rac-12c-usando-virtualbox\/","title":{"rendered":"Instalando o Oracle RAC 12c no OL6 Usando VirtualBox 5"},"content":{"rendered":"

Neste artigo vamos instalar o Oracle RAC 12c\u00a0\u00a0(12.1) no Oracle Linux 6 Usando VirtualBox 5, preferi iniciar pelo Oracle 12.1, para podermos realizar a migra\u00e7\u00e3o para o Oracle 12.2 em um novo artigo.<\/p>\n

Para come\u00e7ar vamos baixar os instaladores do Oracle.<\/p>\n

Oracle Database 12c Release 1 (12.1.0.2.0) for Linux x86-64<\/strong>
\nhttp:\/\/www.oracle.com\/technetwork\/database\/enterprise-edition\/downloads\/index.html<\/a><\/p>\n

Oracle Database 12c Release 1 Grid Infrastructure (12.1.0.2.0) for Linux x86-64<\/strong>
\n
http:\/\/www.oracle.com\/technetwork\/database\/enterprise-edition\/downloads\/database12c-linux-download-2240591.html<\/a><\/p>\n

Criando a M\u00e1quina Virtual<\/strong><\/p>\n

Antes de iniciar, crie uma pasta\u00a0 com o nome de Oracle Rac<\/strong>\u00a0, ap\u00f3s crie uma subpasta<\/strong> chamado srv1, nela ser\u00e1 salvo a primeira m\u00e1quina virtual.<\/p>\n\n

\n
\nCriando a maquina virtual\n<\/div>\n
\n<\/p>\n

\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"<\/p>\n

Adicione 100GB de espa\u00e7o\u00a0<\/strong><\/p>\n

\"\"<\/p>\n

Desmarque a op\u00e7\u00e3o do disquete<\/strong><\/p>\n

\"\"<\/p>\n

Melhore o processamento da m\u00e1quina<\/strong><\/p>\n

\"\"<\/p>\n

Configure a primeira placa no modo Brige<\/strong>
\n\"\"<\/p>\n

Configure a segunda placa como privnet<\/strong><\/p>\n

\"\"<\/p>\n

Configure a terceira como placa de rede exclusiva de hospedeiro<\/strong><\/p>\n

\"\"
\n\"\"
\n\"\"
\n\"\"<\/p>\n

\n

[collapse]<\/div>\n<\/div>\n<\/div>\n\n\n
\n
\nInstalando o Oracle Linux\n<\/div>\n
\n<\/p>\n

\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"<\/p>\n

 <\/p>\n

Hostname :zmsrv1.localdomain<\/strong>
\n\"\"<\/p>\n

\"\"<\/p>\n

Na maquina\u00a0zmsrv1 <\/strong>adicione os ips:<\/p>\n

Adicione o IP: eth0 na maquina\u00a0zmsrv1:\u00a0192.168.56.71<\/p>\n

Adicione o IP: eth1 na maquina\u00a0zmsrv1: 192.168.10.1<\/p>\n

Na maquina\u00a0zmsrv2<\/strong> adicione os ips:<\/p>\n

Adicione o IP: eth0 na maquina\u00a0zmsrv2:\u00a0192.168.56.72<\/p>\n

Adicione o IP: eth1 na maquina\u00a0zmsrv2: 192.168.10.2
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"<\/p>\n

Adicione tr\u00eas parti\u00e7\u00f5es<\/strong><\/p>\n

1- \/boot com 1024
\n2-swap com 16gb
\n3- \/\u00a0 com todo o resto do espa\u00e7o dispon\u00edvel.<\/p>\n

\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"<\/p>\n

Linux : Pacotes Necess\u00e1rios:<\/strong><\/p>\n

Base System > Base\r\nBase System > Client management tools\r\nBase System > Compatibility libraries\r\nBase System > Hardware monitoring utilities\r\nBase System > Large Systems Performance\r\nBase System > Network file system client\r\nBase System > Performance Tools\r\nBase System > Perl Support\r\nServers > Server Platform\r\nServers > System administration tools\r\nDesktops > Desktop\r\nDesktops > Desktop Platform\r\nDesktops > Fonts\r\nDesktops > General Purpose Desktop\r\nDesktops > Graphical Administration Tools\r\nDesktops > Input Methods\r\nDesktops > X Window System\r\nApplications > Internet Browser\r\nDevelopment > Additional Development\r\nDevelopment > Development Tools<\/pre>\n

\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"<\/p>\n

\n

[collapse]<\/div>\n<\/div>\n<\/div>\n\n

Instalando os pacotes necess\u00e1rios.<\/strong><\/p>\n

\n
yum install binutils -y\r\nyum install compat-libstdc++-33 -y\r\nyum install compat-libstdc++-33.i686 -y\r\nyum install gcc -y\r\nyum install gcc-c++ -y\r\nyum install glibc -y\r\nyum install glibc.i686 -y\r\nyum install glibc-devel -y\r\nyum install glibc-devel.i686 -y\r\nyum install ksh -y\r\nyum install libgcc -y\r\nyum install libgcc.i686 -y\r\nyum install libstdc++ -y\r\nyum install libstdc++.i686 -y\r\nyum install libstdc++-devel -y\r\nyum install libstdc++-devel.i686 -y\r\nyum install libaio -y\r\nyum install libaio.i686 -y\r\nyum install libaio-devel -y\r\nyum install libaio-devel.i686 -y\r\nyum install libXext -y\r\nyum install libXext.i686 -y\r\nyum install libXtst -y\r\nyum install libXtst.i686 -y\r\nyum install libX11 -y\r\nyum install libX11.i686 -y\r\nyum install libXau -y\r\nyum install libXau.i686 -y\r\nyum install libxcb -y\r\nyum install libxcb.i686 -y\r\nyum install libXi -y\r\nyum install libXi.i686 -y\r\nyum install make -y\r\nyum install sysstat -y\r\nyum install unixODBC -y\r\nyum install unixODBC-devel -y\r\nyum install zlib-devel \u2013y\r\nyum install zlib-devel.i686 -y\r\nyum -y install unixODBC unixODBC.i686 unixODBC-devel unixODBC-devel.i686\r\nyum -y install oracleasm-support<\/pre>\n
\n
wget http:\/\/download.oracle.com\/otn_software\/asmlib\/oracleasmlib-2.0.4-1.el6.x86_64.rpm\r\nrpm -Uvh oracleasmlib-2.0.4-1.el6.x86_64.rpm\r\nPreparing...\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ########################################### [100%]\r\n1:oracleasmlib\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ########################################### [100%]<\/pre>\n

Edite o Arquivo\u00a0 sysctl.conf<\/strong><\/p>\n<\/div>\n

vi\u00a0 \/etc\/sysctl.conf\r\n\r\n####zmsolution\r\nfs.file-max = 6815744\r\nkernel.sem = 250 32000 100 128\r\nkernel.shmmni = 4096\r\nkernel.shmall = 2097152\r\nkernel.shmmax = 4294967295\r\nnet.core.rmem_default = 262144\r\nnet.core.rmem_max = 4194304\r\nnet.core.wmem_default = 262144\r\nnet.core.wmem_max = 1048576\r\nfs.aio-max-nr = 1048576\r\nnet.ipv4.ip_local_port_range = 9000 65500\r\n# Recommended value for kernel.panic_on_oops\r\nkernel.panic_on_oops = 1\r\n\r\n<\/pre>\n
\u00a0\/sbin\/sysctl -p<\/pre>\n

Adicione as linhas no arquivo<\/strong>\u00a0\u00a0\u201c\/etc\/security\/limits.conf\u201d.<\/p>\n<\/div>\n

vi \/etc\/security\/limits.conf\r\n\r\n@oinstall soft nproc 16384\r\n@oinstall hard nproc 16384\r\n@oinstall soft nofile 8192\r\n@oinstall hard nofile 65536\r\n@oinstall soft stack 10240\r\n@oinstall hard stack 32768\r\n\r\n\r\n@root soft nproc 4096\r\n@root hard nproc 16384\r\n@root soft nofile 8192\r\n@root hard nofile 65536<\/pre>\n

Criando usu\u00e1rios e grupos:<\/strong><\/p>\n

groupadd -g 1000 oinstall\r\ngroupadd -g 1200 asmadmin\r\ngroupadd -g 1201 asmdba\r\ngroupadd -g 1202 asmoper\r\ngroupadd -g 1300 dba\r\ngroupadd -g 1301 oper\r\n\r\nuseradd -m -u 1101 -g oinstall -G dba,oper,asmdba,asmadmin,asmoper\u00a0 -d \/home\/oracle -s \/bin\/bash\u00a0 \u00a0oracle\r\nuseradd -u 1100 -g oinstall -G asmadmin,asmdba,asmoper\u00a0 grid\r\npasswd oracle\r\npasswd grid\r\nusermod -a -G asmdba oracle\r\nusermod -a -G vboxsf oracle\r\nusermod -a -G vboxsf grid<\/pre>\n

Criando os Diret\u00f3rios:<\/strong><\/p>\n

mkdir -p \/u01\/app\/oracle\/product\r\nchown -R oracle:oinstall \/u01\r\nchmod -R 775 \/u01\r\nmkdir -p \/u01\/app\/grid\r\nmkdir -p \/u01\/app\/12.1.0\/grid\r\nchown -R grid:oinstall \/u01\/app\/grid\r\nchown -R grid:oinstall \/u01\/app\/12.1.0\/grid\r\nchmod -R 775 \/u01<\/pre>\n

Na\u00a0 m\u00e1quina altere o SELinux de \u201cenforcing\u201d para\u00a0\u201cpermissive\u201d.<\/strong><\/p>\n

vi \/etc\/selinux\/config<\/p>\n

Desabilite o firewall.<\/strong><\/p>\n

\n
chkconfig iptables off\r\nchkconfig ip6tables off<\/pre>\n

Edite o Arquivo\u00a0\u00a0<\/strong>90-nproc.conf<\/p>\n

vi \/etc\/security\/limits.d\/90-nproc.conf\r\n* soft  nproc  2048<\/pre>\n

Edite o Arquivo\u00a0 hosts.conf<\/strong><\/p>\n

vi \/etc\/hosts\r\n\r\n127.0.0.1 localhost.localdomain localhost\r\n# Public\r\n192.168.56.71 zmsrv1.localdomain zmsrv1\r\n192.168.56.72 zmsrv2.localdomain zmsrv2\r\n# Private\r\n192.168.10.1 zmsrv1-priv.localdomain zmsrv1-priv\r\n192.168.10.2 zmsrv2-priv.localdomain zmsrv2-priv\r\n# Virtual\r\n192.168.56.81 zmsrv1-vip.localdomain zmsrv1-vip\r\n192.168.56.82 zmsrv2-vip.localdomain zmsrv2-vip\r\n# SCAN (in production this should be configured in DNS)\r\n192.168.56.91 zmsrv-scan.localdomain zmsrv-scan\r\n192.168.56.92 zmsrv-scan.localdomain zmsrv-scan\r\n192.168.56.93 zmsrv-scan.localdomain zmsrv-scan<\/pre>\n

Configurando o ASM<\/strong><\/p>\n

\n
\/etc\/init.d\/oracleasm configure\r\nConfiguring the Oracle ASM library driver.\r\nThis will configure the on-boot properties of the Oracle ASM library\r\ndriver.\u00a0 The following questions will determine whether the driver is\r\nloaded on boot and what permissions it will have.\u00a0 The current values\r\nwill be shown in brackets ('[]').\u00a0 Hitting <ENTER> without typing an\r\nanswer will keep that current value.\u00a0 Ctrl-C will abort.\r\nDefault user to own the driver interface []: grid\r\nDefault group to own the driver interface []: oinstall\r\nStart Oracle ASM library driver on boot (y\/n) [n]: y\r\nScan for Oracle ASM disks on boot (y\/n) [y]: y\r\nWriting Oracle ASM library driver configuration: done\r\nInitializing the Oracle ASMLib driver:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [\u00a0 OK\u00a0 ]\r\nScanning the system for Oracle ASMLib disks:\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [\u00a0 OK\u00a0 ]<\/pre>\n
\/usr\/sbin\/oracleasm init\r\nCreating \/dev\/oracleasm mount point: \/dev\/oracleasm\r\nLoading module \"oracleasm\": oracleasm\r\nConfiguring \"oracleasm\" to use device physical block size\r\nMounting ASMlib driver filesystem: \/dev\/oracleasm\r\n\r\n<\/pre>\n

Desabilite o NTP service.<\/strong><\/p>\n

service ntpd status\r\nchkconfig ntpd off\r\nmv \/etc\/ntp.conf \/etc\/ntp.conf.orig\r\nrm \/var\/run\/ntpd.pid<\/pre>\n

Desligue a m\u00e1quina virtual e realize um Clone da m\u00e1quina.<\/strong><\/p>\n

\"\"
\n\"\"<\/p>\n

\"\"<\/p>\n

Mova a pasta onde est\u00e1 o Clone da m\u00e1quina srv1 para dentro do diret\u00f3rio Oracle RAC<\/strong><\/p>\n

\"\"<\/p>\n

Adicione novamente a m\u00e1quina\u00a0virtual<\/strong><\/p>\n

\"\"<\/p>\n

Acesse a m\u00e1quina\u00a0zmsrv2 e altere as configura\u00e7\u00f5es de rede<\/strong><\/p>\n

vi \/etc\/udev\/rules.d\/70-persistent-net.rules<\/p>\n

Deixando o arquivo semelhante a configura\u00e7\u00e3o abaixo:
\naltere o valor do campo\u00a0ATTR{address}==<\/strong> e adicione o valor do mac das placas de rede, o endere\u00e7o do MAC se encontra nas configura\u00e7\u00f5es da m\u00e1quina virtual<\/p>\n

\"\"<\/p>\n

# This file was automatically generated by the \/lib\/udev\/write_net_rules\r\n# program, run by the persistent-net-generator.rules rules file.\r\n#\r\n# You can modify it, as long as you keep each rule on a single\r\n# line, and change only the value of the NAME= key.\r\n\r\n# PCI device 0x8086:0x100e (e1000)\r\nSUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", ATTR{address}==\"08:00:27:8f:b3:06\", ATTR{type}==\"1\", KERNEL==\"eth*\", NAME=\"eth0\"\r\n\r\n# PCI device 0x8086:0x100e (e1000)\r\nSUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", ATTR{address}==\"08:00:27:42:c6:5a\", ATTR{type}==\"1\", KERNEL==\"eth*\", NAME=\"eth1\"\r\n\r\n# PCI device 0x8086:0x100e (e1000)\r\nSUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", ATTR{address}==\"08:00:27:12:60:92\", ATTR{type}==\"1\", KERNEL==\"eth*\", NAME=\"eth2\"\r\n\r\n<\/pre>\n

Edite o arquivo\u00a0\/etc\/sysconfig\/network-scripts\/ifcfg-eth* e altere o MAC das placas<\/strong><\/p>\n

cat \/etc\/sysconfig\/network-scripts\/ifcfg-eth0\r\nTYPE=Ethernet\r\nNAME=eth0\r\nBOOTPROTO=none\r\nIPADDR=192.168.56.72\r\nPREFIX=24\r\nDEFROUTE=yes\r\nIPV4_FAILURE_FATAL=yes\r\nIPV6INIT=no\r\nUUID=565ee263-0ba8-4f29-a2b3-c5c2f17b545d\r\nONBOOT=yes\r\nHWADDR=08:00:27:75:34:38\r\nGATEWAY=192.168.56.1\r\nLAST_CONNECT=1504849110<\/pre>\n

Ap\u00f3s reinicie a m\u00e1quina<\/strong><\/p>\n

Agora acesse\u00a0 System | Preferences | Network Connections\u00a0<\/strong>e altere os IPS<\/p>\n

eth0:\r\n192.168.56.72\r\neth1:\r\n192.168.10.2<\/pre>\n

Altere o nome da m\u00e1quina:<\/strong><\/p>\n

vi \/etc\/sysconfig\/network\r\n\r\nNETWORKING=yes\r\nHOSTNAME=zmsrv2.localdomain\r\n# Recommended value for NOZEROCONF\r\nNOZEROCONF=yes\r\n\r\n<\/pre>\n

Reboot\u00a0zmsrv2<\/strong><\/p>\n

Acesse a m\u00e1quina zmsrv1 e crie 3 novos discos no diret\u00f3rio Oracle RAC o disco\u00a0DISK1 com 10GB e os discos\u00a0DISK2,DISK3 com 15GB.<\/strong><\/p>\n

\"\" \"\" \"\" \"\" \"\"<\/p>\n

O pr\u00f3ximo passo \u00e9 colocar os discos como compartilh\u00e1vel , com isso os discos poder\u00e3o ser acessados pelas duas m\u00e1quinas.<\/strong><\/p>\n

\"\"
\n\"\"<\/p>\n

Adicione os discos na m\u00e1quinas zmsrv2<\/strong><\/p>\n

\"\"<\/p>\n

Ligue a m\u00e1quinas zmsrv1 e formate os discos\u00a0\/dev\/sdb , \/dev\/sdc e \/dev\/sdd<\/strong><\/p>\n

\n
fdisk \/dev\/sdb\r\n\u00a0\r\nDevice contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel\r\nBuilding a new DOS disklabel with disk identifier 0x92e2b75a.\r\nChanges will remain in memory only, until you decide to write them.\r\nAfter that, of course, the previous content won't be recoverable.\r\nWarning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)\r\nWARNING: DOS-compatible mode is deprecated. It's strongly recommended to\r\nswitch off the mode (command 'c') and change display units to\r\nsectors (command 'u').\r\nCommand (m for help): n\r\nCommand action\r\ne\u00a0\u00a0 extended\r\np\u00a0\u00a0 primary partition (1-4) p\r\nPartition number (1-4): 1\r\nFirst cylinder (1-2627, default 1):\r\nUsing default value 1\r\nLast cylinder, +cylinders or +size{K,M,G} (1-2627, default 2627):\r\nUsing default value 2627\r\nCommand (m for help): w\r\n\u00a0\r\nThe partition table has been altered!\r\nCalling ioctl() to re-read partition table.\r\nSyncing disks.<\/pre>\n

Criei os discos ASM<\/strong><\/p>\n<\/div>\n<\/div>\n<\/div>\n

oracleasm createdisk DISK1 \/dev\/sdb1\r\noracleasm createdisk DISK2 \/dev\/sdc1\r\noracleasm createdisk DISK3 \/dev\/sdd1\r\n\r\noracleasm scandisks\r\noracleasm listdisks\r\n<\/pre>\n

Na m\u00e1quinas zmsrv2 execute os comandos:<\/strong><\/p>\n

oracleasm scandisks\r\noracleasm listdisks<\/pre>\n

Configure as vari\u00e1veis de ambiente no arquivo bash_profile nos usu\u00e1rios\u00a0 grid e oracle<\/strong><\/p>\n

Usu\u00e1rio grid\r\nvi ~\/.bash_profile\r\n\r\nORACLE_SID=+ASM1; export ORACLE_SID\r\nORACLE_BASE=\/u01\/app\/grid; export ORACLE_BASE\r\n# it must not be under the ORACLE_BASE\r\nORACLE_HOME=\/u01\/app\/12.1.0\/grid; export ORACLE_HOME\r\nORACLE_TERM=xterm; export ORACLE_TERM\r\nTNS_ADMIN=$ORACLE_HOME\/network\/admin; export TNS_ADMIN\r\nPATH=.:${PATH}:$ORACLE_HOME\/bin\r\nPATH=${PATH}:\/usr\/bin:\/bin:\/usr\/local\/bin\r\nexport PATH\r\nexport TEMP=\/tmp\r\nexport TMPDIR=\/tmp\r\numask 022\r\n\r\nUsu\u00e1rio oracle\r\n\r\nvi ~\/.bash_profile\r\n\r\nORACLE_SID=zmrac1; export ORACLE_SID\r\nORACLE_BASE=\/u01\/app\/oracle; export ORACLE_BASE\r\nORACLE_HOME=$ORACLE_BASE\/product\/12.1.0\/db_1; export ORACLE_HOME\r\nORACLE_TERM=xterm; export ORACLE_TERM\r\nNLS_DATE_FORMAT=\"DD-MON-YYYY HH24:MI:SS\"; export NLS_DATE_FORMAT\r\nTNS_ADMIN=$ORACLE_HOME\/network\/admin; export TNS_ADMIN\r\nPATH=.:${PATH}:$ORACLE_HOME\/bin\r\nPATH=${PATH}:\/usr\/bin:\/bin:\/usr\/local\/bin\r\nexport PATH\r\nLD_LIBRARY_PATH=$ORACLE_HOME\/lib\r\nLD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE_HOME\/oracm\/lib\r\nLD_LIBRARY_PATH=${LD_LIBRARY_PATH}:\/lib:\/usr\/lib:\/usr\/local\/lib\r\nexport LD_LIBRARY_PATH\r\nTHREADS_FLAG=native; export THREADS_FLAG\r\nexport TEMP=\/tmp\r\nexport TMPDIR=\/tmp\r\nexport EDITOR=vi\r\numask 022\r\n\r\n<\/pre>\n

Acesse com o usu\u00e1rio grid e v\u00e1 na\u00a0 pasta onde se encontra o instalador do grid, ap\u00f3s execute o script runInstaller<\/strong><\/p>\n\n

\n
\nInstalando o Grid\n<\/div>\n
\n<\/p>\n

\"\"
\n\"\"
\n\"\"
\n\"\"<\/p>\n

\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"<\/p>\n

\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"<\/p>\n

\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"<\/p>\n

\"\"<\/p>\n

Nas m\u00e1quinas zmsrv1 e zmsrv2 execute:<\/strong><\/p>\n

\/u01\/app\/oraInventory\/orainstRoot.sh\r\nChanging permissions of \/u01\/app\/oraInventory.\r\nAdding read,write permissions for group.\r\nRemoving read,write,execute permissions for world.<\/pre>\n
\/u01\/app\/12.1.0\/grid\/root.sh\r\nPerforming root user operation.\r\n\r\nThe following environment variables are set as:\r\nORACLE_OWNER= grid\r\nORACLE_HOME= \/u01\/app\/12.1.0\/grid\r\n\r\nEnter the full pathname of the local bin directory: [\/usr\/local\/bin]:\r\nCopying dbhome to \/usr\/local\/bin ...\r\nCopying oraenv to \/usr\/local\/bin ...\r\nCopying coraenv to \/usr\/local\/bin ...\r\n\r\n\r\nCreating \/etc\/oratab file...\r\nEntries will be added to the \/etc\/oratab file as needed by\r\nDatabase Configuration Assistant when a database is created\r\nFinished running generic part of root script.\r\nNow product-specific root actions will be performed.\r\nUsing configuration parameter file: \/u01\/app\/12.1.0\/grid\/crs\/install\/crsconfig_params\r\n2018\/05\/31 18:41:56 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.\r\n\r\n2018\/05\/31 18:42:23 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.\r\n\r\n2018\/05\/31 18:42:24 CLSRSC-363: User ignored prerequisites during installation\r\n\r\nOLR initialization - successful\r\n2018\/05\/31 18:43:35 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.conf'\r\n\r\nCRS-4133: Oracle High Availability Services has been stopped.\r\nCRS-4123: Oracle High Availability Services has been started.\r\nCRS-4133: Oracle High Availability Services has been stopped.\r\nCRS-4123: Oracle High Availability Services has been started.\r\nCRS-4133: Oracle High Availability Services has been stopped.\r\nCRS-4123: Starting Oracle High Availability Services-managed resources\r\nCRS-2672: Attempting to start 'ora.mdnsd' on 'zmsrv2'\r\nCRS-2672: Attempting to start 'ora.evmd' on 'zmsrv2'\r\nCRS-2676: Start of 'ora.mdnsd' on 'zmsrv2' succeeded\r\nCRS-2676: Start of 'ora.evmd' on 'zmsrv2' succeeded\r\nCRS-2672: Attempting to start 'ora.gpnpd' on 'zmsrv2'\r\nCRS-2676: Start of 'ora.gpnpd' on 'zmsrv2' succeeded\r\nCRS-2672: Attempting to start 'ora.gipcd' on 'zmsrv2'\r\nCRS-2676: Start of 'ora.gipcd' on 'zmsrv2' succeeded\r\nCRS-2672: Attempting to start 'ora.cssdmonitor' on 'zmsrv2'\r\nCRS-2676: Start of 'ora.cssdmonitor' on 'zmsrv2' succeeded\r\nCRS-2672: Attempting to start 'ora.cssd' on 'zmsrv2'\r\nCRS-2672: Attempting to start 'ora.diskmon' on 'zmsrv2'\r\nCRS-2676: Start of 'ora.diskmon' on 'zmsrv2' succeeded\r\nCRS-2676: Start of 'ora.cssd' on 'zmsrv2' succeeded\r\nCRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'zmsrv2'\r\nCRS-2672: Attempting to start 'ora.ctssd' on 'zmsrv2'\r\nCRS-2676: Start of 'ora.ctssd' on 'zmsrv2' succeeded\r\nCRS-2676: Start of 'ora.cluster_interconnect.haip' on 'zmsrv2' succeeded\r\nCRS-2672: Attempting to start 'ora.asm' on 'zmsrv2'\r\nCRS-2676: Start of 'ora.asm' on 'zmsrv2' succeeded\r\nCRS-2672: Attempting to start 'ora.storage' on 'zmsrv2'\r\nCRS-2676: Start of 'ora.storage' on 'zmsrv2' succeeded\r\nCRS-2672: Attempting to start 'ora.crf' on 'zmsrv2'\r\nCRS-2676: Start of 'ora.crf' on 'zmsrv2' succeeded\r\nCRS-2672: Attempting to start 'ora.crsd' on 'zmsrv2'\r\nCRS-2676: Start of 'ora.crsd' on 'zmsrv2' succeeded\r\nCRS-6017: Processing resource auto-start for servers: zmsrv2\r\nCRS-2672: Attempting to start 'ora.net1.network' on 'zmsrv2'\r\nCRS-2676: Start of 'ora.net1.network' on 'zmsrv2' succeeded\r\nCRS-2672: Attempting to start 'ora.ons' on 'zmsrv2'\r\nCRS-2676: Start of 'ora.ons' on 'zmsrv2' succeeded\r\nCRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'zmsrv1'\r\nCRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'zmsrv1' succeeded\r\nCRS-2673: Attempting to stop 'ora.scan1.vip' on 'zmsrv1'\r\nCRS-2677: Stop of 'ora.scan1.vip' on 'zmsrv1' succeeded\r\nCRS-2672: Attempting to start 'ora.scan1.vip' on 'zmsrv2'\r\nCRS-2676: Start of 'ora.scan1.vip' on 'zmsrv2' succeeded\r\nCRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on 'zmsrv2'\r\nCRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on 'zmsrv2' succeeded\r\nCRS-6016: Resource auto-start has completed for server zmsrv2\r\nCRS-6024: Completed start of Oracle Cluster Ready Services-managed resources\r\nCRS-4123: Oracle High Availability Services has been started.\r\n2018\/05\/31 18:46:29 CLSRSC-343: Successfully started Oracle Clusterware stack\r\n\r\n2018\/05\/31 18:46:44 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded<\/pre>\n

\"\"
\n\"\"
\n\"\"
\n\"\"<\/p>\n

\n

[collapse]<\/div>\n<\/div>\n<\/div>\n\n\n
\n
\nCriando os Discos com ASMCA\n<\/div>\n
\n<\/p>\n

\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"<\/p>\n

\"\"<\/p>\n

\n

[collapse]<\/div>\n<\/div>\n<\/div>\n\n

Com o usu\u00e1rio Oracle execute o procedimento abaixo:<\/strong><\/p>\n\n

\n
\nInstalando o RDBMS\n<\/div>\n
\n<\/p>\n

\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"
\n\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"
\n\"\"
\n\"\"
\n\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\n

[collapse]<\/div>\n<\/div>\n<\/div>\n\n\n
\n
\nCriando o Banco de Dados com o DBCA\n<\/div>\n
\n<\/p>\n

\"\"
\n\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\"\"<\/p>\n

\n

[collapse]<\/div>\n<\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"

Neste artigo vamos instalar o Oracle RAC 12c\u00a0\u00a0(12.1) no Oracle Linux 6 Usando VirtualBox 5, preferi iniciar pelo Oracle 12.1, para podermos realizar a migra\u00e7\u00e3o para o Oracle 12.2 em um novo artigo. Para come\u00e7ar vamos baixar os instaladores do Oracle. Oracle Database 12c Release 1 (12.1.0.2.0) for Linux x86-64 http:\/\/www.oracle.com\/technetwork\/database\/enterprise-edition\/downloads\/index.html Oracle Database 12c Release 1 Grid Infrastructure (12.1.0.2.0) for Linux x86-64 http:\/\/www.oracle.com\/technetwork\/database\/enterprise-edition\/downloads\/database12c-linux-download-2240591.html Criando a M\u00e1quina Virtual Antes de iniciar, crie uma pasta\u00a0 com o[…]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[21],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts\/2076"}],"collection":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/comments?post=2076"}],"version-history":[{"count":0,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts\/2076\/revisions"}],"wp:attachment":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/media?parent=2076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/categories?post=2076"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/tags?post=2076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}