Friday, May 4, 2012

How to Uninstall/De-install Oracle 11g R1/R2 Grid and RDBMS Binaries




[oracle@drracnode3 deinstall]$ cd $GRID_HOME/deinstall

[oracle@drracnode3 deinstall]$  ./deinstall -paramfile /home/oracle/paramfile.tmpl
Checking for required files and bootstrapping ...
Please wait ...
Location of logs /u01/app/oraInventory/logs/


############ ORACLE DEINSTALL & DECONFIG TOOL START ############


Warning:  Ignoring values read from properties file, since it pertains to old deinstallation and deconfiguration.


######################## CHECK OPERATION START ########################
Install check configuration START




Checking for existence of the Oracle home location /u01/app/oracle/product/11.2.0/dbhome_1
Oracle Home type selected for de-install is: RACDB
Oracle Base selected for de-install 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.2/grid
The following nodes are part of this cluster: drracnode3,drracnode2


Install check configuration END




Network Configuration check config START


Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_check2614292120190283440.log


Network Configuration check config END


Database Check Configuration START


Database de-configuration trace file location: /u01/app/oraInventory/logs/databasedc_check3925608047156242483.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 []:


###### For Database 'wiuauto' ######


Specify the type of this database (1.Single Instance Database|2.Oracle Restart Enabled Database|3.RAC Database) [2]: 3
Specify the list of nodes on which this database has instances [drracnode3]:
Specify the list of instance names [wiuauto]: wiuauto1
Specify the local instance name on node drracnode3.localdomain  [wiuauto]: wiuauto1
Specify the diagnostic destination location of the database [/u01/app/oracle/diag/rdbms/wiuauto]:
The directory /u01/app/oracle/diag/rdbms/wiuauto does not exist.
Specify the diagnostic destination location of the database [/u01/app/oracle/diag/rdbms/wiuauto]:
The directory /u01/app/oracle/diag/rdbms/wiuauto does not exist.
Specify the diagnostic destination location of the database [/u01/app/oracle/diag/rdbms/wiuauto]:
The directory /u01/app/oracle/diag/rdbms/wiuauto does not exist.
Specify the diagnostic destination location of the database [/u01/app/oracle/diag/rdbms/wiuauto]:
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: /u01/app/oraInventory/logs/emcadc_check.log


Checking configuration for database wiuauto
Enterprise Manager Configuration Assistant END
Oracle Configuration Manager check START
OCM check log file location : /u01/app/oraInventory/logs//ocm_check3064.log
Oracle Configuration Manager check END


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




####################### CHECK OPERATION SUMMARY #######################
Oracle Grid Infrastructure Home is: /u01/app/11.2.0.2/grid
The cluster node(s) on which the Oracle home exists are: (Please input nodes seperated by ",", eg: node1,node2,...)drracnode3,drracnode2
Oracle Home selected for de-install 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 : wiuauto
Database unique name : wiuauto
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
drracnode3 : Oracle Home exists with CCR directory, but CCR is not configured
drracnode2 : Oracle Home does not exists, but CCR is 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_deconfig2012-04-20_09-28-24-AM.out'
Any error messages from this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2012-04-20_09-28-24-AM.err'


######################## CLEAN OPERATION START ########################


Enterprise Manager Configuration Assistant START


EMCA de-configuration trace file location: /u01/app/oraInventory/logs/emcadc_clean.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_clean5428849433050031048.log
Database Clean Configuration START wiuauto
This operation may take few minutes.


Database Clean Configuration END wiuauto


Network Configuration clean config START


Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_clean690183552329529116.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_clean3064.log
Oracle Configuration Manager clean END
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


Failed to delete the directory '/u01/app/oracle/product/11.2.0/dbhome_1'. The directory is in use.
Delete directory '/u01/app/oracle/product/11.2.0/dbhome_1' on the local node : Failed <<<<


The Oracle Base directory '/u01/app/oracle' will not be removed on local node. The directory is in use by Oracle Home '/u01/app/oracle/product/11.0/agent11g'.


Delete directory '/u01/app/oracle/product/11.2.0/dbhome_1' on the remote nodes 'drracnode2' : Done


The Oracle Base directory '/u01/app/oracle' will not be removed on node 'drracnode2'. The directory is in use by Oracle Home '/u01/app/oracle/product/11.0/agent11g'.


Oracle Universal Installer cleanup was successful.


Oracle Universal Installer clean END




Oracle install clean START


Clean install operation removing temporary directory '/tmp/install' on node 'drracnode3'
Clean install operation removing temporary directory '/tmp/install' on node 'drracnode2'


Oracle install clean END


Moved default properties file /tmp/deinstall2012-04-20_09-23-47-AM/response/deinstall_OraDb11g_home1.rsp as /tmp/deinstall2012-04-20_09-23-47-AM/response/deinstall_OraDb11g_home1.rsp3


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




####################### CLEAN OPERATION SUMMARY #######################
Successfully de-configured the following database instances : wiuauto
Cleaning the config for CCR
As Oracle Home or CCR directory does not exist, cleaning the CCR configuration by executing the cleanup script for removing its crontab entry and process
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.
Failed to delete directory '/u01/app/oracle/product/11.2.0/dbhome_1' on the local node.
Successfully deleted directory '/u01/app/oracle/product/11.2.0/dbhome_1' on the remote nodes 'drracnode2'.
Oracle Universal Installer cleanup was successful.


Oracle install successfully cleaned up the temporary directories.
#######################################################################




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

No comments:

Post a Comment