Re: [oracle_br] Reinstalação do RAC
Rodrigo, nao tinha apagado o conteudo do OCR e do Voting. Seguindo o note 239998.1 do metalink fornecido pelo Ivan Schuster recebi um erro após rodar o root.sh... ## [r...@rac1 oracle]# /u01/app/oracle/product/10.2.0/crs/root.sh WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root WARNING: directory '/u01/app/oracle/product' is not owned by root WARNING: directory '/u01/app/oracle' is not owned by root WARNING: directory '/u01/app' is not owned by root WARNING: directory '/u01' is not owned by root Checking to see if Oracle CRS stack is already configured Setting the permissions on OCR backup directory Setting up NS directories Failed to upgrade Oracle Cluster Registry configuration ### Após isso recebo um erro do primeiro assitente chamado (Oracle Notification Server Configuration Assitant) ### Output generated from configuration assistant Oracle Notification Server Configuration Assistant: Command = /u01/app/oracle/product/10.2.0/crs/bin/racgons add_config rac1:6200 rac2:6200 Configuration assistant Oracle Notification Server Configuration Assistant failed - The /u01/app/oracle/product/10.2.0/crs/cfgtoollogs/configToolFailedCommands script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.- ### qualquer ajuda é bem vinda. Obrigado. Alexandre Tenorio. From: Rodrigo Mufalani mufal...@oi.com.br To: Rodrigo Mufalani mufal...@oi.com.br; Alexandre Anselmo atanse...@yahoo.com.br Sent: Monday, March 30, 2009 7:34:53 PM Subject: Re: [oracle_br] Reinstalação do RAC Boa noite Alexandre, Nunca peguei esse erro... Já tentou fazer dd if=/dev/zero of=/dev/seu_path_raw para apagar o conteúdo no Voting Disks e OCR? Já removeu o oratab? Já removeu o ocr.loc Tente seguir um manual da Oracle para desinstalação, nem tudo está debaixo de sua Oracle Home. --- Atenciosamente, Rodrigo Mufalani OCP 11g 10g OCE RAC 10g R2 mufal...@oi.com.br http://mufalani.blogspot.com - Mensagem original de atanse...@yahoo.com.br - Pessoal, mais uma vez venho recorrer aos gurus porque ja pesquisei em tudo que é canto e nao consegui resolver. Ganhei um lindo presente que foi reinstalar um RAC. Isso mesmo REINSTALAR. Removi tudo pelo OUI, removi todas as pastas, inclusive o que tinha no /etc/init.d, enfim... Na hora de reinstalar quando vou checar os pre-requisitos estou visualizando um problema que vou postar abaixo. Ja adianto que tentei ignorar o problema e continuar com a instalacao mas deu pau. Ao rodar o runcluvfy recebo esse erro: ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose Checking system requirements for 'crs'... No checks registered for this product. Pre-check for cluster services setup was unsuccessful on all the nodes. Segue o log completo do ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose [ora...@rac1 cluvfy]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose Performing pre-checks for cluster services setup Checking node reachability... Check: Node reachability from node rac1 Destination Node Reachable? rac2 yes rac1 yes Result: Node reachability check passed from node rac1. Checking user equivalence... Check: User equivalence for user oracle Node Name Comment rac2 passed rac1 passed Result: User equivalence check passed for user oracle. Checking administrative privileges... Check: Existence of user oracle Node Name User Exists Comment rac2 yes passed rac1 yes passed Result: User existence check passed for oracle. Check: Existence of group oinstall Node Name Status Group ID rac2 exists 501 rac1 exists 501 Result: Group existence check passed for oinstall. Check: Membership of user oracle in group oinstall [as Primary] Node Name User Exists Group Exists User in Group Primary Comment rac2 yes yes yes yes passed rac1 yes yes yes yes passed Result: Membership check for user oracle in group oinstall [as Primary] passed. Administrative privileges check passed. Checking node connectivity... Interface information for node rac2
Re: [oracle_br] Reinstalação do RAC
Alexandre, Sugiro que apagues tudo usando a note passada pelo Ivan: 239998.1 e ainda verifique se está tudo realmente removido com o seguinte passo-a-passo: /etc/init.d/init.evmd stop /etc/init.d/init.evmd disable /etc/init.d/init.cssd stop /etc/init.d/init.cssd disable /etc/init.d/init.crsd stop /etc/init.d/init.crsd disable /etc/init.d/init.crs stop /etc/init.d/init.crs disable rm -rf /etc/oracle /etc/oraInst.loc /etc/oratab rm -rf /etc/init.d/init.crsd /etc/init.d/init.crs /etc/init.d/init.cssd /etc/init.d/init.evmd rm -rf /etc/rc2.d/K96init.crs /etc/rc2.d/S96init.crs etc/rc3.d/K96init.crs /etc/rc3.d/S96init.crs /etc/rc4.d/K96init.crs /etc/rc4.d/S96init.crs /etc/rc5.d/K96init.crs /etc/rc5.d/S96init.crs /etc/rc.d/rc0.d/K96init.crs /etc/rc.d/rc1.d/K96init.crs /etc/rc.d/rc6.d/K96init.crs /etc/rc.d/rc4.d/K96init.crs cp /etc/inittab.orig /etc/inittab rm -rf /etc/inittab.crs /etc/inittab.no_crs rm -rf /tmp/* rm -rf /tmp/.oracle rm -rf /usr/local/bin/dbhome /usr/local/bin/oraenv /usr/local/bin/coraenv rm -rf /var/tmp/.oracle rm -rf /u01/app/oracle/product/10.2.0/crs/* Após isso tudo, verifique os pré-req´s de configuração do teu RH 5 para a instalação do RAC 10g. Importante, Não deixe passar nada em branco: - Pacotes - Configurações extras de S.O. (kernel, configuação de rede, configuração de confiança e etc - é bastante coisa- ); - Storage compartilhado (raw devices, ocfs - o que tu fores usar -); Ficar percorrendo erro em instalação de RAC é a maior bucha, na teoria/prática, se tiver com todos os pré-reqs atendidos, a instalação do RAC tende a ser amigável... Sucesso, Anderson Haertel Rodrigues Consultor Oracle --- Em ter, 31/3/09, Alexandre Anselmo atanse...@yahoo.com.br escreveu: De: Alexandre Anselmo atanse...@yahoo.com.br Assunto: Re: [oracle_br] Reinstalação do RAC Para: Rodrigo Mufalani mufal...@oi.com.br Cc: oracle_br@yahoogrupos.com.br Data: Terça-feira, 31 de Março de 2009, 11:43 Rodrigo, nao tinha apagado o conteudo do OCR e do Voting. Seguindo o note 239998.1 do metalink fornecido pelo Ivan Schuster recebi um erro após rodar o root.sh... ## [r...@rac1 oracle]# /u01/app/oracle/product/10.2.0/crs/root.sh WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root WARNING: directory '/u01/app/oracle/product' is not owned by root WARNING: directory '/u01/app/oracle' is not owned by root WARNING: directory '/u01/app' is not owned by root WARNING: directory '/u01' is not owned by root Checking to see if Oracle CRS stack is already configured Setting the permissions on OCR backup directory Setting up NS directories Failed to upgrade Oracle Cluster Registry configuration ### Após isso recebo um erro do primeiro assitente chamado (Oracle Notification Server Configuration Assitant) ### Output generated from configuration assistant Oracle Notification Server Configuration Assistant: Command = /u01/app/oracle/product/10.2.0/crs/bin/racgons add_config rac1:6200 rac2:6200 Configuration assistant Oracle Notification Server Configuration Assistant failed - The /u01/app/oracle/product/10.2.0/crs/cfgtoollogs/configToolFailedCommands script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.- ### qualquer ajuda é bem vinda. Obrigado. Alexandre Tenorio. From: Rodrigo Mufalani mufal...@oi.com.br To: Rodrigo Mufalani mufal...@oi.com.br; Alexandre Anselmo atanse...@yahoo.com.br Sent: Monday, March 30, 2009 7:34:53 PM Subject: Re: [oracle_br] Reinstalação do RAC Boa noite Alexandre, Nunca peguei esse erro... Já tentou fazer dd if=/dev/zero of=/dev/seu_path_raw para apagar o conteúdo no Voting Disks e OCR? Já removeu o oratab? Já removeu o ocr.loc Tente seguir um manual da Oracle para desinstalação, nem tudo está debaixo de sua Oracle Home. --- Atenciosamente, Rodrigo Mufalani OCP 11g 10g OCE RAC 10g R2 mufal...@oi.com.br http://mufalani.blogspot.com - Mensagem original de atanse...@yahoo.com.br - Pessoal, mais uma vez venho recorrer aos gurus porque ja pesquisei em tudo que é canto e nao consegui resolver. Ganhei um lindo presente que foi reinstalar um RAC. Isso mesmo REINSTALAR. Removi tudo pelo OUI, removi todas as pastas, inclusive o que tinha no /etc/init.d, enfim... Na hora de reinstalar quando vou checar os pre-requisitos estou visualizando um problema que vou postar abaixo. Ja adianto que tentei ignorar o problema e
Re: [oracle_br] Reinstalação do RAC
Anderson, já fiz isso e continuo com problemas. Estou seguindo o note 564580.1 para instalação. Voce sabe dizer algum outro guia de instalação para o RHEL 5? Obrigado pela atenção. Ats, Alexandre Tenorio. From: Anderson Haertel Rodrigues anderson_hr_lis...@yahoo.com.br To: oracle_br@yahoogrupos.com.br Sent: Tuesday, March 31, 2009 12:49:59 PM Subject: Re: [oracle_br] Reinstalação do RAC Alexandre, Sugiro que apagues tudo usando a note passada pelo Ivan: 239998.1 e ainda verifique se está tudo realmente removido com o seguinte passo-a-passo: /etc/init.d/ init.evmd stop /etc/init.d/ init.evmd disable /etc/init.d/ init.cssd stop /etc/init.d/ init.cssd disable /etc/init.d/ init.crsd stop /etc/init.d/ init.crsd disable /etc/init.d/ init.crs stop /etc/init.d/ init.crs disable rm -rf /etc/oracle /etc/oraInst. loc /etc/oratab rm -rf /etc/init.d/ init.crsd /etc/init.d/ init.crs /etc/init.d/ init.cssd /etc/init.d/ init.evmd rm -rf /etc/rc2.d/K96init. crs /etc/rc2.d/S96init. crs etc/rc3.d/K96init. crs /etc/rc3.d/S96init. crs /etc/rc4.d/K96init. crs /etc/rc4.d/S96init. crs /etc/rc5.d/K96init. crs /etc/rc5.d/S96init. crs /etc/rc.d/rc0. d/K96init. crs /etc/rc.d/rc1. d/K96init. crs /etc/rc.d/rc6. d/K96init. crs /etc/rc.d/rc4. d/K96init. crs cp /etc/inittab. orig /etc/inittab rm -rf /etc/inittab. crs /etc/inittab. no_crs rm -rf /tmp/* rm -rf /tmp/.oracle rm -rf /usr/local/bin/ dbhome /usr/local/bin/ oraenv /usr/local/bin/ coraenv rm -rf /var/tmp/.oracle rm -rf /u01/app/oracle/ product/10. 2.0/crs/* Após isso tudo, verifique os pré-req´s de configuração do teu RH 5 para a instalação do RAC 10g. Importante, Não deixe passar nada em branco: - Pacotes - Configurações extras de S.O. (kernel, configuação de rede, configuração de confiança e etc - é bastante coisa- ); - Storage compartilhado (raw devices, ocfs - o que tu fores usar -); Ficar percorrendo erro em instalação de RAC é a maior bucha, na teoria/prática, se tiver com todos os pré-reqs atendidos, a instalação do RAC tende a ser amigável... Sucesso, Anderson Haertel Rodrigues Consultor Oracle --- Em ter, 31/3/09, Alexandre Anselmo atanse...@yahoo. com.br escreveu: De: Alexandre Anselmo atanse...@yahoo. com.br Assunto: Re: [oracle_br] Reinstalação do RAC Para: Rodrigo Mufalani mufal...@oi. com.br Cc: oracle...@yahoogrup os.com.br Data: Terça-feira, 31 de Março de 2009, 11:43 Rodrigo, nao tinha apagado o conteudo do OCR e do Voting. Seguindo o note 239998.1 do metalink fornecido pelo Ivan Schuster recebi um erro após rodar o root.sh... # # [r...@rac1 oracle]# /u01/app/oracle/ product/10. 2.0/crs/root. sh WARNING: directory '/u01/app/oracle/ product/10. 2.0' is not owned by root WARNING: directory '/u01/app/oracle/ product' is not owned by root WARNING: directory '/u01/app/oracle' is not owned by root WARNING: directory '/u01/app' is not owned by root WARNING: directory '/u01' is not owned by root Checking to see if Oracle CRS stack is already configured Setting the permissions on OCR backup directory Setting up NS directories Failed to upgrade Oracle Cluster Registry configuration # # # Após isso recebo um erro do primeiro assitente chamado (Oracle Notification Server Configuration Assitant) # # # Output generated from configuration assistant Oracle Notification Server Configuration Assistant: Command = /u01/app/oracle/ product/10. 2.0/crs/bin/ racgons add_config rac1:6200 rac2:6200 Configuration assistant Oracle Notification Server Configuration Assistant failed - - - - - - The /u01/app/oracle/ product/10. 2.0/crs/cfgtooll ogs/configToolFa iledCommands script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.--- - - - - - -- # # # qualquer ajuda é bem vinda. Obrigado. Alexandre Tenorio. _ _ __ From: Rodrigo Mufalani mufal...@oi. com.br To: Rodrigo Mufalani mufal...@oi. com.br; Alexandre Anselmo atanse...@yahoo. com.br Sent: Monday, March 30, 2009 7:34:53 PM Subject: Re: [oracle_br] Reinstalação do RAC Boa noite Alexandre, Nunca peguei esse erro... Já tentou fazer dd if=/dev/zero of=/dev/seu_ path_raw para apagar o conteúdo no Voting Disks e OCR? Já removeu o oratab? Já removeu o ocr.loc Tente seguir um manual da Oracle para desinstalação, nem tudo está debaixo de sua Oracle Home. --- Atenciosamente, Rodrigo Mufalani OCP 11g 10g OCE RAC 10g R2 mufal...@oi. com.br http://mufalani. blogspot. com - Mensagem original de atanse...@yahoo. com.br
Re: [oracle_br] Reinstalação do RAC
Alexandre boa tarde, Ontem vi que tinha achado uma note do metalink explicando como reinstalar o CRS certo? Seguinte quando precisei reinstalar ele as únicas coisas que fiz foi: 1) Apagar o diretório /etc/oracle 2) Apagar o ORACLE_HOME_CRS 3) Verificar os privilégios do OCR e do Voting caso seja em rawdevice (/dev/raw/*) - Original Message - From: Alexandre Anselmo To: oracle_br@yahoogrupos.com.br Sent: Tuesday, March 31, 2009 2:46 PM Subject: Re: [oracle_br] Reinstalação do RAC Anderson, já fiz isso e continuo com problemas. Estou seguindo o note 564580.1 para instalação. Voce sabe dizer algum outro guia de instalação para o RHEL 5? Obrigado pela atenção. Ats, Alexandre Tenorio. From: Anderson Haertel Rodrigues anderson_hr_lis...@yahoo.com.br To: oracle_br@yahoogrupos.com.br Sent: Tuesday, March 31, 2009 12:49:59 PM Subject: Re: [oracle_br] Reinstalação do RAC Alexandre, Sugiro que apagues tudo usando a note passada pelo Ivan: 239998.1 e ainda verifique se está tudo realmente removido com o seguinte passo-a-passo: /etc/init.d/ init.evmd stop /etc/init.d/ init.evmd disable /etc/init.d/ init.cssd stop /etc/init.d/ init.cssd disable /etc/init.d/ init.crsd stop /etc/init.d/ init.crsd disable /etc/init.d/ init.crs stop /etc/init.d/ init.crs disable rm -rf /etc/oracle /etc/oraInst. loc /etc/oratab rm -rf /etc/init.d/ init.crsd /etc/init.d/ init.crs /etc/init.d/ init.cssd /etc/init.d/ init.evmd rm -rf /etc/rc2.d/K96init. crs /etc/rc2.d/S96init. crs etc/rc3.d/K96init. crs /etc/rc3.d/S96init. crs /etc/rc4.d/K96init. crs /etc/rc4.d/S96init. crs /etc/rc5.d/K96init. crs /etc/rc5.d/S96init. crs /etc/rc.d/rc0. d/K96init. crs /etc/rc.d/rc1. d/K96init. crs /etc/rc.d/rc6. d/K96init. crs /etc/rc.d/rc4. d/K96init. crs cp /etc/inittab. orig /etc/inittab rm -rf /etc/inittab. crs /etc/inittab. no_crs rm -rf /tmp/* rm -rf /tmp/.oracle rm -rf /usr/local/bin/ dbhome /usr/local/bin/ oraenv /usr/local/bin/ coraenv rm -rf /var/tmp/.oracle rm -rf /u01/app/oracle/ product/10. 2.0/crs/* Após isso tudo, verifique os pré-req´s de configuração do teu RH 5 para a instalação do RAC 10g. Importante, Não deixe passar nada em branco: - Pacotes - Configurações extras de S.O. (kernel, configuação de rede, configuração de confiança e etc - é bastante coisa- ); - Storage compartilhado (raw devices, ocfs - o que tu fores usar -); Ficar percorrendo erro em instalação de RAC é a maior bucha, na teoria/prática, se tiver com todos os pré-reqs atendidos, a instalação do RAC tende a ser amigável... Sucesso, Anderson Haertel Rodrigues Consultor Oracle --- Em ter, 31/3/09, Alexandre Anselmo atanse...@yahoo. com.br escreveu: De: Alexandre Anselmo atanse...@yahoo. com.br Assunto: Re: [oracle_br] Reinstalação do RAC Para: Rodrigo Mufalani mufal...@oi. com.br Cc: oracle...@yahoogrup os.com.br Data: Terça-feira, 31 de Março de 2009, 11:43 Rodrigo, nao tinha apagado o conteudo do OCR e do Voting. Seguindo o note 239998.1 do metalink fornecido pelo Ivan Schuster recebi um erro após rodar o root.sh... # # [r...@rac1 oracle]# /u01/app/oracle/ product/10. 2.0/crs/root. sh WARNING: directory '/u01/app/oracle/ product/10. 2.0' is not owned by root WARNING: directory '/u01/app/oracle/ product' is not owned by root WARNING: directory '/u01/app/oracle' is not owned by root WARNING: directory '/u01/app' is not owned by root WARNING: directory '/u01' is not owned by root Checking to see if Oracle CRS stack is already configured Setting the permissions on OCR backup directory Setting up NS directories Failed to upgrade Oracle Cluster Registry configuration # # # Após isso recebo um erro do primeiro assitente chamado (Oracle Notification Server Configuration Assitant) # # # Output generated from configuration assistant Oracle Notification Server Configuration Assistant: Command = /u01/app/oracle/ product/10. 2.0/crs/bin/ racgons add_config rac1:6200 rac2:6200 Configuration assistant Oracle Notification Server Configuration Assistant failed - - - - - - The /u01/app/oracle/ product/10. 2.0/crs/cfgtooll ogs/configToolFa iledCommands script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.--- - - - - - -- # # # qualquer ajuda é bem vinda. Obrigado. Alexandre Tenorio. _ _ __ From
Re: [oracle_br] Reinstalação do RAC
Willian, voce poderia me dar mais detalhes sobre as permissões do OCR e do Voting? O que tenho configurado no /etc/rc.local é o seguinte: # # Oracle Cluster Registry (OCR) devices # chown root:oinstall /dev/mapper/mpathocr chmod 660 /dev/mapper/mpathocr raw /dev/raw/raw1 /dev/mapper/mpathocr sleep 5 chown root:oinstall /dev/raw/raw1 chmod 660 /dev/raw/raw1 # # Oracle Cluster Voting disks # chown oracle:oinstall /dev/mapper/mpathvoting chmod 660 /dev/mapper/mpathvoting raw /dev/raw/raw2 /dev/mapper/mpathvoting sleep 5 chown oracle:oinstall /dev/raw/raw2 chmod 660 /dev/raw/raw2uinte: Pelo que li é isto mesmo. Você acha que está faltando algo? Ats, Alexandre Tenorio. From: Willian Fernando Frasson wfras...@yahoo.com.br To: oracle_br@yahoogrupos.com.br Sent: Tuesday, March 31, 2009 2:51:35 PM Subject: Re: [oracle_br] Reinstalação do RAC Alexandre boa tarde, Ontem vi que tinha achado uma note do metalink explicando como reinstalar o CRS certo? Seguinte quando precisei reinstalar ele as únicas coisas que fiz foi: 1) Apagar o diretório /etc/oracle 2) Apagar o ORACLE_HOME_ CRS 3) Verificar os privilégios do OCR e do Voting caso seja em rawdevice (/dev/raw/*) - Original Message - From: Alexandre Anselmo To: oracle...@yahoogrup os.com.br Sent: Tuesday, March 31, 2009 2:46 PM Subject: Re: [oracle_br] Reinstalação do RAC Anderson, já fiz isso e continuo com problemas. Estou seguindo o note 564580.1 para instalação. Voce sabe dizer algum outro guia de instalação para o RHEL 5? Obrigado pela atenção. Ats, Alexandre Tenorio. _ _ __ From: Anderson Haertel Rodrigues anderson_hr_ lis...@yahoo. com.br To: oracle...@yahoogrup os.com.br Sent: Tuesday, March 31, 2009 12:49:59 PM Subject: Re: [oracle_br] Reinstalação do RAC Alexandre, Sugiro que apagues tudo usando a note passada pelo Ivan: 239998.1 e ainda verifique se está tudo realmente removido com o seguinte passo-a-passo: /etc/init.d/ init.evmd stop /etc/init.d/ init.evmd disable /etc/init.d/ init.cssd stop /etc/init.d/ init.cssd disable /etc/init.d/ init.crsd stop /etc/init.d/ init.crsd disable /etc/init.d/ init.crs stop /etc/init.d/ init.crs disable rm -rf /etc/oracle /etc/oraInst. loc /etc/oratab rm -rf /etc/init.d/ init.crsd /etc/init.d/ init.crs /etc/init.d/ init.cssd /etc/init.d/ init.evmd rm -rf /etc/rc2.d/K96init. crs /etc/rc2.d/S96init. crs etc/rc3.d/K96init. crs /etc/rc3.d/S96init. crs /etc/rc4.d/K96init. crs /etc/rc4.d/S96init. crs /etc/rc5.d/K96init. crs /etc/rc5.d/S96init. crs /etc/rc.d/rc0. d/K96init. crs /etc/rc.d/rc1. d/K96init. crs /etc/rc.d/rc6. d/K96init. crs /etc/rc.d/rc4. d/K96init. crs cp /etc/inittab. orig /etc/inittab rm -rf /etc/inittab. crs /etc/inittab. no_crs rm -rf /tmp/* rm -rf /tmp/.oracle rm -rf /usr/local/bin/ dbhome /usr/local/bin/ oraenv /usr/local/bin/ coraenv rm -rf /var/tmp/.oracle rm -rf /u01/app/oracle/ product/10. 2.0/crs/* Após isso tudo, verifique os pré-req´s de configuração do teu RH 5 para a instalação do RAC 10g. Importante, Não deixe passar nada em branco: - Pacotes - Configurações extras de S.O. (kernel, configuação de rede, configuração de confiança e etc - é bastante coisa- ); - Storage compartilhado (raw devices, ocfs - o que tu fores usar -); Ficar percorrendo erro em instalação de RAC é a maior bucha, na teoria/prática, se tiver com todos os pré-reqs atendidos, a instalação do RAC tende a ser amigável... Sucesso, Anderson Haertel Rodrigues Consultor Oracle --- Em ter, 31/3/09, Alexandre Anselmo atanse...@yahoo. com.br escreveu: De: Alexandre Anselmo atanse...@yahoo. com.br Assunto: Re: [oracle_br] Reinstalação do RAC Para: Rodrigo Mufalani mufal...@oi. com.br Cc: oracle...@yahoogrup os.com.br Data: Terça-feira, 31 de Março de 2009, 11:43 Rodrigo, nao tinha apagado o conteudo do OCR e do Voting. Seguindo o note 239998.1 do metalink fornecido pelo Ivan Schuster recebi um erro após rodar o root.sh... # # [r...@rac1 oracle]# /u01/app/oracle/ product/10. 2.0/crs/root. sh WARNING: directory '/u01/app/oracle/ product/10. 2.0' is not owned by root WARNING: directory '/u01/app/oracle/ product' is not owned by root WARNING: directory '/u01/app/oracle' is not owned by root WARNING: directory '/u01/app' is not owned by root WARNING: directory '/u01' is not owned by root Checking to see if Oracle CRS stack is already configured Setting the permissions on OCR backup directory Setting up NS directories Failed to upgrade Oracle Cluster Registry configuration # # # Após isso recebo um erro do primeiro assitente chamado (Oracle Notification Server Configuration Assitant) # # # Output generated from configuration assistant Oracle Notification Server Configuration Assistant: Command = /u01/app/oracle/ product/10. 2.0/crs/bin/ racgons add_config rac1:6200 rac2:6200
Re: [oracle_br] Reinstalação do RAC
Com relação aos Pré Requisitos utilize esse documento como base: http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php Só considere que você vai instalar no Rhel5 e nesse documento não tem a chave de confiança entre os nós (crie com ssh-keygen) - Original Message - From: Alexandre Anselmo To: oracle_br@yahoogrupos.com.br Sent: Tuesday, March 31, 2009 3:40 PM Subject: Re: [oracle_br] Reinstalação do RAC Willian, voce poderia me dar mais detalhes sobre as permissões do OCR e do Voting? O que tenho configurado no /etc/rc.local é o seguinte: # # Oracle Cluster Registry (OCR) devices # chown root:oinstall /dev/mapper/mpathocr chmod 660 /dev/mapper/mpathocr raw /dev/raw/raw1 /dev/mapper/mpathocr sleep 5 chown root:oinstall /dev/raw/raw1 chmod 660 /dev/raw/raw1 # # Oracle Cluster Voting disks # chown oracle:oinstall /dev/mapper/mpathvoting chmod 660 /dev/mapper/mpathvoting raw /dev/raw/raw2 /dev/mapper/mpathvoting sleep 5 chown oracle:oinstall /dev/raw/raw2 chmod 660 /dev/raw/raw2uinte: Pelo que li é isto mesmo. Você acha que está faltando algo? Ats, Alexandre Tenorio. From: Willian Fernando Frasson wfras...@yahoo.com.br To: oracle_br@yahoogrupos.com.br Sent: Tuesday, March 31, 2009 2:51:35 PM Subject: Re: [oracle_br] Reinstalação do RAC Alexandre boa tarde, Ontem vi que tinha achado uma note do metalink explicando como reinstalar o CRS certo? Seguinte quando precisei reinstalar ele as únicas coisas que fiz foi: 1) Apagar o diretório /etc/oracle 2) Apagar o ORACLE_HOME_ CRS 3) Verificar os privilégios do OCR e do Voting caso seja em rawdevice (/dev/raw/*) - Original Message - From: Alexandre Anselmo To: oracle...@yahoogrup os.com.br Sent: Tuesday, March 31, 2009 2:46 PM Subject: Re: [oracle_br] Reinstalação do RAC Anderson, já fiz isso e continuo com problemas. Estou seguindo o note 564580.1 para instalação. Voce sabe dizer algum outro guia de instalação para o RHEL 5? Obrigado pela atenção. Ats, Alexandre Tenorio. _ _ __ From: Anderson Haertel Rodrigues anderson_hr_ lis...@yahoo. com.br To: oracle...@yahoogrup os.com.br Sent: Tuesday, March 31, 2009 12:49:59 PM Subject: Re: [oracle_br] Reinstalação do RAC Alexandre, Sugiro que apagues tudo usando a note passada pelo Ivan: 239998.1 e ainda verifique se está tudo realmente removido com o seguinte passo-a-passo: /etc/init.d/ init.evmd stop /etc/init.d/ init.evmd disable /etc/init.d/ init.cssd stop /etc/init.d/ init.cssd disable /etc/init.d/ init.crsd stop /etc/init.d/ init.crsd disable /etc/init.d/ init.crs stop /etc/init.d/ init.crs disable rm -rf /etc/oracle /etc/oraInst. loc /etc/oratab rm -rf /etc/init.d/ init.crsd /etc/init.d/ init.crs /etc/init.d/ init.cssd /etc/init.d/ init.evmd rm -rf /etc/rc2.d/K96init. crs /etc/rc2.d/S96init. crs etc/rc3.d/K96init. crs /etc/rc3.d/S96init. crs /etc/rc4.d/K96init. crs /etc/rc4.d/S96init. crs /etc/rc5.d/K96init. crs /etc/rc5.d/S96init. crs /etc/rc.d/rc0. d/K96init. crs /etc/rc.d/rc1. d/K96init. crs /etc/rc.d/rc6. d/K96init. crs /etc/rc.d/rc4. d/K96init. crs cp /etc/inittab. orig /etc/inittab rm -rf /etc/inittab. crs /etc/inittab. no_crs rm -rf /tmp/* rm -rf /tmp/.oracle rm -rf /usr/local/bin/ dbhome /usr/local/bin/ oraenv /usr/local/bin/ coraenv rm -rf /var/tmp/.oracle rm -rf /u01/app/oracle/ product/10. 2.0/crs/* Após isso tudo, verifique os pré-req´s de configuração do teu RH 5 para a instalação do RAC 10g. Importante, Não deixe passar nada em branco: - Pacotes - Configurações extras de S.O. (kernel, configuação de rede, configuração de confiança e etc - é bastante coisa- ); - Storage compartilhado (raw devices, ocfs - o que tu fores usar -); Ficar percorrendo erro em instalação de RAC é a maior bucha, na teoria/prática, se tiver com todos os pré-reqs atendidos, a instalação do RAC tende a ser amigável... Sucesso, Anderson Haertel Rodrigues Consultor Oracle --- Em ter, 31/3/09, Alexandre Anselmo atanse...@yahoo. com.br escreveu: De: Alexandre Anselmo atanse...@yahoo. com.br Assunto: Re: [oracle_br] Reinstalação do RAC Para: Rodrigo Mufalani mufal...@oi. com.br Cc: oracle...@yahoogrup os.com.br Data: Terça-feira, 31 de Março de 2009, 11:43 Rodrigo, nao tinha apagado o conteudo do OCR e do Voting. Seguindo o note 239998.1 do metalink fornecido pelo Ivan Schuster recebi um erro após rodar o root.sh... # # [r...@rac1 oracle]# /u01/app/oracle/ product/10. 2.0/crs/root. sh WARNING: directory '/u01/app/oracle/ product/10. 2.0' is not owned by root WARNING: directory '/u01/app/oracle/ product' is not owned by root WARNING: directory '/u01/app/oracle' is not owned by root WARNING: directory
[oracle_br] Reinstalação do RAC
Pessoal, mais uma vez venho recorrer aos gurus porque ja pesquisei em tudo que é canto e nao consegui resolver. Ganhei um lindo presente que foi reinstalar um RAC. Isso mesmo REINSTALAR. Removi tudo pelo OUI, removi todas as pastas, inclusive o que tinha no /etc/init.d, enfim... Na hora de reinstalar quando vou checar os pre-requisitos estou visualizando um problema que vou postar abaixo. Ja adianto que tentei ignorar o problema e continuar com a instalacao mas deu pau. Ao rodar o runcluvfy recebo esse erro: ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose Checking system requirements for 'crs'... No checks registered for this product. Pre-check for cluster services setup was unsuccessful on all the nodes. Segue o log completo do ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose [ora...@rac1 cluvfy]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose Performing pre-checks for cluster services setup Checking node reachability... Check: Node reachability from node rac1 Destination Node Reachable? rac2 yes rac1 yes Result: Node reachability check passed from node rac1. Checking user equivalence... Check: User equivalence for user oracle Node Name Comment rac2 passed rac1 passed Result: User equivalence check passed for user oracle. Checking administrative privileges... Check: Existence of user oracle Node Name User Exists Comment rac2 yes passed rac1 yes passed Result: User existence check passed for oracle. Check: Existence of group oinstall Node Name StatusGroup ID rac2 exists501 rac1 exists501 Result: Group existence check passed for oinstall. Check: Membership of user oracle in group oinstall [as Primary] Node Name User Exists Group Exists User in Group Primary Comment rac2 yes yes yes yes passed rac1 yes yes yes yes passed Result: Membership check for user oracle in group oinstall [as Primary] passed. Administrative privileges check passed. Checking node connectivity... Interface information for node rac2 Interface Name IP Address Subnet -- -- eth0172.19.0.35 172.19.0.0 eth11.0.0.2 1.0.0.0 Interface information for node rac1 Interface Name IP Address Subnet -- -- eth0172.19.0.34 172.19.0.0 eth11.0.0.1 1.0.0.0 Check: Node connectivity of subnet 172.19.0.0 Source Destination Connected? -- -- rac2:eth0 rac1:eth0 yes Result: Node connectivity check passed for subnet 172.19.0.0 with node(s) rac2,rac1. Check: Node connectivity of subnet 1.0.0.0 Source Destination Connected? -- -- rac2:eth1 rac1:eth1 yes Result: Node connectivity check passed for subnet 1.0.0.0 with node(s) rac2,rac1. Suitable interfaces for VIP on subnet 1.0.0.0: rac2 eth1:1.0.0.2 rac1 eth1:1.0.0.1 Suitable interfaces for the private interconnect on subnet 172.19.0.0: rac2 eth0:172.19.0.35 rac1 eth0:172.19.0.34 Result: Node connectivity check passed. Checking system requirements for 'crs'... No checks registered for this
Re: [oracle_br] Reinstalação do RAC
Alexandre No metalink existe um passo a passo para voce desinstalar o clusterware corretamente (doc id 341214.1). 2009/3/30 Alexandre Anselmo atanse...@yahoo.com.br: Pessoal, mais uma vez venho recorrer aos gurus porque ja pesquisei em tudo que é canto e nao consegui resolver. Ganhei um lindo presente que foi reinstalar um RAC. Isso mesmo REINSTALAR. Removi tudo pelo OUI, removi todas as pastas, inclusive o que tinha no /etc/init.d, enfim... Na hora de reinstalar quando vou checar os pre-requisitos estou visualizando um problema que vou postar abaixo. Ja adianto que tentei ignorar o problema e continuar com a instalacao mas deu pau. Ao rodar o runcluvfy recebo esse erro: ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose Checking system requirements for 'crs'... No checks registered for this product. Pre-check for cluster services setup was unsuccessful on all the nodes. Segue o log completo do ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose [ora...@rac1 cluvfy]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose Performing pre-checks for cluster services setup Checking node reachability... Check: Node reachability from node rac1 Destination Node Reachable? rac2 yes rac1 yes Result: Node reachability check passed from node rac1. Checking user equivalence... Check: User equivalence for user oracle Node Name Comment rac2 passed rac1 passed Result: User equivalence check passed for user oracle. Checking administrative privileges... Check: Existence of user oracle Node Name User Exists Comment rac2 yes passed rac1 yes passed Result: User existence check passed for oracle. Check: Existence of group oinstall Node Name Status Group ID rac2 exists 501 rac1 exists 501 Result: Group existence check passed for oinstall. Check: Membership of user oracle in group oinstall [as Primary] Node Name User Exists Group Exists User in Group Primary Comment rac2 yes yes yes yes passed rac1 yes yes yes yes passed Result: Membership check for user oracle in group oinstall [as Primary] passed. Administrative privileges check passed. Checking node connectivity... Interface information for node rac2 Interface Name IP Address Subnet -- -- eth0 172.19.0.35 172.19.0.0 eth1 1.0.0.2 1.0.0.0 Interface information for node rac1 Interface Name IP Address Subnet -- -- eth0 172.19.0.34 172.19.0.0 eth1 1.0.0.1 1.0.0.0 Check: Node connectivity of subnet 172.19.0.0 Source Destination Connected? -- -- rac2:eth0 rac1:eth0 yes Result: Node connectivity check passed for subnet 172.19.0.0 with node(s) rac2,rac1. Check: Node connectivity of subnet 1.0.0.0 Source Destination Connected? -- -- rac2:eth1 rac1:eth1 yes Result: Node connectivity check passed for subnet 1.0.0.0 with node(s) rac2,rac1. Suitable interfaces for VIP on subnet 1.0.0.0: rac2 eth1:1.0.0.2 rac1 eth1:1.0.0.1 Suitable interfaces for the private interconnect on subnet 172.19.0.0: rac2 eth0:172.19.0.35 rac1 eth0:172.19.0.34 Result: Node connectivity check passed. Checking system requirements for 'crs'... No checks registered for this product. Pre-check for cluster services setup was unsuccessful on all the nodes.
Re: [oracle_br] Reinstalação do RAC
Ou melhor, Doc ID: 239998.1 2009/3/30 Ivan Ricardo Schuster ivanr...@gmail.com: Alexandre No metalink existe um passo a passo para voce desinstalar o clusterware corretamente (doc id 341214.1). 2009/3/30 Alexandre Anselmo atanse...@yahoo.com.br: Pessoal, mais uma vez venho recorrer aos gurus porque ja pesquisei em tudo que é canto e nao consegui resolver. Ganhei um lindo presente que foi reinstalar um RAC. Isso mesmo REINSTALAR. Removi tudo pelo OUI, removi todas as pastas, inclusive o que tinha no /etc/init.d, enfim... Na hora de reinstalar quando vou checar os pre-requisitos estou visualizando um problema que vou postar abaixo. Ja adianto que tentei ignorar o problema e continuar com a instalacao mas deu pau. Ao rodar o runcluvfy recebo esse erro: ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose Checking system requirements for 'crs'... No checks registered for this product. Pre-check for cluster services setup was unsuccessful on all the nodes. Segue o log completo do ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose [ora...@rac1 cluvfy]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose Performing pre-checks for cluster services setup Checking node reachability... Check: Node reachability from node rac1 Destination Node Reachable? rac2 yes rac1 yes Result: Node reachability check passed from node rac1. Checking user equivalence... Check: User equivalence for user oracle Node Name Comment rac2 passed rac1 passed Result: User equivalence check passed for user oracle. Checking administrative privileges... Check: Existence of user oracle Node Name User Exists Comment rac2 yes passed rac1 yes passed Result: User existence check passed for oracle. Check: Existence of group oinstall Node Name Status Group ID rac2 exists 501 rac1 exists 501 Result: Group existence check passed for oinstall. Check: Membership of user oracle in group oinstall [as Primary] Node Name User Exists Group Exists User in Group Primary Comment rac2 yes yes yes yes passed rac1 yes yes yes yes passed Result: Membership check for user oracle in group oinstall [as Primary] passed. Administrative privileges check passed. Checking node connectivity... Interface information for node rac2 Interface Name IP Address Subnet -- -- eth0 172.19.0.35 172.19.0.0 eth1 1.0.0.2 1.0.0.0 Interface information for node rac1 Interface Name IP Address Subnet -- -- eth0 172.19.0.34 172.19.0.0 eth1 1.0.0.1 1.0.0.0 Check: Node connectivity of subnet 172.19.0.0 Source Destination Connected? -- -- rac2:eth0 rac1:eth0 yes Result: Node connectivity check passed for subnet 172.19.0.0 with node(s) rac2,rac1. Check: Node connectivity of subnet 1.0.0.0 Source Destination Connected? -- -- rac2:eth1 rac1:eth1 yes Result: Node connectivity check passed for subnet 1.0.0.0 with node(s) rac2,rac1. Suitable interfaces for VIP on subnet 1.0.0.0: rac2 eth1:1.0.0.2 rac1 eth1:1.0.0.1 Suitable interfaces for the private interconnect on subnet 172.19.0.0: rac2 eth0:172.19.0.35 rac1 eth0:172.19.0.34 Result: Node connectivity check passed. Checking system requirements for 'crs'... No checks registered for this product. Pre-check