# Deinstall Oracle RAC Database
# 12c
Login as oracle, deinstall DB software.
~]$ $ORACLE_HOME/deinstall/deinstall | |
Checking for required files and bootstrapping ... | |
Please wait ... | |
Location of logs /u01/app/oraInventory/logs/ | |
############ ORACLE DECONFIG TOOL START ############ | |
######################### DECONFIG CHECK OPERATION START ######################### | |
## [START] Install check configuration ## | |
Checking for existence of the Oracle home location /u01/app/oracle/product/12.0.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/12.0.0/grid | |
The following nodes are part of this cluster: oracle12c01,oracle12c02 | |
Active Remote Nodes are oracle12c02 | |
Checking for sufficient temp space availability on node(s) : 'oracle12c01,oracle12c02' | |
## [END] Install check configuration ## | |
Network Configuration check config START | |
Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_check2026-11-18_12-23-57-PM.log | |
Network Configuration check config END | |
Database Check Configuration START | |
Database de-configuration trace file location: /u01/app/oraInventory/logs/databasedc_check2026-11-18_12-24-43-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: [oracle12c01, oracle12c02] | |
The instance names: [orcl1, orcl2] | |
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]: y | |
###### For Database 'orcl' ###### | |
Specify the type of this database (1.Single Instance Database|2.Oracle Restart Enabled Database|3.RAC Database|4.RAC One Node Database) [3]: | |
Specify the list of nodes on which this database has instances [oracle12c01, oracle12c02]: | |
Specify the list of instance names [orcl1, orcl2]: | |
Specify the local instance name on node oracle12c01 [orcl1]: | |
Specify the diagnostic destination location of the database [/u01/app/oracle/diag/rdbms/orcl]: | |
Specify the storage type used by the Database ASM|FS [ASM]: | |
Specify if database Archive Mode is Enabled. y/n [n]: | |
Database Check Configuration END | |
Oracle Configuration Manager check START | |
OCM check log file location : /u01/app/oraInventory/logs//ocm_check244.log | |
Oracle Configuration Manager check END | |
######################### DECONFIG CHECK OPERATION END ######################### | |
####################### DECONFIG CHECK OPERATION SUMMARY ####################### | |
Oracle Grid Infrastructure Home is: /u01/app/12.0.0/grid | |
The following nodes are part of this cluster: oracle12c01,oracle12c02 | |
Active Remote Nodes are oracle12c02 | |
The cluster node(s) on which the Oracle home deinstallation will be performed are:oracle12c01,oracle12c02 | |
Oracle Home selected for deinstall is: /u01/app/oracle/product/12.0.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 | |
Checking the config status for CCR | |
oracle12c01 : Oracle Home exists with CCR directory, but CCR is not configured | |
oracle12c02 : 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_deconfig2026-11-18_12-23-00-PM.out' | |
Any error messages from this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2026-11-18_12-23-00-PM.err' | |
######################## DECONFIG CLEAN OPERATION START ######################## | |
Database de-configuration trace file location: /u01/app/oraInventory/logs/databasedc_clean2026-11-18_12-54-34-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_clean2026-11-18_12-57-27-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_clean244.log | |
Oracle Configuration Manager clean END | |
######################### DECONFIG CLEAN OPERATION END ######################### | |
####################### DECONFIG 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 | |
####################################################################### | |
############# ORACLE DECONFIG TOOL END ############# | |
Using properties file /tmp/deinstall2026-11-18_12-21-03PM/response/deinstall_2026-11-18_12-23-00-PM.rsp | |
Location of logs /u01/app/oraInventory/logs/ | |
############ ORACLE DEINSTALL TOOL START ############ | |
####################### DEINSTALL CHECK OPERATION SUMMARY ####################### | |
A log of this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2026-11-18_12-23-00-PM.out' | |
Any error messages from this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2026-11-18_12-23-00-PM.err' | |
######################## DEINSTALL CLEAN OPERATION START ######################## | |
## [START] Preparing for Deinstall ## | |
Setting LOCAL_NODE to oracle12c01 | |
Setting REMOTE_NODES to oracle12c02 | |
Setting CLUSTER_NODES to oracle12c01,oracle12c02 | |
Setting CRS_HOME to false | |
Setting oracle.installer.invPtrLoc to /tmp/deinstall2026-11-18_12-21-03PM/oraInst.loc | |
Setting oracle.installer.local to false | |
## [END] Preparing for Deinstall ## | |
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/12.0.0/dbhome_1' from the central inventory on the local node : Done | |
Delete directory '/u01/app/oracle/product/12.0.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/12.0.0/dbhome_1' from the central inventory on the remote nodes 'oracle12c02' : Done | |
Delete directory '/u01/app/oracle/product/12.0.0/dbhome_1' on the remote nodes 'oracle12c02' : Done | |
The Oracle Base directory '/u01/app/oracle' will not be removed on node 'oracle12c02'. 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/deinstall2026-11-18_12-21-03PM' on node 'oracle12c02' | |
## [END] Oracle install clean ## | |
######################### DEINSTALL CLEAN OPERATION END ######################### | |
####################### DEINSTALL CLEAN OPERATION SUMMARY ####################### | |
Successfully detached Oracle home '/u01/app/oracle/product/12.0.0/dbhome_1' from the central inventory on the local node. | |
Successfully deleted directory '/u01/app/oracle/product/12.0.0/dbhome_1' on the local node. | |
Successfully detached Oracle home '/u01/app/oracle/product/12.0.0/dbhome_1' from the central inventory on the remote nodes 'oracle12c02'. | |
Successfully deleted directory '/u01/app/oracle/product/12.0.0/dbhome_1' on the remote nodes 'oracle12c02'. | |
Oracle Universal Installer cleanup was successful. | |
Review the permissions and contents of '/u01/app/oracle' on nodes(s) 'oracle12c01,oracle12c02'. | |
If there are no Oracle home(s) associated with '/u01/app/oracle', manually delete '/u01/app/oracle' and its contents. | |
Oracle deinstall tool successfully cleaned up temporary directories. | |
####################################################################### | |
############# ORACLE DEINSTALL TOOL END ############# |
Login as grid, deinstall GI software.
~]$ $ORACLE_HOME/deinstall/deinstall | |
Checking for required files and bootstrapping ... | |
Please wait ... | |
Location of logs /tmp/deinstall2026-11-18_02-52-12PM/logs/ | |
############ ORACLE DECONFIG TOOL START ############ | |
######################### DECONFIG CHECK OPERATION START ######################### | |
## [START] Install check configuration ## | |
Checking for existence of the Oracle home location /u01/app/12.0.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/12.0.0/grid | |
The following nodes are part of this cluster: oracle12c01,oracle12c02 | |
Active Remote Nodes are oracle12c02 | |
Checking for sufficient temp space availability on node(s) : 'oracle12c01,oracle12c02' | |
## [END] Install check configuration ## | |
Traces log file: /tmp/deinstall2026-11-18_02-52-12PM/logs//crsdc_2026-11-18_02-53-03-PM.log | |
Network Configuration check config START | |
Network de-configuration trace file location: /tmp/deinstall2026-11-18_02-52-12PM/logs/netdc_check2026-11-18_02-53-04-PM.log | |
Specify all RAC listeners (do not include SCAN listener) that are to be de-configured. Enter .(dot) to deselect all. [LISTENER]: | |
Network Configuration check config END | |
Asm Check Configuration START | |
ASM de-configuration trace file location: /tmp/deinstall2026-11-18_02-52-12PM/logs/asmcadc_check2026-11-18_02-53-51-PM.log | |
Automatic Storage Management (ASM) instance is detected in this Oracle home /u01/app/12.0.0/grid. | |
ASM Diagnostic Destination : /u01/app/grid | |
ASM Diskgroups : +DATA,+GIMR | |
ASM diskstring : ORCL:* | |
Diskgroups will be dropped | |
De-configuring ASM will drop all the diskgroups and their 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]: y | |
Is Grid Infrastructure Storage(OCR) in ASM diskgroup (y|n) [y]: | |
Enter the OCR/Voting Disk diskgroup name [+GIMR]: | |
Specify the ASM Diagnostic Destination [/u01/app/grid]: | |
Specify the diskstring [ORCL:*]: | |
Specify the diskgroups that are managed by this ASM instance [+DATA,+GIMR]: | |
De-configuring ASM will drop the diskgroups at cleanup time. Do you want deconfig tool to drop the diskgroups (y|n) [y]: | |
Database Check Configuration START | |
Database de-configuration trace file location: /tmp/deinstall2026-11-18_02-52-12PM/logs/databasedc_check2026-11-18_02-54-40-PM.log | |
Oracle Grid Management database was not found in this Grid Infrastructure home | |
Database Check Configuration END | |
######################### DECONFIG CHECK OPERATION END ######################### | |
####################### DECONFIG CHECK OPERATION SUMMARY ####################### | |
Oracle Grid Infrastructure Home is: /u01/app/12.0.0/grid | |
The following nodes are part of this cluster: oracle12c01,oracle12c02 | |
Active Remote Nodes are oracle12c02 | |
The cluster node(s) on which the Oracle home deinstallation will be performed are:oracle12c01,oracle12c02 | |
Oracle Home selected for deinstall is: /u01/app/12.0.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 | |
Oracle Grid Management database was not found in this Grid Infrastructure home | |
Do you want to continue (y - yes, n - no)? [n]: y | |
A log of this session will be written to: '/tmp/deinstall2026-11-18_02-52-12PM/logs/deinstall_deconfig2026-11-18_02-52-51-PM.out' | |
Any error messages from this session will be written to: '/tmp/deinstall2026-11-18_02-52-12PM/logs/deinstall_deconfig2026-11-18_02-52-51-PM.err' | |
######################## DECONFIG CLEAN OPERATION START ######################## | |
Database de-configuration trace file location: /tmp/deinstall2026-11-18_02-52-12PM/logs/databasedc_clean2026-11-18_02-54-46-PM.log | |
ASM de-configuration trace file location: /tmp/deinstall2026-11-18_02-52-12PM/logs/asmcadc_clean2026-11-18_02-54-46-PM.log | |
ASM Clean Configuration START | |
ASM Clean Configuration END | |
Network Configuration clean config START | |
Network de-configuration trace file location: /tmp/deinstall2026-11-18_02-52-12PM/logs/netdc_clean2026-11-18_02-55-37-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 "oracle12c02". | |
/u01/app/12.0.0/grid/crs/install/rootcrs.sh -force -deconfig -paramfile "/tmp/deinstall2026-11-18_02-52-12PM/response/deinstall_OraGI12Home1.rsp" | |
Run the following command as the root user or the administrator on node "oracle12c01". | |
/u01/app/12.0.0/grid/crs/install/rootcrs.sh -force -deconfig -paramfile "/tmp/deinstall2026-11-18_02-52-12PM/response/deinstall_OraGI12Home1.rsp" -lastnode | |
Press Enter after you finish running the above commands | |
<---------------------------------------- | |
<<< | |
~]# /u01/app/12.0.0/grid/crs/install/rootcrs.sh -force -deconfig -paramfile "/tmp/deinstall2026-11-18_02-52-12PM/response/deinstall_OraGI12Home1.rsp" | |
Using configuration parameter file: /tmp/deinstall2026-11-18_02-52-12PM/response/deinstall_OraGI12Home1.rsp | |
The log of current session can be found at: | |
/tmp/deinstall2026-11-18_02-52-12PM/logs/crsdeconfig_oracle12c02_2026-11-18_03-00-02PM.log | |
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'oracle12c02' | |
CRS-2673: Attempting to stop 'ora.crsd' on 'oracle12c02' | |
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on server 'oracle12c02' | |
CRS-2673: Attempting to stop 'ora.GIMR.dg' on 'oracle12c02' | |
CRS-2677: Stop of 'ora.GIMR.dg' on 'oracle12c02' succeeded | |
CRS-2673: Attempting to stop 'ora.asm' on 'oracle12c02' | |
CRS-2677: Stop of 'ora.asm' on 'oracle12c02' succeeded | |
CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'oracle12c02' | |
CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'oracle12c02' succeeded | |
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'oracle12c02' has completed | |
CRS-2677: Stop of 'ora.crsd' on 'oracle12c02' succeeded | |
CRS-2673: Attempting to stop 'ora.storage' on 'oracle12c02' | |
CRS-2673: Attempting to stop 'ora.crf' on 'oracle12c02' | |
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'oracle12c02' | |
CRS-2673: Attempting to stop 'ora.gpnpd' on 'oracle12c02' | |
CRS-2673: Attempting to stop 'ora.mdnsd' on 'oracle12c02' | |
CRS-2677: Stop of 'ora.drivers.acfs' on 'oracle12c02' succeeded | |
CRS-2677: Stop of 'ora.storage' on 'oracle12c02' succeeded | |
CRS-2673: Attempting to stop 'ora.asm' on 'oracle12c02' | |
CRS-2677: Stop of 'ora.crf' on 'oracle12c02' succeeded | |
CRS-2677: Stop of 'ora.gpnpd' on 'oracle12c02' succeeded | |
CRS-2677: Stop of 'ora.mdnsd' on 'oracle12c02' succeeded | |
CRS-2677: Stop of 'ora.asm' on 'oracle12c02' succeeded | |
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'oracle12c02' | |
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'oracle12c02' succeeded | |
CRS-2673: Attempting to stop 'ora.ctssd' on 'oracle12c02' | |
CRS-2673: Attempting to stop 'ora.evmd' on 'oracle12c02' | |
CRS-2677: Stop of 'ora.ctssd' on 'oracle12c02' succeeded | |
CRS-2677: Stop of 'ora.evmd' on 'oracle12c02' succeeded | |
CRS-2673: Attempting to stop 'ora.cssd' on 'oracle12c02' | |
CRS-2677: Stop of 'ora.cssd' on 'oracle12c02' succeeded | |
CRS-2673: Attempting to stop 'ora.gipcd' on 'oracle12c02' | |
CRS-2677: Stop of 'ora.gipcd' on 'oracle12c02' succeeded | |
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'oracle12c02' has completed | |
CRS-4133: Oracle High Availability Services has been stopped. | |
2026/11/18 15:01:49 CLSRSC-336: Successfully deconfigured Oracle Clusterware stack on this node | |
<<< | |
~]# /u01/app/12.0.0/grid/crs/install/rootcrs.sh -force -deconfig -paramfile "/tmp/deinstall2026-11-18_02-52-12PM/response/deinstall_OraGI12Home1.rsp" -lastnode | |
Using configuration parameter file: /tmp/deinstall2026-11-18_02-52-12PM/response/deinstall_OraGI12Home1.rsp | |
The log of current session can be found at: | |
/tmp/deinstall2026-11-18_02-52-12PM/logs/crsdeconfig_oracle12c01_2026-11-18_03-02-36PM.log | |
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'oracle12c01' | |
CRS-2673: Attempting to stop 'ora.crsd' on 'oracle12c01' | |
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on server 'oracle12c01' | |
CRS-2673: Attempting to stop 'ora.GIMR.dg' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.GIMR.dg' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.asm' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.asm' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'oracle12c01' succeeded | |
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'oracle12c01' has completed | |
CRS-2677: Stop of 'ora.crsd' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.storage' on 'oracle12c01' | |
CRS-2673: Attempting to stop 'ora.crf' on 'oracle12c01' | |
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'oracle12c01' | |
CRS-2673: Attempting to stop 'ora.gpnpd' on 'oracle12c01' | |
CRS-2673: Attempting to stop 'ora.mdnsd' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.drivers.acfs' on 'oracle12c01' succeeded | |
CRS-2677: Stop of 'ora.crf' on 'oracle12c01' succeeded | |
CRS-2677: Stop of 'ora.gpnpd' on 'oracle12c01' succeeded | |
CRS-2677: Stop of 'ora.storage' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.asm' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.mdnsd' on 'oracle12c01' succeeded | |
CRS-2677: Stop of 'ora.asm' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.ctssd' on 'oracle12c01' | |
CRS-2673: Attempting to stop 'ora.evmd' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.ctssd' on 'oracle12c01' succeeded | |
CRS-2677: Stop of 'ora.evmd' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.cssd' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.cssd' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.gipcd' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.gipcd' on 'oracle12c01' succeeded | |
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'oracle12c01' has completed | |
CRS-4133: Oracle High Availability Services has been stopped. | |
CRS-4123: Oracle High Availability Services has been started. | |
CRS-2672: Attempting to start 'ora.evmd' on 'oracle12c01' | |
CRS-2672: Attempting to start 'ora.mdnsd' on 'oracle12c01' | |
CRS-2676: Start of 'ora.mdnsd' on 'oracle12c01' succeeded | |
CRS-2676: Start of 'ora.evmd' on 'oracle12c01' succeeded | |
CRS-2672: Attempting to start 'ora.gpnpd' on 'oracle12c01' | |
CRS-2676: Start of 'ora.gpnpd' on 'oracle12c01' succeeded | |
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'oracle12c01' | |
CRS-2672: Attempting to start 'ora.gipcd' on 'oracle12c01' | |
CRS-2676: Start of 'ora.cssdmonitor' on 'oracle12c01' succeeded | |
CRS-2676: Start of 'ora.gipcd' on 'oracle12c01' succeeded | |
CRS-2672: Attempting to start 'ora.cssd' on 'oracle12c01' | |
CRS-2672: Attempting to start 'ora.diskmon' on 'oracle12c01' | |
CRS-2676: Start of 'ora.diskmon' on 'oracle12c01' succeeded | |
CRS-2676: Start of 'ora.cssd' on 'oracle12c01' succeeded | |
CRS-2672: Attempting to start 'ora.crf' on 'oracle12c01' | |
CRS-2672: Attempting to start 'ora.ctssd' on 'oracle12c01' | |
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'oracle12c01' | |
CRS-2676: Start of 'ora.crf' on 'oracle12c01' succeeded | |
CRS-2676: Start of 'ora.ctssd' on 'oracle12c01' succeeded | |
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'oracle12c01' succeeded | |
CRS-2672: Attempting to start 'ora.asm' on 'oracle12c01' | |
CRS-2676: Start of 'ora.asm' on 'oracle12c01' succeeded | |
CRS-2672: Attempting to start 'ora.storage' on 'oracle12c01' | |
CRS-2676: Start of 'ora.storage' on 'oracle12c01' succeeded | |
CRS-2672: Attempting to start 'ora.crsd' on 'oracle12c01' | |
CRS-2676: Start of 'ora.crsd' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.crsd' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.crsd' on 'oracle12c01' succeeded | |
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'oracle12c01' | |
CRS-2673: Attempting to stop 'ora.evmd' on 'oracle12c01' | |
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'oracle12c01' | |
CRS-2673: Attempting to stop 'ora.mdnsd' on 'oracle12c01' | |
CRS-2673: Attempting to stop 'ora.gpnpd' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.drivers.acfs' on 'oracle12c01' succeeded | |
CRS-2677: Stop of 'ora.evmd' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.ctssd' on 'oracle12c01' | |
CRS-2673: Attempting to stop 'ora.storage' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.storage' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.asm' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.mdnsd' on 'oracle12c01' succeeded | |
CRS-2677: Stop of 'ora.gpnpd' on 'oracle12c01' succeeded | |
CRS-2677: Stop of 'ora.ctssd' on 'oracle12c01' succeeded | |
CRS-2677: Stop of 'ora.asm' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.cssd' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.cssd' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.crf' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.crf' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.gipcd' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.gipcd' on 'oracle12c01' succeeded | |
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'oracle12c01' has completed | |
CRS-4133: Oracle High Availability Services has been stopped. | |
CRS-4123: Oracle High Availability Services has been started. | |
CRS-2672: Attempting to start 'ora.evmd' on 'oracle12c01' | |
CRS-2672: Attempting to start 'ora.mdnsd' on 'oracle12c01' | |
CRS-2676: Start of 'ora.mdnsd' on 'oracle12c01' succeeded | |
CRS-2676: Start of 'ora.evmd' on 'oracle12c01' succeeded | |
CRS-2672: Attempting to start 'ora.gpnpd' on 'oracle12c01' | |
CRS-2676: Start of 'ora.gpnpd' on 'oracle12c01' succeeded | |
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'oracle12c01' | |
CRS-2672: Attempting to start 'ora.gipcd' on 'oracle12c01' | |
CRS-2676: Start of 'ora.cssdmonitor' on 'oracle12c01' succeeded | |
CRS-2676: Start of 'ora.gipcd' on 'oracle12c01' succeeded | |
CRS-2672: Attempting to start 'ora.cssd' on 'oracle12c01' | |
CRS-2672: Attempting to start 'ora.diskmon' on 'oracle12c01' | |
CRS-2676: Start of 'ora.diskmon' on 'oracle12c01' succeeded | |
CRS-2676: Start of 'ora.cssd' on 'oracle12c01' succeeded | |
ASM de-configuration trace file location: /tmp/deinstall2026-11-18_02-52-12PM/logs/asmcadc_clean2026-11-18_03-05-50-PM.log | |
ASM Clean Configuration START | |
ASM Clean Configuration END | |
ASM instance deleted successfully. Check /tmp/deinstall2026-11-18_02-52-12PM/logs/asmcadc_clean2026-11-18_03-05-50-PM.log for details. | |
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'oracle12c01' | |
CRS-2673: Attempting to stop 'ora.gpnpd' on 'oracle12c01' | |
CRS-2673: Attempting to stop 'ora.evmd' on 'oracle12c01' | |
CRS-2673: Attempting to stop 'ora.mdnsd' on 'oracle12c01' | |
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.gpnpd' on 'oracle12c01' succeeded | |
CRS-2677: Stop of 'ora.evmd' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.cssd' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.drivers.acfs' on 'oracle12c01' succeeded | |
CRS-2677: Stop of 'ora.mdnsd' on 'oracle12c01' succeeded | |
CRS-2677: Stop of 'ora.cssd' on 'oracle12c01' succeeded | |
CRS-2673: Attempting to stop 'ora.gipcd' on 'oracle12c01' | |
CRS-2677: Stop of 'ora.gipcd' on 'oracle12c01' succeeded | |
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'oracle12c01' has completed | |
CRS-4133: Oracle High Availability Services has been stopped. | |
2026/11/18 15:08:13 CLSRSC-336: Successfully deconfigured Oracle Clusterware stack on this node | |
2026/11/18 15:08:13 CLSRSC-559: Ensure that the GPnP profile data under the 'gpnp' directory in /u01/app/12.0.0/grid is deleted on each node before using the software in the current Grid Infrastructure home for reconfiguration. | |
<---------------------------------------- | |
######################### DECONFIG CLEAN OPERATION END ######################### | |
####################### DECONFIG CLEAN OPERATION SUMMARY ####################### | |
There is no Oracle Grid Management database to de-configure in this Grid Infrastructure home | |
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 "oracle12c02" | |
Oracle Clusterware is stopped and successfully de-configured on node "oracle12c01" | |
Oracle Clusterware is stopped and de-configured successfully. | |
####################################################################### | |
############# ORACLE DECONFIG TOOL END ############# | |
Using properties file /tmp/deinstall2026-11-18_02-52-12PM/response/deinstall_2026-11-18_02-52-51-PM.rsp | |
Location of logs /tmp/deinstall2026-11-18_02-52-12PM/logs/ | |
############ ORACLE DEINSTALL TOOL START ############ | |
####################### DEINSTALL CHECK OPERATION SUMMARY ####################### | |
A log of this session will be written to: '/tmp/deinstall2026-11-18_02-52-12PM/logs/deinstall_deconfig2026-11-18_02-52-51-PM.out' | |
Any error messages from this session will be written to: '/tmp/deinstall2026-11-18_02-52-12PM/logs/deinstall_deconfig2026-11-18_02-52-51-PM.err' | |
######################## DEINSTALL CLEAN OPERATION START ######################## | |
## [START] Preparing for Deinstall ## | |
Setting LOCAL_NODE to oracle12c01 | |
Setting REMOTE_NODES to oracle12c02 | |
Setting CLUSTER_NODES to oracle12c01,oracle12c02 | |
Setting CRS_HOME to true | |
Setting oracle.installer.invPtrLoc to /tmp/deinstall2026-11-18_02-52-12PM/oraInst.loc | |
Setting oracle.installer.local to false | |
## [END] Preparing for Deinstall ## | |
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/12.0.0/grid' from the central inventory on the local node : Done | |
Delete directory '/u01/app/12.0.0/grid' on the local node : Done | |
Delete directory '/u01/app/oraInventory' on the local node : Done | |
The Oracle Base directory '/u01/app/grid' will not be removed on local node. The directory is not empty. | |
Detach Oracle home '/u01/app/12.0.0/grid' from the central inventory on the remote nodes 'oracle12c02' : Done | |
Delete directory '/u01/app/12.0.0/grid' on the remote nodes 'oracle12c02' : Done | |
Delete directory '/u01/app/oraInventory' on the remote nodes 'oracle12c02' : Done | |
The Oracle Base directory '/u01/app/grid' will not be removed on node 'oracle12c02'. 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/deinstall2026-11-18_02-52-12PM' on node 'oracle12c02' | |
## [END] Oracle install clean ## | |
######################### DEINSTALL CLEAN OPERATION END ######################### | |
####################### DEINSTALL CLEAN OPERATION SUMMARY ####################### | |
Successfully detached Oracle home '/u01/app/12.0.0/grid' from the central inventory on the local node. | |
Successfully deleted directory '/u01/app/12.0.0/grid' on the local node. | |
Successfully deleted directory '/u01/app/oraInventory' on the local node. | |
Successfully detached Oracle home '/u01/app/12.0.0/grid' from the central inventory on the remote nodes 'oracle12c02'. | |
Successfully deleted directory '/u01/app/12.0.0/grid' on the remote nodes 'oracle12c02'. | |
Successfully deleted directory '/u01/app/oraInventory' on the remote nodes 'oracle12c02'. | |
Oracle Universal Installer cleanup was successful. | |
Run 'rm -r /etc/oraInst.loc' as root on node(s) 'oracle12c01,oracle12c02' at the end of the session. | |
Run 'rm -r /opt/ORCLfmap' as root on node(s) 'oracle12c01,oracle12c02' at the end of the session. | |
Review the permissions and contents of '/u01/app/grid' on nodes(s) 'oracle12c01,oracle12c02'. | |
If there are no Oracle home(s) associated with '/u01/app/grid', manually delete '/u01/app/grid' and its contents. | |
Oracle deinstall tool successfully cleaned up temporary directories. | |
####################################################################### | |
############# ORACLE DEINSTALL TOOL END ############# |
Login as *root, remove oracle files and directories.
~]# rm -rf /u01/app/* | |
~]# rm -f /etc/oraInst.loc | |
~]# rm -rf /opt/ORCLfmap |
# 11g and latest SI
Delete oracle instance.
dbca -silent -deleteDatabase \ | |
-sourceDB orcl \ | |
-sysDBAUserName sys \ | |
-sysDBAPassword oracle |
# 11g and latest RAC
Remove GRID_HOME.
rm -rf /u01/app/* |
Remove oracle files.
rm -rf /tmp/.oracle | |
rm -rf /var/tmp/.oracle | |
rm -f /etc/init/oracle-ohasd.conf | |
rm -f /etc/init.d/ohasd | |
rm -f /etc/init.d/init.ohasd | |
rm -f /etc/oraInst.loc | |
rm -f /etc/oratab | |
rm -rf /etc/oracle |
Clear ASM disk header.
dd if=/dev/zero of=/dev/sdb bs=8192 count=128000 | |
dd if=/dev/zero of=/dev/sdc bs=8192 count=128000 | |
dd if=/dev/zero of=/dev/sdd bs=8192 count=128000 |
# 10g RAC
Remove GRID_HOME.
rm -rf /u01/app/oracle/product/10.2.0/db_1 | |
rm -rf /u01/app/oracle/product/10.2.0/crs_1 | |
rm -rf /u01/app/oracle/oraInventory |
Remove oracle files.
rm -rf /etc/rc.d/rc5.d/S96init.crs | |
rm -rf /etc/rc.d/init.d/init.crs | |
rm -rf /etc/rc.d/rc4.d/K96init.crs | |
rm -rf /etc/rc.d/rc6.d/K96init.crs | |
rm -rf /etc/rc.d/rc1.d/K96init.crs | |
rm -rf /etc/rc.d/rc0.d/K96init.crs | |
rm -rf /etc/rc.d/rc2.d/K96init.crs | |
rm -rf /etc/rc.d/rc3.d/S96init.crs | |
rm -rf /etc/oracle/* | |
rm -rf /etc/oraInst.loc | |
rm -rf /etc/oratab | |
rm -rf /usr/local/bin/coraenv | |
rm -rf /usr/local/bin/dbhome | |
rm -rf /usr/local/bin/oraenv | |
rm -f /etc/init.d/init.cssd | |
rm -f /etc/init.d/init.crs | |
rm -f /etc/init.d/init.crsd | |
rm -f /etc/init.d/init.evmd | |
rm -f /etc/rc2.d/K96init.crs | |
rm -f /etc/rc2.d/S96init.crs | |
rm -f /etc/rc3.d/K96init.crs | |
rm -f /etc/rc3.d/S96init.crs | |
rm -f /etc/rc5.d/K96init.crs | |
rm -f /etc/rc5.d/S96init.crs | |
rm -f /etc/inittab.crs | |
# restore inittab | |
mv /etc/inittab /etc/inittab_bak | |
cp /etc/inittab.orig /etc/inittab |
Clear ASM disk header.
dd if=/dev/zero of=/dev/raw/raw1 bs=1M count=300 | |
dd if=/dev/zero of=/dev/raw/raw2 bs=1M count=300 | |
dd if=/dev/zero of=/dev/raw/raw3 bs=1M count=300 |