Deinstalling 19c Grid Standalone


Login as grid home owner. In my case I am using oraasm.


[oraasm@funebs122 ~]$ cd $ORACLE_HOME
[oraasm@funebs122 GRID19c]$ cd deinstall/
[oraasm@funebs122 deinstall]$ ./deinstall
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /oraapps122/oracle/oraInventory/logs/

############ ORACLE DECONFIG TOOL START ############


######################### DECONFIG CHECK OPERATION START #########################
## [START] Install check configuration ##


Checking for existence of the Oracle home location /oraapps122/GRID19c
Oracle Home type selected for deinstall is: Oracle Grid Infrastructure for a Standalone Server
Oracle Base selected for deinstall is: /oraapps122/app/ASM19c
Checking for existence of central inventory location /oraapps122/oracle/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /oraapps122/GRID19c

## [END] Install check configuration ##

Traces log file: /oraapps122/oracle/oraInventory/logs//crsdc_2022-02-18_10-19-51-AM.log

Network Configuration check config START

Network de-configuration trace file location: /oraapps122/oracle/oraInventory/logs/netdc_check2022-02-18_10-19-56AM.log

Network Configuration check config END

Asm Check Configuration START

ASM de-configuration trace file location: /oraapps122/oracle/oraInventory/logs/asmcadc_check2022-02-18_10-19-56AM.log

Automatic Storage Management (ASM) instance is detected in this Oracle home /oraapps122/GRID19c.
ASM Diagnostic Destination : /oraapps122/app/ASM19c
ASM Diskgroups :
ASM diskstring : <Default>
Diskgroups will not be dropped
 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]: n
Database Check Configuration START

Database de-configuration trace file location: /oraapps122/oracle/oraInventory/logs/databasedc_check2022-02-18_10-19-56AM.log

Database Check Configuration END

######################### DECONFIG CHECK OPERATION END #########################


####################### DECONFIG CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /oraapps122/GRID19c
Oracle Home selected for deinstall is: /oraapps122/GRID19c
Inventory Location where the Oracle home registered is: /oraapps122/oracle/oraInventory
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: '/oraapps122/oracle/oraInventory/logs/deinstall_deconfig2022-02-18_10-19-32-AM.out'
Any error messages from this session will be written to: '/oraapps122/oracle/oraInventory/logs/deinstall_deconfig2022-02-18_10-19-32-AM.err'

######################## DECONFIG CLEAN OPERATION START ########################
Database de-configuration trace file location: /oraapps122/oracle/oraInventory/logs/databasedc_clean2022-02-18_10-19-56AM.log
ASM de-configuration trace file location: /oraapps122/oracle/oraInventory/logs/asmcadc_clean2022-02-18_10-19-56AM.log
ASM Clean Configuration START
ASM Clean Configuration END

Network Configuration clean config START

Network de-configuration trace file location: /oraapps122/oracle/oraInventory/logs/netdc_clean2022-02-18_10-19-56AM.log

De-configuring Listener configuration file...
Listener configuration file de-configured successfully.

De-configuring Naming Methods configuration file...
Naming Methods configuration file de-configured successfully.

De-configuring backup files...
Backup files de-configured successfully.

The network configuration has been cleaned up successfully.

Network Configuration clean config END


---------------------------------------->

Run the following command as the root user or the administrator on node "funebs122".

/oraapps122/GRID19c/crs/install/roothas.sh -force  -deconfig -paramfile "/tmp/deinstall2022-02-18_10-18-48AM/response/deinstall_OraGI19Home1.rsp"

Press Enter after you finish running the above commands

<----------------------------------------


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


####################### DECONFIG CLEAN OPERATION SUMMARY #######################
ASM instance was de-configured successfully from the Oracle home
Oracle Restart was already stopped and de-configured on node "funebs122"
Oracle Restart is stopped and de-configured successfully.
#######################################################################


############# ORACLE DECONFIG TOOL END #############

Using properties file /tmp/deinstall2022-02-18_10-18-48AM/response/deinstall_2022-02-18_10-19-32-AM.rsp
Location of logs /oraapps122/oracle/oraInventory/logs/

############ ORACLE DEINSTALL TOOL START ############





####################### DEINSTALL CHECK OPERATION SUMMARY #######################
A log of this session will be written to: '/oraapps122/oracle/oraInventory/logs/deinstall_deconfig2022-02-18_10-19-32-AM.out'
Any error messages from this session will be written to: '/oraapps122/oracle/oraInventory/logs/deinstall_deconfig2022-02-18_10-19-32-AM.err'

######################## DEINSTALL CLEAN OPERATION START ########################
## [START] Preparing for Deinstall ##
Setting LOCAL_NODE to funebs122
Setting CRS_HOME to true
Setting oracle.installer.invPtrLoc to /tmp/deinstall2022-02-18_10-18-48AM/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 '/oraapps122/GRID19c' from the central inventory on the local node : Done

Delete directory '/oraapps122/GRID19c' on the local node : Done

Delete directory '/oraapps122/app/ASM19c' on the local node : Done

Oracle Universal Installer cleanup was successful.

Oracle Universal Installer clean END


## [START] Oracle install clean ##


## [END] Oracle install clean ##


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


####################### DEINSTALL CLEAN OPERATION SUMMARY #######################
Successfully detached Oracle home '/oraapps122/GRID19c' from the central inventory on the local node.
Successfully deleted directory '/oraapps122/GRID19c' on the local node.
Successfully deleted directory '/oraapps122/app/ASM19c' on the local node.
Oracle Universal Installer cleanup was successful.

Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################


############# ORACLE DEINSTALL TOOL END #############


When it say run from root, run as root.

[root@funebs122 ~]# /oraapps122/GRID19c/crs/install/roothas.sh -force  -deconfig -paramfile "/tmp/deinstall2022-02-18_10-18-48AM/response/deinstall_OraGI19Home1.rsp"

Using configuration parameter file: /tmp/deinstall2022-02-18_10-18-48AM/response/deinstall_OraGI19Home1.rsp
The log of current session can be found at:
  /oraapps122/oracle/oraInventory/logs/hadeconfig.log
2022/02/18 10:22:28 CLSRSC-337: Successfully deconfigured Oracle Restart stack


If you like please follow and comment