Tuesday, May 1, 2012

Deinstall Oracle database software 11gr2

Deinstall Oracle database software 11gr2

To clean up the installed Oracle 11gR2  database software, execute the deinstall script. It is present in $ORACLE_HOME/deinstall directory


ota5070#ASM451P1>>/oracle> $ORACLE_HOME/deinstall/deinstall
note * Everything in red are questions ask by the deinstaller

Checking for required files and bootstrapping ...
Please wait ...
Location of logs /grid/oraInventory/logs/
############ ORACLE DEINSTALL & DECONFIG TOOL START ############

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

Checking for existence of the Oracle home location /oracle/home/11.2.0.3.0
Oracle Home type selected for deinstall is: Oracle Single Instance Database
Oracle Base selected for deinstall is: /oracle/home
Checking for existence of central inventory location /grid/oraInventory
Checking for sufficient temp space availability on node(s) : 'ota5070.business.finl.fortis'
## [END] Install check configuration ##

Network Configuration check config START
Network de-configuration trace file location: /grid/oraInventory/logs/netdc_check2012-05-01_09-28-53-AM.log
Network Configuration check config END
Database Check Configuration START
Database de-configuration trace file location: /grid/oraInventory/logs/databasedc_check2012-05-01_09-28-55-AM.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 [ASM451P,ASM401P]:
###### For Database 'ASM451P' ######
Specify the type of this database (1.Single Instance Database|2.Oracle Restart Enabled Database) [2]:2Specify the list of nodes on which this database has instances [ota5070]:
Specify the diagnostic destination location of the database [/oracle/home/diag/rdbms/asm451p]:
Specify the storage type used by the Database ASM|FS []: ASM

Database Check Configuration END
Enterprise Manager Configuration Assistant START
EMCA de-configuration trace file location: /grid/oraInventory/logs/emcadc_check2012-05-01_09-31-50-AM.log
Checking configuration for database ASM451P
Checking configuration for database ASM401P
Enterprise Manager Configuration Assistant END
Oracle Configuration Manager check START
OCM check log file location : /grid/oraInventory/logs//ocm_check8430.log
Oracle Configuration Manager check END
######################### CHECK OPERATION END #########################

####################### CHECK OPERATION SUMMARY #######################
Oracle Home selected for deinstall is: /oracle/home/11.2.0.3.0
Inventory Location where the Oracle home registered is: /grid/oraInventory
The following databases were selected for de-configuration : ASM451P,ASM401P
Database unique name : ASM451P
Storage used : ASM
Database unique name : ASM401P
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
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]:YA log of this session will be written to: '/grid/oraInventory/logs/deinstall_deconfig2012-05-01_09-28-51-AM.out'
Any error messages from this session will be written to: '/grid/oraInventory/logs/deinstall_deconfig2012-05-01_09-28-51-AM.err'
######################## CLEAN OPERATION START ########################
Enterprise Manager Configuration Assistant START
EMCA de-configuration trace file location: /grid/oraInventory/logs/emcadc_clean2012-05-01_09-31-50-AM.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: /grid/oraInventory/logs/databasedc_clean2012-05-01_09-32-30-AM.log
Database Clean Configuration START ASM451P
This operation may take few minutes.
Database Clean Configuration END ASM451P
Database Clean Configuration START ASM401P
This operation may take few minutes.
Database Clean Configuration END ASM401P
Network Configuration clean config START
Network de-configuration trace file location: /grid/oraInventory/logs/netdc_clean2012-05-01_09-32-53-AM.log
De-configuring Local Net Service Names configuration file...
Local Net Service Names 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
Oracle Configuration Manager clean START
OCM clean log file location : /grid/oraInventory/logs//ocm_clean8430.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 '/oracle/home/11.2.0.3.0' from the central inventory on the local node : Done
Delete directory '/oracle/home/11.2.0.3.0' on the local node : Done
The Oracle Base directory '/oracle/home' will not be removed on local node. The directory is in use by Oracle Home '/oracle/home/agent/core/12.1.0.1.0'.
Oracle Universal Installer cleanup was successful.
Oracle Universal Installer clean END

## [START] Oracle install clean ##
Clean install operation removing temporary directory '/tmp/deinstall2012-05-01_09-28-41AM' on node 'ota5070'
## [END] Oracle install clean ##

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

####################### CLEAN OPERATION SUMMARY #######################
Successfully de-configured the following database instances : ASM451P,ASM401P
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 '/oracle/home/11.2.0.3.0' from the central inventory on the local node.
Successfully deleted directory '/oracle/home/11.2.0.3.0' on the local node.
Oracle Universal Installer cleanup was successful.
Oracle deinstall tool successfully cleaned up temporary directories.
#######################################################################

############# ORACLE DEINSTALL & DECONFIG TOOL END #############

And there you have it clean deinstall of the oracle database software 11gr2

No comments:

Post a Comment