[oracle@station7 bin]$ /u01/app/oracle/product/12.2.0/dbhome_1/deinstall/deinstall -local
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /tmp/deinstall2023-05-02_06-25-53PM/logs/
############ ORACLE DECONFIG TOOL START ############
The product version number of the specified home cannot be determined. Is the product version 12.2.0.1.0 (y - yes, n - no)? [n]y
######################### DECONFIG CHECK OPERATION START #########################
## [START] Install check configuration ##
The deinstall tool cannot determine the home type needed to deconfigure the selected home. Please select the type of Oracle home you are trying to deinstall.
Single Instance database - Enter 1
Real Application Cluster database - Enter 2
Grid Infrastructure for a cluster - Enter 3
Grid Infrastructure for a stand-alone server - Enter 4
Client Oracle Home - Enter 5
Transparent Gateways Oracle Home - Enter 6
GSM Oracle Home - Enter 7
2
Checking for existence of the Oracle home location /u01/app/oracle/product/12.2.0/dbhome_1
Oracle Home type selected for deinstall is: Oracle Real Application Cluster Database
Oracle Base selected for deinstall is:
Checking for existence of central inventory location /u01/app/oraInventory
Checking for existence of the Oracle Grid Infrastructure home /u01/app/12.2.0/grid
The following nodes are part of this cluster: station7,station4,station3
Checking for sufficient temp space availability on node(s) : 'station7'
## [END] Install check configuration ##
Network Configuration check config START
Network de-configuration trace file location: /tmp/deinstall2023-05-02_06-25-53PM/logs/netdc_check2023-05-02_06-28-38-PM.log
Network Configuration check config END
Database Check Configuration START
Database de-configuration trace file location: /tmp/deinstall2023-05-02_06-25-53PM/logs/databasedc_check2023-05-02_06-30-16-PM.log
Use comma as separator when specifying list of values as input
Specify the list of database names that are configured locally on this node for this Oracle home. Local configurations of the discovered databases will be removed []: 直接回车
Database Check Configuration END
Oracle Configuration Manager check START
OCM check log file location : /tmp/deinstall2023-05-02_06-25-53PM/logs//ocm_check5116.log
Oracle Configuration Manager check END
######################### DECONFIG CHECK OPERATION END #########################
####################### DECONFIG CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /u01/app/12.2.0/grid
The following nodes are part of this cluster: station7,station4,station3
The cluster node(s) on which the Oracle home deinstallation will be performed are:station7
Oracle Home selected for deinstall is: /u01/app/oracle/product/12.2.0/dbhome_1
Inventory Location where the Oracle home registered is: /u01/app/oraInventory
Checking the config status for CCR
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: '/tmp/deinstall2023-05-02_06-25-53PM/logs/deinstall_deconfig2023-05-02_06-26-09-PM.out'
Any error messages from this session will be written to: '/tmp/deinstall2023-05-02_06-25-53PM/logs/deinstall_deconfig2023-05-02_06-26-09-PM.err'
######################## DECONFIG CLEAN OPERATION START ########################
Database de-configuration trace file location: /tmp/deinstall2023-05-02_06-25-53PM/logs/databasedc_clean2023-05-02_06-31-13-PM.log
Network Configuration clean config START
Network de-configuration trace file location: /tmp/deinstall2023-05-02_06-25-53PM/logs/netdc_clean2023-05-02_06-31-13-PM.log
Network Configuration clean config END
Oracle Configuration Manager clean START
OCM clean log file location : /tmp/deinstall2023-05-02_06-25-53PM/logs//ocm_clean5116.log
Oracle Configuration Manager clean END
######################### DECONFIG CLEAN OPERATION END #########################
####################### DECONFIG CLEAN OPERATION SUMMARY #######################
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/deinstall2023-05-02_06-25-53PM/response/deinstall_2023-05-02_06-26-09-PM.rsp
Location of logs /tmp/deinstall2023-05-02_06-25-53PM/logs/
############ ORACLE DEINSTALL TOOL START ############
####################### DEINSTALL CHECK OPERATION SUMMARY #######################
A log of this session will be written to: '/tmp/deinstall2023-05-02_06-25-53PM/logs/deinstall_deconfig2023-05-02_06-26-09-PM.out'
Any error messages from this session will be written to: '/tmp/deinstall2023-05-02_06-25-53PM/logs/deinstall_deconfig2023-05-02_06-26-09-PM.err'
######################## DEINSTALL CLEAN OPERATION START ########################
## [START] Preparing for Deinstall ##
Setting LOCAL_NODE to station7
Setting CLUSTER_NODES to station7
Setting CRS_HOME to false
Setting oracle.installer.invPtrLoc to /tmp/deinstall2023-05-02_06-25-53PM/oraInst.loc
Setting oracle.installer.local to true
## [END] Preparing for Deinstall ##
Setting the force flag to false
Setting the force flag to cleanup the Oracle Base
Oracle Universal Installer clean START
Delete directory '/u01/app/oracle/product/12.2.0/dbhome_1' 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 deleted directory '/u01/app/oracle/product/12.2.0/dbhome_1' on the local node.
Oracle Universal Installer cleanup was successful.
Run 'rm -r /etc/oratab' as root on node(s) 'station7' at the end of the session.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################
############# ORACLE DEINSTALL TOOL END #############
[oracle@station7 bin]$