Tag Archives: Deinstall steps for RAC in Linux

Deinstall Oracle RAC environment completely

Deinstall Oracle RAC 11.2 Environment

1. Check Oracle Home location

more /etc/oratab  ( in linux,aix,hpux)
more /var/opt/oracle/oratab  ( in solaris)

2. Go to home location and deinstall

$ cd $ORACLE_HOME/deinstall
$ ./deinstall

3. Run on all nodes of rac expect last node for execute 4 step command.

$ORA_CRS_HOME/crs/install/rootcrs.pl -verbose -deconfig -force

4. Run on Last Node execute the following command:

$ORA_CRS_HOME/crs/install/rootcrs.pl -verbose -deconfig -force -lastnod

5. Go to grid/cluster home:
e
$ORA_CRS_HOME/deinstall/deinstall
./deinstall

6.  Execute the command mention in above command generate log on each node

Run the following command as the root user or the administrator on node "vrh3".
/tmp/deinstall2011-08-31_11-59-55PM/perl/bin/perl -I/tmp/deinstall2011-08-31_11-59-55PM/perl/lib
-I/tmp/deinstall2011-08-31_11-59-55PM/crs/install /tmp/deinstall2011-08-31_11-59-55PM/crs/install/rootcrs.pl
-force  -deconfig -paramfile "/tmp/deinstall2011-08-31_11-59-55PM/response/deinstall_Ora11g_gridinfrahome1.rsp"

7.  Remove from temp directories

rm -f /var/tmp/.oracle
or
rm -f /tmp/.oracle