참고글 및 문제해결/관련, 참고글

Oracle 11gR2 Deinstall Grid Infrastructure(사이트링크)

에몽이ㅋ 2012. 9. 17. 22:29
http://fiedizheng.wordpress.com/2011/06/21/what-to-do-after-failed-11gr2-grid-infrastructure-cluster-installation/ 

When you installing the new 11gR2 Grid Infrastructure for RAC , you’re potentially will get a failed root.sh if the preparation was not configured properly.  But don’t panic, you can do following steps to fix the issue

A. Deconfigure and Reconfigure Grid Infrastructure Cluster

1. Carefully review the log files from $GRID_HOME/cfgtoollogs/crsconfig and $GRID_HOME/log

2. Starting from 11.2.0.2 and onwards, root.sh is restartable (yeeayy!), otherwise you would need to deconfigure the grid infrastructure installation by running below command

  • login as root and run $GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force on all nodes, except the last one.
  • login as root and run $GRID_HOME/crs/install/rootcrs.pl -verbose -deconfig -force -lastnode on last node, this will zero out OCR and Voting Disk
  • Verify checkpoint file has been removed from $ORACLE_BASE/Clusterware/ckptGridHA_<nodename>.xml, if it exist then remove it manually
  • run root.sh again from first node, DO NOT proceed to next node before the first node completed

B. Deinstall Grid Infrastructure Cluster

1. If you never run root.sh then simply run $GRID_HOME/deinstall/deinstall as grid user

2. If you run root.sh then failed, you would need to run above A.2.1 and 2 then run $GRID_HOME/deinstall/deinstall as grid user

Cheers

FZheng