Home » , , , » UnInstalling/Deinstalling RAC Software 11gR2 and later

UnInstalling/Deinstalling RAC Software 11gR2 and later

Written By Srikrishna Murthy Annam on Sunday, March 2, 2014 | 8:05 AM

Uninstalling RAC software is very simple using deinstall utility. Deinstall utility is available in each oracle home installed in server. In RAC 11gR2, we have two ORACLE_HOMEs. First un-install rdbms database home and then un-install grid oracle home. I am presenting you the session log which i used to un-install a RAC 3-node cluster 11.2.0.3 to help you with the prompts while using the deinstall utility.




1. Deinstall rac database :
[oracle@askmlabsrac1 ~]$ cd /u01/app/oracle/product/11.2.0/dbhome_1/deinstall/
[oracle@askmlabsrac1 deinstall]$ ./deinstall
[oracle@askmlabsrac1 ~]$ cd /u01/app/oracle/product/11.2.0/dbhome_1/deinstall/
[oracle@askmlabsrac1 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/oracle/product/11.2.0/dbhome_1
Oracle Home type selected for deinstall is: Oracle Real Application Cluster Database
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/grid
The following nodes are part of this cluster: askmlabsrac1,askmlabsrac2,askmlabsrac3
Checking for sufficient temp space availability on node(s) : 'askmlabsrac1,askmlabsrac2,askmlabsrac3'
## [END] Install check configuration ##

Network Configuration check config START
Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_check2013-12-31_12-24-55-PM.log
Network Configuration check config END
Database Check Configuration START
Database de-configuration trace file location: /u01/app/oraInventory/logs/databasedc_check2013-12-31_12-25-05-PM.log
Use comma as separator when specifying list of values as input
Specify the list of database names that are configured in this Oracle home [ORCL]:
###### For Database 'ORCL' ######
RAC Database
The nodes on which this database has instances: [askmlabsrac1, askmlabsrac2, askmlabsrac3]
The instance names: [ORCL1, ORCL2, ORCL3]
The local instance name on node: ORCL1
The diagnostic destination location of the database: /u01/app/oracle/diag/rdbms/orcl
Storage type used by the Database: ASM
The details of database(s) ORCL have been discovered automatically. Do you still want to modify the details of ORCL database(s)? [n]:
Database Check Configuration END
Enterprise Manager Configuration Assistant START
EMCA de-configuration trace file location: /u01/app/oraInventory/logs/emcadc_check2013-12-31_12-28-13-PM.log
Checking configuration for database ORCL
Enterprise Manager Configuration Assistant END
Oracle Configuration Manager check START
OCM check log file location : /u01/app/oraInventory/logs//ocm_check3831.log
Oracle Configuration Manager check END
######################### CHECK OPERATION END #########################

####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /u01/app/11.2.0/grid
The cluster node(s) on which the Oracle home deinstallation will be performed are:askmlabsrac1,askmlabsrac2,askmlabsrac3
Oracle Home selected for deinstall is: /u01/app/oracle/product/11.2.0/dbhome_1
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
The following databases were selected for de-configuration : ORCL
Database unique name : ORCL
Storage used : ASM
No Enterprise Manager configuration to be updated for any database(s)
No Enterprise Manager ASM targets to update
No Enterprise Manager listener targets to migrate
Checking the config status for CCR
askmlabsrac1 : Oracle Home exists with CCR directory, but CCR is not configured
askmlabsrac2 : Oracle Home exists with CCR directory, but CCR is not configured
askmlabsrac3 : Oracle Home exists with CCR directory, but CCR is not configured
CCR check is finished
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_deconfig2013-12-31_12-23-39-PM.out'
Any error messages from this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2013-12-31_12-23-39-PM.err'
######################## CLEAN OPERATION START ########################
Enterprise Manager Configuration Assistant START
EMCA de-configuration trace file location: /u01/app/oraInventory/logs/emcadc_clean2013-12-31_12-28-13-PM.log
Updating Enterprise Manager ASM targets (if any)
Updating Enterprise Manager listener targets (if any)
Enterprise Manager Configuration Assistant END
Database de-configuration trace file location: /u01/app/oraInventory/logs/databasedc_clean2013-12-31_12-29-09-PM.log
Database Clean Configuration START ORCL
This operation may take few minutes.
Database Clean Configuration END ORCL
Network Configuration clean config START
Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_clean2013-12-31_12-35-50-PM.log
De-configuring Listener configuration file on all nodes...
Listener configuration file 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
Oracle Configuration Manager clean START
OCM clean log file location : /u01/app/oraInventory/logs//ocm_clean3831.log
Oracle Configuration Manager clean END
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/oracle/product/11.2.0/dbhome_1' from the central inventory on the local node : Done
Delete directory '/u01/app/oracle/product/11.2.0/dbhome_1' on the local node : Done
The Oracle Base directory '/u01/app/oracle' will not be removed on local node. The directory is not empty.
Detach Oracle home '/u01/app/oracle/product/11.2.0/dbhome_1' from the central inventory on the remote nodes 'askmlabsrac2,askmlabsrac3' : Done
Delete directory '/u01/app/oracle/product/11.2.0/dbhome_1' on the remote nodes 'askmlabsrac2,askmlabsrac3' : Done
The Oracle Base directory '/u01/app/oracle' will not be removed on node 'askmlabsrac2'. The directory is not empty.
The Oracle Base directory '/u01/app/oracle' will not be removed on node 'askmlabsrac3'. The directory is not empty.
Oracle Universal Installer cleanup was successful.
Oracle Universal Installer clean END

## [START] Oracle install clean ##
Clean install operation removing temporary directory '/tmp/deinstall2013-12-31_00-06-09PM' on node 'askmlabsrac1'
Clean install operation removing temporary directory '/tmp/deinstall2013-12-31_00-06-09PM' on node 'askmlabsrac2,askmlabsrac3'
## [END] Oracle install clean ##

######################### CLEAN OPERATION END #########################

####################### CLEAN OPERATION SUMMARY #######################
Successfully de-configured the following database instances : ORCL
Cleaning the config for CCR
As CCR is not configured, so skipping the cleaning of CCR configuration
CCR clean is finished
Successfully detached Oracle home '/u01/app/oracle/product/11.2.0/dbhome_1' from the central inventory on the local node.
Successfully deleted directory '/u01/app/oracle/product/11.2.0/dbhome_1' on the local node.
Successfully detached Oracle home '/u01/app/oracle/product/11.2.0/dbhome_1' from the central inventory on the remote nodes 'askmlabsrac2,askmlabsrac3'.
Successfully deleted directory '/u01/app/oracle/product/11.2.0/dbhome_1' on the remote nodes 'askmlabsrac2,askmlabsrac3'.
Oracle Universal Installer cleanup was successful.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################

############# ORACLE DEINSTALL & DECONFIG TOOL END #############
[oracle@askmlabsrac1 deinstall]$

2. Verify the status of the cluster and observe that the database is not available as resource in clusterware.
[root@askmlabsrac1 ~]# /u01/app/11.2.0/grid/bin/crsctl status res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.LISTENER.lsnr
               ONLINE  ONLINE       askmlabsrac1
               ONLINE  ONLINE       askmlabsrac2
               ONLINE  ONLINE       askmlabsrac3
ora.OCR.dg
               ONLINE  ONLINE       askmlabsrac1
               ONLINE  ONLINE       askmlabsrac2
               ONLINE  ONLINE       askmlabsrac3
ora.asm
               ONLINE  ONLINE       askmlabsrac1               Started
               ONLINE  ONLINE       askmlabsrac2               Started
               ONLINE  ONLINE       askmlabsrac3               Started
ora.gsd
               OFFLINE OFFLINE      askmlabsrac1
               OFFLINE OFFLINE      askmlabsrac2
               OFFLINE OFFLINE      askmlabsrac3
ora.net1.network
               ONLINE  ONLINE       askmlabsrac1
               ONLINE  ONLINE       askmlabsrac2
               ONLINE  ONLINE       askmlabsrac3
ora.ons
               ONLINE  ONLINE       askmlabsrac1
               ONLINE  ONLINE       askmlabsrac2
               ONLINE  ONLINE       askmlabsrac3
ora.registry.acfs
               ONLINE  ONLINE       askmlabsrac1
               ONLINE  ONLINE       askmlabsrac2
               ONLINE  ONLINE       askmlabsrac3
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       askmlabsrac3
ora.cvu
      1        ONLINE  ONLINE       askmlabsrac3
ora.oc4j
      1        ONLINE  OFFLINE
ora.askmlabsrac1.vip
      1        ONLINE  ONLINE       askmlabsrac1
ora.askmlabsrac2.vip
      1        ONLINE  ONLINE       askmlabsrac2
ora.askmlabsrac3.vip
      1        ONLINE  ONLINE       askmlabsrac3
ora.scan1.vip
      1        ONLINE  ONLINE       askmlabsrac3
[root@askmlabsrac1 ~]#

3. Now login to grid ORACLE_HOME and deinstall rac clusterware.
[root@askmlabsrac1 ~]# su - grid
[grid@askmlabsrac1 ~]$ cd /u01/app/11.2.0/grid/deinstall/
[grid@askmlabsrac1 deinstall]$ ./deinstall
[root@askmlabsrac1 ~]# su - grid
[grid@askmlabsrac1 ~]$ cd /u01/app/11.2.0/grid/deinstall/
[grid@askmlabsrac1 deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2013-12-31_01-03-08PM/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/grid
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Cluster
Oracle Base selected for deinstall is: /u01/app/grid
Checking for existence of central inventory location /u01/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /u01/app/11.2.0/grid
The following nodes are part of this cluster: askmlabsrac1,askmlabsrac2,askmlabsrac3
Checking for sufficient temp space availability on node(s) : 'askmlabsrac1,askmlabsrac2,askmlabsrac3'
## [END] Install check configuration ##
Traces log file: /tmp/deinstall2013-12-31_01-03-08PM/logs//crsdc.log
Network Configuration check config START
Network de-configuration trace file location: /tmp/deinstall2013-12-31_01-03-08PM/logs/netdc_check2013-12-31_01-05-44-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: /tmp/deinstall2013-12-31_01-03-08PM/logs/asmcadc_check2013-12-31_01-06-14-PM.log
Automatic Storage Management (ASM) instance is detected in this Oracle home /u01/app/11.2.0/grid.
ASM Diagnostic Destination : /u01/app/grid
ASM Diskgroups : +OCR
ASM diskstring : /dev/xvd[c-g]1
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/grid
The cluster node(s) on which the Oracle home deinstallation will be performed are:askmlabsrac1,askmlabsrac2,askmlabsrac3
Oracle Home selected for deinstall is: /u01/app/11.2.0/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: '/tmp/deinstall2013-12-31_01-03-08PM/logs/deinstall_deconfig2013-12-31_01-04-53-PM.out'
Any error messages from this session will be written to: '/tmp/deinstall2013-12-31_01-03-08PM/logs/deinstall_deconfig2013-12-31_01-04-53-PM.err'
######################## CLEAN OPERATION START ########################
ASM de-configuration trace file location: /tmp/deinstall2013-12-31_01-03-08PM/logs/asmcadc_clean2013-12-31_01-09-52-PM.log
ASM Clean Configuration START
ASM Clean Configuration END
Network Configuration clean config START
Network de-configuration trace file location: /tmp/deinstall2013-12-31_01-03-08PM/logs/netdc_clean2013-12-31_01-10-08-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 "askmlabsrac3".
/tmp/deinstall2013-12-31_01-03-08PM/perl/bin/perl -I/tmp/deinstall2013-12-31_01-03-08PM/perl/lib -I/tmp/deinstall2013-12-31_01-03-08PM/crs/install /tmp/deinstall2013-12-31_01-03-08PM/crs/install/rootcrs.pl -force  -deconfig -paramfile "/tmp/deinstall2013-12-31_01-03-08PM/response/deinstall_OraGrid11gR2.rsp"
Run the following command as the root user or the administrator on node "askmlabsrac2".
/tmp/deinstall2013-12-31_01-03-08PM/perl/bin/perl -I/tmp/deinstall2013-12-31_01-03-08PM/perl/lib -I/tmp/deinstall2013-12-31_01-03-08PM/crs/install /tmp/deinstall2013-12-31_01-03-08PM/crs/install/rootcrs.pl -force  -deconfig -paramfile "/tmp/deinstall2013-12-31_01-03-08PM/response/deinstall_OraGrid11gR2.rsp"
Run the following command as the root user or the administrator on node "askmlabsrac1".
/tmp/deinstall2013-12-31_01-03-08PM/perl/bin/perl -I/tmp/deinstall2013-12-31_01-03-08PM/perl/lib -I/tmp/deinstall2013-12-31_01-03-08PM/crs/install /tmp/deinstall2013-12-31_01-03-08PM/crs/install/rootcrs.pl -force  -deconfig -paramfile "/tmp/deinstall2013-12-31_01-03-08PM/response/deinstall_OraGrid11gR2.rsp" -lastnode
Press Enter after you finish running the above commands
<----------------------------------------
4. Now we need to run the deinstall commands as root user in all the rac nodes.
On node3:
[root@askmlabsrac3 ~]# /tmp/deinstall2013-12-31_01-03-08PM/perl/bin/perl -I/tmp/deinstall2013-12-31_01-03-08PM/perl/lib -I/tmp/deinstall2013-12-31_01-03-08PM/crs/install /tmp/deinstall2013-12-31_01-03-08PM/crs/install/rootcrs.pl -force  -deconfig -paramfile "/tmp/deinstall2013-12-31_01-03-08PM/response/deinstall_OraGrid11gR2.rsp"
Using configuration parameter file: /tmp/deinstall2013-12-31_01-03-08PM/response/deinstall_OraGrid11gR2.rsp
Network exists: 1/10.10.10.0/255.255.255.0/eth0, type static
VIP exists: /askmlabsrac1-vip/10.10.10.224/10.10.10.0/255.255.255.0/eth0, hosting node askmlabsrac1
VIP exists: /askmlabsrac2-vip/10.10.10.225/10.10.10.0/255.255.255.0/eth0, hosting node askmlabsrac2
VIP exists: /askmlabsrac3-vip/10.10.10.226/10.10.10.0/255.255.255.0/eth0, hosting node askmlabsrac3
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'askmlabsrac3'
CRS-2677: Stop of 'ora.registry.acfs' on 'askmlabsrac3' succeeded
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'askmlabsrac3'
CRS-2673: Attempting to stop 'ora.crsd' on 'askmlabsrac3'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'askmlabsrac3'
CRS-2673: Attempting to stop 'ora.asm' on 'askmlabsrac3'
CRS-2677: Stop of 'ora.asm' on 'askmlabsrac3' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'askmlabsrac3' has completed
CRS-2677: Stop of 'ora.crsd' on 'askmlabsrac3' succeeded
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'askmlabsrac3'
CRS-2673: Attempting to stop 'ora.ctssd' on 'askmlabsrac3'
CRS-2673: Attempting to stop 'ora.evmd' on 'askmlabsrac3'
CRS-2673: Attempting to stop 'ora.asm' on 'askmlabsrac3'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'askmlabsrac3'
CRS-2677: Stop of 'ora.evmd' on 'askmlabsrac3' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'askmlabsrac3' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'askmlabsrac3' succeeded
CRS-2677: Stop of 'ora.drivers.acfs' on 'askmlabsrac3' succeeded
CRS-2677: Stop of 'ora.asm' on 'askmlabsrac3' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'askmlabsrac3'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'askmlabsrac3' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'askmlabsrac3'
CRS-2677: Stop of 'ora.cssd' on 'askmlabsrac3' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'askmlabsrac3'
CRS-2677: Stop of 'ora.crf' on 'askmlabsrac3' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'askmlabsrac3'
CRS-2677: Stop of 'ora.gipcd' on 'askmlabsrac3' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'askmlabsrac3'
CRS-2677: Stop of 'ora.gpnpd' on 'askmlabsrac3' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'askmlabsrac3' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Removing Trace File Analyzer
Successfully deconfigured Oracle clusterware stack on this node
[root@askmlabsrac3 ~]# exit

On Node 2 :
[root@askmlabsrac2 ~]# /tmp/deinstall2013-12-31_01-03-08PM/perl/bin/perl -I/tmp/deinstall2013-12-31_01-03-08PM/perl/lib -I/tmp/deinstall2013-12-31_01-03-08PM/crs/install /tmp/deinstall2013-12-31_01-03-08PM/crs/install/rootcrs.pl -force  -deconfig -paramfile "/tmp/deinstall2013-12-31_01-03-08PM/response/deinstall_OraGrid11gR2.rsp"
Using configuration parameter file: /tmp/deinstall2013-12-31_01-03-08PM/response/deinstall_OraGrid11gR2.rsp
Network exists: 1/10.10.10.0/255.255.255.0/eth0, type static
VIP exists: /askmlabsrac1-vip/10.10.10.224/10.10.10.0/255.255.255.0/eth0, hosting node askmlabsrac1
VIP exists: /askmlabsrac2-vip/10.10.10.225/10.10.10.0/255.255.255.0/eth0, hosting node askmlabsrac2
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'askmlabsrac2'
CRS-2677: Stop of 'ora.registry.acfs' on 'askmlabsrac2' succeeded
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'askmlabsrac2'
CRS-2673: Attempting to stop 'ora.crsd' on 'askmlabsrac2'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'askmlabsrac2'
CRS-2673: Attempting to stop 'ora.asm' on 'askmlabsrac2'
CRS-2677: Stop of 'ora.asm' on 'askmlabsrac2' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'askmlabsrac2' has completed
CRS-2677: Stop of 'ora.crsd' on 'askmlabsrac2' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'askmlabsrac2'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'askmlabsrac2'
CRS-2673: Attempting to stop 'ora.crf' on 'askmlabsrac2'
CRS-2673: Attempting to stop 'ora.ctssd' on 'askmlabsrac2'
CRS-2673: Attempting to stop 'ora.evmd' on 'askmlabsrac2'
CRS-2673: Attempting to stop 'ora.asm' on 'askmlabsrac2'
CRS-2677: Stop of 'ora.mdnsd' on 'askmlabsrac2' succeeded
CRS-2677: Stop of 'ora.evmd' on 'askmlabsrac2' succeeded
CRS-2677: Stop of 'ora.crf' on 'askmlabsrac2' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'askmlabsrac2' succeeded
CRS-2677: Stop of 'ora.asm' on 'askmlabsrac2' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'askmlabsrac2'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'askmlabsrac2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'askmlabsrac2'
CRS-2677: Stop of 'ora.cssd' on 'askmlabsrac2' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'askmlabsrac2'
CRS-2677: Stop of 'ora.drivers.acfs' on 'askmlabsrac2' succeeded
CRS-2677: Stop of 'ora.gipcd' on 'askmlabsrac2' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'askmlabsrac2'
CRS-2677: Stop of 'ora.gpnpd' on 'askmlabsrac2' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'askmlabsrac2' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Removing Trace File Analyzer
Successfully deconfigured Oracle clusterware stack on this node
[root@askmlabsrac2 ~]#

On Node 1 :
[root@askmlabsrac1 ~]# /tmp/deinstall2013-12-31_01-03-08PM/perl/bin/perl -I/tmp/deinstall2013-12-31_01-03-08PM/perl/lib -I/tmp/deinstall2013-12-31_01-03-08PM/crs/install /tmp/deinstall2013-12-31_01-03-08PM/crs/install/rootcrs.pl -force  -deconfig -paramfile "/tmp/deinstall2013-12-31_01-03-08PM/response/deinstall_OraGrid11gR2.rsp" -lastnode
Using configuration parameter file: /tmp/deinstall2013-12-31_01-03-08PM/response/deinstall_OraGrid11gR2.rsp
Network exists: 1/10.10.10.0/255.255.255.0/eth0, type static
VIP exists: /askmlabsrac1-vip/10.10.10.224/10.10.10.0/255.255.255.0/eth0, hosting node askmlabsrac1
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'askmlabsrac1'
CRS-2677: Stop of 'ora.registry.acfs' on 'askmlabsrac1' succeeded
CRS-2673: Attempting to stop 'ora.crsd' on 'askmlabsrac1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'askmlabsrac1'
CRS-2673: Attempting to stop 'ora.asm' on 'askmlabsrac1'
CRS-2677: Stop of 'ora.asm' on 'askmlabsrac1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'askmlabsrac1' has completed
CRS-2677: Stop of 'ora.crsd' on 'askmlabsrac1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'askmlabsrac1'
CRS-2673: Attempting to stop 'ora.evmd' on 'askmlabsrac1'
CRS-2673: Attempting to stop 'ora.asm' on 'askmlabsrac1'
CRS-2677: Stop of 'ora.evmd' on 'askmlabsrac1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'askmlabsrac1' succeeded
CRS-2677: Stop of 'ora.asm' on 'askmlabsrac1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'askmlabsrac1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'askmlabsrac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'askmlabsrac1'
CRS-2677: Stop of 'ora.cssd' on 'askmlabsrac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'askmlabsrac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'askmlabsrac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'askmlabsrac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'askmlabsrac1'
CRS-2676: Start of 'ora.diskmon' on 'askmlabsrac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'askmlabsrac1' succeeded
CRS-4611: Successful deletion of voting disk +OCR.
ASM de-configuration trace file location: /tmp/deinstall2013-12-31_01-03-08PM/logs/asmcadc_clean2013-12-31_01-30-22-PM.log
ASM Clean Configuration START
ASM Clean Configuration END
ASM with SID +ASM1 deleted successfully. Check /tmp/deinstall2013-12-31_01-03-08PM/logs/asmcadc_clean2013-12-31_01-30-22-PM.log for details.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'askmlabsrac1'
CRS-2673: Attempting to stop 'ora.crf' on 'askmlabsrac1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'askmlabsrac1'
CRS-2673: Attempting to stop 'ora.asm' on 'askmlabsrac1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'askmlabsrac1'
CRS-2677: Stop of 'ora.crf' on 'askmlabsrac1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'askmlabsrac1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'askmlabsrac1' succeeded
CRS-2677: Stop of 'ora.asm' on 'askmlabsrac1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'askmlabsrac1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'askmlabsrac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'askmlabsrac1'
CRS-2677: Stop of 'ora.cssd' on 'askmlabsrac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'askmlabsrac1'
CRS-2677: Stop of 'ora.gipcd' on 'askmlabsrac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'askmlabsrac1'
CRS-2677: Stop of 'ora.gpnpd' on 'askmlabsrac1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'askmlabsrac1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
Removing Trace File Analyzer
Successfully deconfigured Oracle clusterware stack on this node
[root@askmlabsrac1 ~]#

5. After completing step 4, we need to go back to step 3 and press Enter
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/grid' from the central inventory on the local node : Done
Delete directory '/u01/app/11.2.0/grid' on the local node : Done
Delete directory '/u01/app/oraInventory' on the local node : Done
Delete directory '/u01/app/grid' on the local node : Done
Detach Oracle home '/u01/app/11.2.0/grid' from the central inventory on the remote nodes 'askmlabsrac2,askmlabsrac3' : Done
Delete directory '/u01/app/11.2.0/grid' on the remote nodes 'askmlabsrac2,askmlabsrac3' : Done
Delete directory '/u01/app/oraInventory' on the remote nodes 'askmlabsrac2' : Done
Delete directory '/u01/app/oraInventory' on the remote nodes 'askmlabsrac3' : Done

Delete directory '/u01/app/grid' on the remote nodes 'askmlabsrac2' : Done
Delete directory '/u01/app/grid' on the remote nodes 'askmlabsrac3' : Done
Oracle Universal Installer cleanup was successful.
Oracle Universal Installer clean END

## [START] Oracle install clean ##
Clean install operation removing temporary directory '/tmp/deinstall2013-12-31_01-03-08PM' on node 'askmlabsrac1'
Clean install operation removing temporary directory '/tmp/deinstall2013-12-31_01-03-08PM' on node 'askmlabsrac2,askmlabsrac3'
## [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 "askmlabsrac3"
Oracle Clusterware is stopped and successfully de-configured on node "askmlabsrac2"
Oracle Clusterware is stopped and successfully de-configured on node "askmlabsrac1"
Oracle Clusterware is stopped and de-configured successfully.
Successfully detached Oracle home '/u01/app/11.2.0/grid' from the central inventory on the local node.
Successfully deleted directory '/u01/app/11.2.0/grid' on the local node.
Successfully deleted directory '/u01/app/oraInventory' on the local node.
Successfully deleted directory '/u01/app/grid' on the local node.
Successfully detached Oracle home '/u01/app/11.2.0/grid' from the central inventory on the remote nodes 'askmlabsrac2,askmlabsrac3'.
Successfully deleted directory '/u01/app/11.2.0/grid' on the remote nodes 'askmlabsrac2,askmlabsrac3'.
Successfully deleted directory '/u01/app/oraInventory' on the remote nodes 'askmlabsrac2'.
Successfully deleted directory '/u01/app/oraInventory' on the remote nodes 'askmlabsrac3'.
Successfully deleted directory '/u01/app/grid' on the remote nodes 'askmlabsrac2'.
Successfully deleted directory '/u01/app/grid' on the remote nodes 'askmlabsrac3'.
Oracle Universal Installer cleanup was successful.

Run 'rm -rf /etc/oraInst.loc' as root on node(s) 'askmlabsrac1,askmlabsrac2,askmlabsrac3' at the end of the session.
Run 'rm -rf /opt/ORCLfmap' as root on node(s) 'askmlabsrac1,askmlabsrac2,askmlabsrac3' at the end of the session.
Run 'rm -rf /etc/oratab' as root on node(s) 'askmlabsrac1' at the end of the session.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################

############# ORACLE DEINSTALL & DECONFIG TOOL END #############
[grid@askmlabsrac1 deinstall]$


Share this article :

Related Articles By Category



+ comments + 2 comments

September 8, 2016 at 8:01 AM

Thank you so much! kepp up always!

Anonymous
September 25, 2016 at 10:19 PM

nice post

Post a Comment

Thank you for visiting our site and leaving your valuable comment.

 
Support :
Copyright © 2013. askMLabs - All Rights Reserved
Proudly powered by Blogger