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 -lastnode

 

5. Go to grid/cluster home:

$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

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.