How to deconfig oracle rac grid installation, deinstall oracle rac grid

Introduction:

We will see how to uninstall oracle rac grid

Posted by Karthik

Steps to deinstall wrongly installed oracle RAC GRID.

[root@test ~]# cd /u01/app/grid/crs/install/rootcrs.pl  -deconfig -force
[root@test ~]# rm –rf /etc/ora*
[root@test ~]# rm –rf /etc/inittab.no*
[root@test ~]# rm –rf /var/tmp/.oracle/*

Again run script on all other nodes,On the last node in your cluster, you should add the -lastnode

[root@test ~]# cd /u01/app/grid/crs/install/rootcrs.pl  -deconfig -force -lastnode

If its failed,remove manually using below commands,

Manual cleanup GRID Installation :-

Remove Inventory :-

The Oracle inventory location is stored in the oraInst.loc file:

[root@test etc]# cat /etc/oraInst.loc
inventory_loc=/u01/app/oraInventory

inst_group=oinstall

[root@test etc]# cd /u01/app/oraInventory
[root@test etc]# vi ContentsXML/inventory.xml

Remove the GRID_HOME entry details from inventory.xml file.

[root@test etc]# rm -rf /u01/app/grid/*
[root@test etc]# rm -rf /etc/oracle/*
[root@test etc]# rm /etc/oraInst.loc
[root@test etc]# rm /etc/oratab
[root@test etc]# rm /var/tmp/.oracle/*

Recent Posts