Run deinstall from grid home deinstall directory
[oracle@ol6-112-rac1 deinstall]$ pwd
/u01/app/11.2.0.3/grid/deinstall
[oracle@ol6-112-rac1 deinstall]$ ls
bootstrap.pl deinstall deinstall.pl deinstall.xml jlib readme.txt response sshUserSetup.sh
[oracle@ol6-112-rac1 deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /u01/app/oraInventory/logs/
############ ORACLE DEINSTALL & DECONFIG TOOL START ############
######################### CHECK OPERATION START #########################
## [START] Install check configuration ##
Checking for existence of the Oracle home location /u01/app/11.2.0.3/grid
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Cluster
Oracle Base selected for deinstall is: /u01/app/oracle
Checking for existence of central inventory location /u01/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /u01/app/11.2.0.3/grid
The following nodes are part of this cluster: ol6-112-rac1,ol6-112-rac2
Checking for sufficient temp space availability on node(s) : 'ol6-112-rac1,ol6-112-rac2'
## [END] Install check configuration ##
Traces log file: /u01/app/oraInventory/logs//crsdc.log
Network Configuration check config START
Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_check2020-05-14_04-49-14-PM.log
Specify all RAC listeners (do not include SCAN listener) that are to be de-configured [LISTENER]:
Network Configuration check config END
Asm Check Configuration START
ASM de-configuration trace file location: /u01/app/oraInventory/logs/asmcadc_check2020-05-14_04-49-17-PM.log
Automatic Storage Management (ASM) instance is detected in this Oracle home /u01/app/11.2.0.3/grid.
ASM Diagnostic Destination : /u01/app/oracle
ASM Diskgroups : +DATA
ASM diskstring : /dev/asm*
Diskgroups will be dropped
De-configuring ASM will drop all the diskgroups and it's contents at cleanup time. This will affect all of the databases and ACFS that use this ASM instance(s).
If you want to retain the existing diskgroups or if any of the information detected is incorrect, you can modify by entering 'y'. Do you want to modify above information (y|n) [n]:
######################### CHECK OPERATION END #########################
####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /u01/app/11.2.0.3/grid
The cluster node(s) on which the Oracle home deinstallation will be performed are:ol6-112-rac1,ol6-112-rac2
Oracle Home selected for deinstall is: /u01/app/11.2.0.3/grid
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
Following RAC listener(s) will be de-configured: LISTENER
ASM instance will be de-configured from this Oracle home
Do you want to continue (y - yes, n - no)? [n]: y
A log of this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2020-05-14_04-49-07-PM.out'
Any error messages from this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2020-05-14_04-49-07-PM.err'
######################## CLEAN OPERATION START ########################
ASM de-configuration trace file location: /u01/app/oraInventory/logs/asmcadc_clean2020-05-14_04-49-59-PM.log
ASM Clean Configuration START
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_clean2020-05-14_04-51-40-PM.log
De-configuring RAC listener(s): LISTENER
De-configuring listener: LISTENER
Stopping listener: LISTENER
Listener stopped successfully.
Unregistering listener: LISTENER
Listener unregistered successfully.
Listener de-configured successfully.
De-configuring Naming Methods configuration file on all nodes...
Naming Methods configuration file de-configured successfully.
De-configuring Local Net Service Names configuration file on all nodes...
Local Net Service Names configuration file de-configured successfully.
De-configuring Directory Usage configuration file on all nodes...
Directory Usage configuration file de-configured successfully.
De-configuring backup files on all nodes...
Backup files de-configured successfully.
The network configuration has been cleaned up successfully.
Network Configuration clean config END
---------------------------------------->
The deconfig command below can be executed in parallel on all the remote nodes. Execute the command on the local node after the execution completes on all the remote nodes.
Run the following command as the root user or the administrator on node "ol6-112-rac2".
/tmp/deinstall2020-05-14_04-48-55PM/perl/bin/perl -I/tmp/deinstall2020-05-14_04-48-55PM/perl/lib -I/tmp/deinstall2020-05-14_04-48-55PM/crs/install /tmp/deinstall2020-05-14_04-48-55PM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2020-05-14_04-48-55PM/response/deinstall_Ora11g_gridinfrahome1.rsp"
Run the following command as the root user or the administrator on node "ol6-112-rac1".
/tmp/deinstall2020-05-14_04-48-55PM/perl/bin/perl -I/tmp/deinstall2020-05-14_04-48-55PM/perl/lib -I/tmp/deinstall2020-05-14_04-48-55PM/crs/install /tmp/deinstall2020-05-14_04-48-55PM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2020-05-14_04-48-55PM/response/deinstall_Ora11g_gridinfrahome1.rsp" -lastnode
Press Enter after you finish running the above commands
<----------------------------------------
Setting the force flag to false
Setting the force flag to cleanup the Oracle Base
Oracle Universal Installer clean START
Detach Oracle home '/u01/app/11.2.0.3/grid' from the central inventory on the local node : Done
Delete directory '/u01/app/11.2.0.3/grid' on the local node : Done
The Oracle Base directory '/u01/app/oracle' will not be removed on local node. The directory is in use by Oracle Home '/u01/app/oracle/agent/agent_13.1.0.0.0'.
Detach Oracle home '/u01/app/11.2.0.3/grid' from the central inventory on the remote nodes 'ol6-112-rac2' : Done
Delete directory '/u01/app/11.2.0.3/grid' on the remote nodes 'ol6-112-rac2' : Done
The Oracle Base directory '/u01/app/oracle' will not be removed on node 'ol6-112-rac2'. The directory is in use by Oracle Home '/u01/app/oracle/agent/agent_13.1.0.0.0'.
Oracle Universal Installer cleanup was successful.
Oracle Universal Installer clean END
## [START] Oracle install clean ##
Clean install operation removing temporary directory '/tmp/deinstall2020-05-14_04-48-55PM' on node 'ol6-112-rac1'
Clean install operation removing temporary directory '/tmp/deinstall2020-05-14_04-48-55PM' on node 'ol6-112-rac2'
## [END] Oracle install clean ##
######################### CLEAN OPERATION END #########################
####################### CLEAN OPERATION SUMMARY #######################
ASM instance was de-configured successfully from the Oracle home
Following RAC listener(s) were de-configured successfully: LISTENER
Oracle Clusterware is stopped and successfully de-configured on node "ol6-112-rac2"
Oracle Clusterware is stopped and successfully de-configured on node "ol6-112-rac1"
Oracle Clusterware is stopped and de-configured successfully.
Successfully detached Oracle home '/u01/app/11.2.0.3/grid' from the central inventory on the local node.
Successfully deleted directory '/u01/app/11.2.0.3/grid' on the local node.
Successfully detached Oracle home '/u01/app/11.2.0.3/grid' from the central inventory on the remote nodes 'ol6-112-rac2'.
Successfully deleted directory '/u01/app/11.2.0.3/grid' on the remote nodes 'ol6-112-rac2'.
Oracle Universal Installer cleanup was successful.
Run 'rm -rf /opt/ORCLfmap' as root on node(s) 'ol6-112-rac1,ol6-112-rac2' at the end of the session.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################
############# ORACLE DEINSTALL & DECONFIG TOOL END #############
Please note that at one step this will ask you to run two scripts from root user from both nodes. It ask to run it first from remote node and then local node. Here is the output of those scripts.
remote node
[root@ol6-112-rac2 ~]# /tmp/deinstall2020-05-14_04-48-55PM/perl/bin/perl -I/tmp/deinstall2020-05-14_04-48-55PM/perl/lib -I/tmp/deinstall2020-05-14_04-48-55PM/crs/install /tmp/deinstall2020-05-14_04-48-55PM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2020-05-14_04-48-55PM/response/deinstall_Ora11g_gridinfrahome1.rsp"
Using configuration parameter file: /tmp/deinstall2020-05-14_04-48-55PM/response/deinstall_Ora11g_gridinfrahome1.rsp
Network exists: 1/192.168.43.0/255.255.255.0/eth0, type static
VIP exists: /ol6-112-rac1-vip/192.168.43.103/192.168.43.0/255.255.255.0/eth0, hosting node ol6-112-rac1
VIP exists: /ol6-112-rac2-vip/192.168.43.104/192.168.43.0/255.255.255.0/eth0, hosting node ol6-112-rac2
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'ol6-112-rac2'
CRS-2673: Attempting to stop 'ora.crsd' on 'ol6-112-rac2'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'ol6-112-rac2'
CRS-2673: Attempting to stop 'ora.asm' on 'ol6-112-rac2'
CRS-2677: Stop of 'ora.asm' on 'ol6-112-rac2' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'ol6-112-rac2' has completed
CRS-2677: Stop of 'ora.crsd' on 'ol6-112-rac2' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'ol6-112-rac2'
CRS-2673: Attempting to stop 'ora.evmd' on 'ol6-112-rac2'
CRS-2673: Attempting to stop 'ora.asm' on 'ol6-112-rac2'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'ol6-112-rac2'
CRS-2677: Stop of 'ora.mdnsd' on 'ol6-112-rac2' succeeded
CRS-2677: Stop of 'ora.evmd' on 'ol6-112-rac2' succeeded
CRS-2677: Stop of 'ora.asm' on 'ol6-112-rac2' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'ol6-112-rac2'
CRS-2677: Stop of 'ora.ctssd' on 'ol6-112-rac2' succeeded
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'ol6-112-rac2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'ol6-112-rac2'
CRS-2677: Stop of 'ora.cssd' on 'ol6-112-rac2' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'ol6-112-rac2'
CRS-2677: Stop of 'ora.crf' on 'ol6-112-rac2' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'ol6-112-rac2'
CRS-2677: Stop of 'ora.gipcd' on 'ol6-112-rac2' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'ol6-112-rac2'
CRS-2677: Stop of 'ora.gpnpd' on 'ol6-112-rac2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'ol6-112-rac2' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Successfully deconfigured Oracle clusterware stack on this node
Local node
[root@ol6-112-rac1 ~]# /tmp/deinstall2020-05-14_04-48-55PM/perl/bin/perl -I/tmp/deinstall2020-05-14_04-48-55PM/perl/lib -I/tmp/deinstall2020-05-14_04-48-55PM/crs/install /tmp/deinstall2020-05-14_04-48-55PM/crs/install/rootcrs.pl -force -deconfig -paramfile "/tmp/deinstall2020-05-14_04-48-55PM/response/deinstall_Ora11g_gridinfrahome1.rsp" -lastnode
Using configuration parameter file: /tmp/deinstall2020-05-14_04-48-55PM/response/deinstall_Ora11g_gridinfrahome1.rsp
Network exists: 1/192.168.43.0/255.255.255.0/eth0, type static
VIP exists: /ol6-112-rac1-vip/192.168.43.103/192.168.43.0/255.255.255.0/eth0, hosting node ol6-112-rac1
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016
CRS-2673: Attempting to stop 'ora.crsd' on 'ol6-112-rac1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'ol6-112-rac1'
CRS-2673: Attempting to stop 'ora.oc4j' on 'ol6-112-rac1'
CRS-2673: Attempting to stop 'ora.asm' on 'ol6-112-rac1'
CRS-2677: Stop of 'ora.asm' on 'ol6-112-rac1' succeeded
CRS-2677: Stop of 'ora.oc4j' on 'ol6-112-rac1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'ol6-112-rac1' has completed
CRS-2677: Stop of 'ora.crsd' on 'ol6-112-rac1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'ol6-112-rac1'
CRS-2673: Attempting to stop 'ora.evmd' on 'ol6-112-rac1'
CRS-2673: Attempting to stop 'ora.asm' on 'ol6-112-rac1'
CRS-2677: Stop of 'ora.evmd' on 'ol6-112-rac1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'ol6-112-rac1' succeeded
CRS-2677: Stop of 'ora.asm' on 'ol6-112-rac1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'ol6-112-rac1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'ol6-112-rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'ol6-112-rac1'
CRS-2677: Stop of 'ora.cssd' on 'ol6-112-rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'ol6-112-rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'ol6-112-rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'ol6-112-rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'ol6-112-rac1'
CRS-2676: Start of 'ora.diskmon' on 'ol6-112-rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'ol6-112-rac1' succeeded
CRS-4611: Successful deletion of voting disk +DATA.
ASM de-configuration trace file location: /u01/app/oraInventory/logs/asmcadc_clean2020-05-14_04-55-55-PM.log
ASM Clean Configuration START
ASM Clean Configuration END
ASM with SID +ASM1 deleted successfully. Check /u01/app/oraInventory/logs/asmcadc_clean2020-05-14_04-55-55-PM.log for details.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'ol6-112-rac1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'ol6-112-rac1'
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'ol6-112-rac1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'ol6-112-rac1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'ol6-112-rac1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'ol6-112-rac1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'ol6-112-rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'ol6-112-rac1'
CRS-2677: Stop of 'ora.cssd' on 'ol6-112-rac1' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'ol6-112-rac1'
CRS-2677: Stop of 'ora.crf' on 'ol6-112-rac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'ol6-112-rac1'
CRS-2677: Stop of 'ora.gipcd' on 'ol6-112-rac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'ol6-112-rac1'
CRS-2677: Stop of 'ora.gpnpd' on 'ol6-112-rac1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'ol6-112-rac1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Successfully deconfigured Oracle clusterware stack on this node