DEINSTALL OLD $ORACLE_HOME IN 11g

September 6, 2017 | Author: G.R.THIYAGU ; Oracle DBA | Category: Oracle Database, Information Technology Management, Computer Architecture, Computer Data, System Software
Share Embed Donate


Short Description

DEINSTALL OLD $ORACLE_HOME IN 11g...

Description

DEINSTALL 11.2.0.1 $ORACLE_HOME IN LINUX

DEINSTALL ORACLE_HOME Oracle provide us the deinstallation tool is available in $ORACLE_HOME directories after installation. This tool completely removes Oracle Software and configuration files on the Operating System. With that tool it is possible to remove Oracle S/w binaries completely. The location of the tool in the $ORACLE_HOME/deinstall directory.

$ echo $ORACLE_HOME /u01/app/oracle/product/11.2.0/dbhome_1

Go to the old $ORACLE_HOME which you want to DEINSTALL and run deinstall utility to remove Oracle binaries. Here, I want to remove 11.2.0.1 Oracle database Software.

# Go to the $ORACLE_HOME/deinstall directory $ cd $ORACLE_HOME/deinstall $ ls -ltr -rwxrwxr-x 1 oracle oinstall 31544 Mar 31

2009 sshUserSetup.sh

-rwxrwxr-x 1 oracle oinstall

3154 Jul 13

2009 deinstall.xml

drwxrwxr-x 2 oracle oinstall

4096 Apr 12

2016 response

drwxrwxr-x 2 oracle oinstall

4096 Apr 12

2016 jlib

-rwxrwxr-x 1 oracle oinstall 20684 Apr 12

2016 deinstall

# Run the deinstall utility [oracle@OEL5 deinstall]$ ./deinstall Checking for required files and bootstrapping ... Please wait ... Location of logs /u01/app/oraInventory/logs/ ############ ORACLE DEINSTALL & DECONFIG TOOL START ############

######################## 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: SIDB Oracle Base selected for de-install is: /u01/app/oracle Checking for existence of central inventory location /u01/app/oraInventory Install check configuration END

Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu

DEINSTALL 11.2.0.1 $ORACLE_HOME IN LINUX

Network Configuration check config START Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_check3191554153296093248.log Specify all Single Instance listeners that are to be de-configured [LISTENER]: Network Configuration check config END Database Check Configuration START Database de-configuration trace file location: /u01/app/oraInventory/logs/databasedc_check2757678975216805962.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 []: Database Check Configuration END

Enterprise Manager Configuration Assistant START

EMCA de-configuration trace file location: /u01/app/oraInventory/logs/emcadc_check.log Enterprise Manager Configuration Assistant END Oracle Configuration Manager check START OCM check log file location : /u01/app/oraInventory/logs//ocm_check2780.log Oracle Configuration Manager check END ######################### CHECK OPERATION END #########################

####################### CHECK OPERATION SUMMARY ####################### 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 Following Single Instance listener(s) will be de-configured: LISTENER 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

Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu

DEINSTALL 11.2.0.1 $ORACLE_HOME IN LINUX

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_deconfig2016-10-16_01-40-37-AM.out' Any error messages from this session will be written to: '/u01/app/oraInventory/logs/deinstall_deconfig2016-10-16_01-40-37-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_clean8689747231813339449.log Network Configuration clean config START Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_clean2412146181084057658.log De-configuring Single Instance listener(s): LISTENER De-configuring listener: LISTENER Stopping listener: LISTENER Listener stopped successfully. Deleting listener: LISTENER Listener deleted successfully. Listener de-configured successfully. De-configuring Listener configuration file... Listener configuration file de-configured successfully. 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

Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu

DEINSTALL 11.2.0.1 $ORACLE_HOME IN LINUX

Oracle Configuration Manager clean START OCM clean log file location : /u01/app/oraInventory/logs//ocm_clean2780.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 Delete directory '/u01/app/oracle/product/11.2.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 in use by Oracle Home '/u01/app/oracle/product/11.2.0/dbhome_2'. 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 'oel5' Oracle install clean END

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

####################### CLEAN OPERATION SUMMARY ####################### Following Single Instance listener(s) were de-configured successfully: LISTENER 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 '/u01/app/oracle/product/11.2.0/dbhome_1' from the central inventory on the local node. Successfully deleted directory '/u01/app/oracle/product/11.2.0/dbhome_1' on the local node. Oracle Universal Installer cleanup was successful.

Oracle install successfully cleaned up the temporary directories. ####################################################################### ############# ORACLE DEINSTALL & DECONFIG TOOL END #############

Exploring the Oracle DBA Technology by Gunasekaran , Thiyagu

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF