Monday 12 January 2015

oracle 12 c database deinstall steps

Go to the ORACLE_HOME path , there you can find deinstall folder 

[oracle@dbacentre1 ~]$ cd $ORACLE_HOME
[oracle@dbacentre1 dbhome_2]$ cd ..
[oracle@dbacentre1 12.1.0]$ cd dbhome_1
[oracle@dbacentre1 dbhome_1]$ ls -lrt
total 272
-rw-r-----.  1 oracle oinstall    56 Jan 12 15:38 oraInst.loc
drwxr-xr-x.  9 oracle oinstall  4096 Jan 12 15:38 assistants
drwxr-xr-x.  6 oracle oinstall  4096 Jan 12 15:38 crs
drwxr-xr-x.  3 oracle oinstall  4096 Jan 12 15:38 demo
drwxr-xr-x.  7 oracle oinstall  4096 Jan 12 15:38 cv
drwxr-xr-x.  3 oracle oinstall  4096 Jan 12 15:38 diagnostics
drwxr-xr-x.  3 oracle oinstall  4096 Jan 12 15:38 has
drwxr-xr-x.  8 oracle oinstall  4096 Jan 12 15:38 javavm
drwxr-xr-x.  5 oracle oinstall  4096 Jan 12 15:38 md
drwxr-xr-x.  5 oracle oinstall  4096 Jan 12 15:38 nls
drwxr-xr-x.  7 oracle oinstall  4096 Jan 12 15:38 odbc
drwxr-xr-x.  7 oracle oinstall  4096 Jan 12 15:38 ord
drwxr-xr-x.  4 oracle oinstall  4096 Jan 12 15:38 oracore
drwxr-xr-x.  4 oracle oinstall  4096 Jan 12 15:38 owm
drwxr-xr-x.  3 oracle oinstall  4096 Jan 12 15:38 plugins
drwxr-xr-x.  5 oracle oinstall  4096 Jan 12 15:38 perl
drwxr-xr-x.  6 oracle oinstall  4096 Jan 12 15:38 precomp
drwxr-xr-x.  3 oracle oinstall  4096 Jan 12 15:38 slax
drwxr-xr-x.  4 oracle oinstall  4096 Jan 12 15:38 scheduler
drwxr-xr-x.  3 oracle oinstall  4096 Jan 12 15:38 relnotes
drwxr-xr-x.  3 oracle oinstall  4096 Jan 12 15:38 sqlj
drwxr-xr-x.  4 oracle oinstall  4096 Jan 12 15:38 sysman
drwxr-xr-x.  3 oracle oinstall  4096 Jan 12 15:38 wwg
drwxr-xr-x.  3 oracle oinstall  4096 Jan 12 15:38 usm
drwxr-xr-x.  6 oracle oinstall  4096 Jan 12 15:39 plsql
drwxr-xr-x.  2 oracle oinstall  4096 Jan 12 15:39 sqlpatch
drwxr-xr-x.  4 oracle oinstall  4096 Jan 12 15:39 dbhadoop
drwxr-xr-x.  2 oracle oinstall  4096 Jan 12 15:39 utl
drwxr-xr-x.  7 oracle oinstall  4096 Jan 12 15:40 xdk
drwxr-xr-x.  2 oracle oinstall  4096 Jan 12 15:40 instantclient
drwxr-xr-x.  8 oracle oinstall  4096 Jan 12 15:40 dmu
drwxr-xr-x. 19 oracle oinstall  4096 Jan 12 15:41 oc4j
drwxr-xr-x.  7 oracle oinstall  4096 Jan 12 15:41 apex
drwxr-xr-x. 15 oracle oinstall  4096 Jan 12 15:42 sqldeveloper
drwxr-xr-x.  2 oracle oinstall  4096 Jan 12 15:42 dc_ocm
drwxr-xr-x.  2 oracle oinstall  4096 Jan 12 15:42 jlib
drwxr-xr-x.  6 oracle oinstall  4096 Jan 12 15:42 jdk
drwxr-xr-x.  3 oracle oinstall  4096 Jan 12 15:42 jdbc
drwxr-xr-x.  3 oracle oinstall  4096 Jan 12 15:42 ucp
drwxr-xr-x.  7 oracle oinstall  4096 Jan 12 15:47 OPatch
drwxr-xr-x.  7 oracle oinstall  4096 Jan 12 15:47 ccr
drwxr-xr-x.  2 oracle oinstall  4096 Jan 12 15:47 addnode
drwxr-xr-x.  4 oracle oinstall  4096 Jan 12 15:47 clone
drwxr-xr-x.  3 oracle oinstall  4096 Jan 12 15:47 cdata
drwxr-xr-x.  6 oracle oinstall  4096 Jan 12 15:47 css
drwxr-xr-x.  7 oracle oinstall  4096 Jan 12 15:47 opmn
drwxr-xr-x. 12 oracle oinstall  4096 Jan 12 15:47 ldap
drwxr-xr-x.  9 oracle oinstall  4096 Jan 12 15:47 srvm
drwxr-xr-x.  7 oracle oinstall  4096 Jan 12 15:47 racg
drwxr-xr-x. 10 oracle oinstall  4096 Jan 12 15:47 ctx
drwxr-xr-x.  7 oracle oinstall  4096 Jan 12 15:48 sqlplus
drwxr-xr-x.  8 oracle oinstall  4096 Jan 12 15:50 oui
drwxr-xr-x. 10 oracle oinstall  4096 Jan 12 15:50 network
drwxr-xr-x.  3 oracle oinstall 12288 Jan 12 15:50 lib
drwxr-xr-x.  5 oracle oinstall  4096 Jan 12 15:50 deinstall
drwxr-xr-x.  5 oracle oinstall  4096 Jan 12 15:50 hs
drwxr-xr-x.  2 oracle oinstall  4096 Jan 12 15:50 bin
-rwxr-x---.  1 oracle oinstall   454 Jan 12 15:50 root.sh
drwxr-xr-x. 14 oracle oinstall  4096 Jan 12 15:50 rdbms
drwxr-x---. 13 oracle oinstall  4096 Jan 12 15:51 inventory
drwxr-xr-x.  4 oracle oinstall  4096 Jan 12 15:54 cfgtoollogs
drwxr-xr-x.  2 oracle oinstall  4096 Jan 12 16:08 QOpatch
drwxr-xr-x.  4 oracle oinstall  4096 Jan 12 16:33 log
drwxr-xr-x.  6 oracle oinstall  4096 Jan 12 16:59 install
drwxr-xr-x.  3 oracle oinstall  4096 Jan 12 17:23 admin
drwxr-xr-x.  2 oracle oinstall  4096 Jan 12 18:03 dbs

[oracle@dbacentre1 dbhome_1]$ cd deinstall/
[oracle@dbacentre1 deinstall]$ pwd
/u01/app/oracle/product/12.1.0/dbhome_1/deinstall
[oracle@dbacentre1 deinstall]$ ls
bootstrap_files.lst  deinstall     deinstall.xml  readme.txt  sshUserSetup.sh
bootstrap.pl         deinstall.pl  jlib           response    utl
[oracle@dbacentre1 deinstall]$


[oracle@dbacentre1 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 #########################
## [START] Install check configuration ##


Checking for existence of the Oracle home location /u01/app/oracle/product/12.1.0/dbhome_1
Oracle Home type selected for deinstall is: Oracle Single Instance Database
Oracle Base selected for deinstall is: /u01/app/oracle
Checking for existence of central inventory location /u01/app/oraInventory
Checking for sufficient temp space availability on node(s) : 'dbacentre1'

## [END] Install check configuration ##


Network Configuration check config START

Network de-configuration trace file location: /u01/app/oraInventory/logs/netdc_check2015-01-12_08-06-01-PM.log

Specify all Single Instance listeners that are to be de-configured [LISTENER]:

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

Oracle Configuration Manager clean START
OCM clean log file location : /u01/app/oraInventory/logs//ocm_clean3078.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 '/u01/app/oracle/product/12.1.0/dbhome_1' from the central inventory on the local node : Done

Delete directory '/u01/app/oracle/product/12.1.0/dbhome_1' on the local node : Done

NOTE:-

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/12.1.0/dbhome_2'.

Oracle Universal Installer cleanup was successful.

Oracle Universal Installer clean END


## [START] Oracle install clean ##

Clean install operation removing temporary directory '/tmp/deinstall2015-01-12_08-11-03PM' on node 'dbacentre1'

## [END] Oracle install clean ##


######################### 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/12.1.0/dbhome_1' from the central inventory on the local node.
Successfully deleted directory '/u01/app/oracle/product/12.1.0/dbhome_1' on the local node.
Oracle Universal Installer cleanup was successful.

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



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



verify the folders , dbhome_1 folder as been deleted

[oracle@dbacentre1 12.1.0]$ ls -lrt
total 4
drwxr-xr-x. 70 oracle oinstall 4096 Jan 12 19:59 dbhome_2

[oracle@dbacentre1 12.1.0]$



1 comment:

  1. 1xBet Korean Sports Betting at betking.com | legalbet.co.kr
    Licensed BetKing 1xbet korean legal betting and gambling website, legally licensed to operate in the KONGLA region, and 온카지노 provides 메리트 카지노 BetKing sportsbook for BetKing sports

    ReplyDelete

Popular Posts