Sei sulla pagina 1di 26

kancharladba@gmail.

com
Oracle Database Upgrading from
11.2.0.1 to 11.2.0.2
PRE-INSTALLATION:
[oracle@Finite ~]$ date
Mon Feb 27 02:57:55 IST 2017

[oracle@Finite ~]$ cat /etc/oracle-release


Oracle Linux Server release 5.11

[oracle@Finite ~]$ uname -r


2.6.39-400.215.10.el5uek

[oracle@Finite ~]$ uname -p


x86_64

[oracle@Finite ~]$ cat /etc/oratab


# "N", be brought up at system boot time.
# Multiple entries with the same $ORACLE_SID are not allowed.
Finite:/u001/app/oracle/product/11.2.0/db_1:N
Polaris:/u001/app/oracle/product/11.2.0/db_1:N

[oracle@Finite ~]$ cat /u001/app/oracle/product/11.2.0/db_1/oraInst.loc


inventory_loc=/u001/app/oraInventory
inst_group=oinstall

[oracle@Finite ~]$ cat /u001/app/oraInventory/ContentsXML/inventory.xml


<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2009, Oracle. All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
<SAVED_WITH>11.2.0.1.0</SAVED_WITH>
<MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="OraDb11g_home1" LOC="/u001/app/oracle/product/11.2.0/db_1" TYPE="O" IDX="1"/>
</HOME_LIST>
</INVENTORY>

[oracle@Finite ~]$ ps -ef| grep -i smon


oracle 14204 1 0 03:02 ? 00:00:00 ora_smon_Finite
oracle 14472 1 0 03:03 ? 00:00:00 ora_smon_Polaris
oracle 14701 14035 0 03:05 pts/2 00:00:00 grep -i smon

[oracle@Finite ~]$ lsnrctl status

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 27-FEB-2017 03:05:54

Copyright (c) 1991, 2009, Oracle. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.2.60)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 27-FEB-2017 03:03:46
Uptime 0 days 0 hr. 2 min. 7 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Kancharla Srinivas Rao
kancharladba@gmail.com
Listener Parameter File /u001/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Listener Log File /u001/app/oracle/diag/tnslsnr/Finite/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.60)(PORT=1521)))
Services Summary...
Service "Finite.localdomain" has 1 instance(s).
Instance "Finite", status READY, has 1 handler(s) for this service...
Service "FiniteXDB.localdomain" has 1 instance(s).
Instance "Finite", status READY, has 1 handler(s) for this service...
Service "Polaris" has 1 instance(s).
Instance "Polaris", status READY, has 1 handler(s) for this service...
Service "PolarisXDB" has 1 instance(s).
Instance "Polaris", status READY, has 1 handler(s) for this service...
The command completed successfully

[oracle@Finite ~]$ sqlplus / as sysdba


SQL> col HOST_NAME for a20
SQL> SELECT instance_name, host_name, version, status FROM v$instance;
INSTANCE_NAME HOST_NAME VERSION STATUS
---------------- -------------------- ----------------- ------------
Finite Finite.localdomain 11.2.0.1.0 OPEN

SQL> set linesize 150


SQL> col COMP_NAME for a30
SQL> col VERSION for a15
SQL> col STATUS for a10
SQL> SELECT comp_name, version, status FROM dba_registry;
COMP_NAME VERSION STATUS
------------------------------ --------------- ----------
OWB 11.2.0.1.0 VALID
Oracle Application Express 3.2.1.00.10 VALID
Oracle Enterprise Manager 11.2.0.1.0 VALID
OLAP Catalog 11.2.0.1.0 VALID
Spatial 11.2.0.1.0 VALID
Oracle Multimedia 11.2.0.1.0 VALID
Oracle XML Database 11.2.0.1.0 VALID
Oracle Text 11.2.0.1.0 VALID
Oracle Expression Filter 11.2.0.1.0 VALID
Oracle Rules Manager 11.2.0.1.0 VALID
Oracle Workspace Manager 11.2.0.1.0 VALID

COMP_NAME VERSION STATUS


------------------------------ --------------- ----------
Oracle Database Catalog Views 11.2.0.1.0 VALID
Oracle Database Packages and T 11.2.0.1.0 VALID
ypes

JServer JAVA Virtual Machine 11.2.0.1.0 VALID


Oracle XDK 11.2.0.1.0 VALID
Oracle Database Java Packages 11.2.0.1.0 VALID
OLAP Analytic Workspace 11.2.0.1.0 VALID
Oracle OLAP API 11.2.0.1.0 VALID

18 rows selected.

SQL> SELECT * FROM v$VERSION;


BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 Production

SQL> SELECT instance_name, host_name, version, status FROM v$instance;


Kancharla Srinivas Rao
kancharladba@gmail.com
INSTANCE_NAME HOST_NAME VERSION STATUS
---------------- -------------------- ----------------- ------------
Polaris Finite.localdomain 11.2.0.1.0 OPEN

SQL> SELECT comp_name, version, status FROM dba_registry;


COMP_NAME VERSION STATUS
------------------------------ --------------- ----------
OWB 11.2.0.1.0 VALID
Oracle Application Express 3.2.1.00.10 VALID
Oracle Enterprise Manager 11.2.0.1.0 VALID
OLAP Catalog 11.2.0.1.0 VALID
Spatial 11.2.0.1.0 VALID
Oracle Multimedia 11.2.0.1.0 VALID
Oracle XML Database 11.2.0.1.0 VALID
Oracle Text 11.2.0.1.0 VALID
Oracle Expression Filter 11.2.0.1.0 VALID
Oracle Rules Manager 11.2.0.1.0 VALID
Oracle Workspace Manager 11.2.0.1.0 VALID

COMP_NAME VERSION STATUS


------------------------------ --------------- ----------
Oracle Database Catalog Views 11.2.0.1.0 VALID
Oracle Database Packages and T 11.2.0.1.0 VALID
ypes

JServer JAVA Virtual Machine 11.2.0.1.0 VALID


Oracle XDK 11.2.0.1.0 VALID
Oracle Database Java Packages 11.2.0.1.0 VALID
OLAP Analytic Workspace 11.2.0.1.0 VALID
Oracle OLAP API 11.2.0.1.0 VALID

18 rows selected.

SQL> SELECT * FROM v$VERSION;


BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production

[oracle@Finite 11.2.0.2]$ ls -l
total 1151099
-rwxrwxrwx 1 root root 1307536871 Dec 22 02:34 p10098816_112020_Linux-
x86-64_1of7.zip
-rwxrwxrwx 1 root root 1049912579 Dec 22 02:29 p10098816_112020_Linux-
x86-64_2of7.zip
[oracle@Finite 11.2.0.2]$ cp p10098816_112020_Linux-x86-64_1of7.zip
/backup/Softwares/
[oracle@Finite 11.2.0.2]$ cp p10098816_112020_Linux-x86-64_2of7.zip
/backup/Softwares/
[oracle@Finite Softwares]$ du -sh *
2.4G database
1.3G p10098816_112020_Linux-x86-64_1of7.zip
1003M p10098816_112020_Linux-x86-64_2of7.zip

Kancharla Srinivas Rao


kancharladba@gmail.com

INSTALLATION:
[oracle@OLE564 ~]$ cd /backup/software/11204/
[oracle@OLE564 11204]$ unzip
/mnt/hgfs/Shared_Folder_6/p13390677_112040_Linux-x86-64_1of7.zip -d
/backup/software/11204/

[oracle@OLE564 11204]$ unzip


/mnt/hgfs/Shared_Folder_6/p13390677_112040_Linux-x86-64_2of7.zip -d
/backup/software/11204/

[oracle@OLE564 11204]$ du -sh


2.5G .

[oracle@OLE564 11204]$ echo $ORACLE_HOME


/u001/app/oracle/product/11.2.0/db_1

[oracle@OLE564 11204]$ export


ORACLE_HOME=/u001/app/oracle/product/11.2.0/db_2

[oracle@OLE564 11204]$ echo $ORACLE_HOME


/u001/app/oracle/product/11.2.0/db_2

[oracle@OLE564 11204]$ cd database/


[oracle@OLE564 database]$ ls -l
total 60
drwxr-xr-x 4 oracle oinstall 4096 Aug 27 2013 install
-rw-r--r-- 1 oracle oinstall 30016 Aug 27 2013 readme.html
drwxr-xr-x 2 oracle oinstall 4096 Aug 27 2013 response
drwxr-xr-x 2 oracle oinstall 4096 Aug 27 2013 rpm
-rwxr-xr-x 1 oracle oinstall 3267 Aug 27 2013 runInstaller
drwxr-xr-x 2 oracle oinstall 4096 Aug 27 2013 sshsetup
drwxr-xr-x 14 oracle oinstall 4096 Aug 27 2013 stage
-rw-r--r-- 1 oracle oinstall 500 Aug 27 2013 welcome.html

[oracle@OLE564 database]$ ./runInstaller

Kancharla Srinivas Rao


kancharladba@gmail.com

Kancharla Srinivas Rao


kancharladba@gmail.com

Kancharla Srinivas Rao


kancharladba@gmail.com

Kancharla Srinivas Rao


kancharladba@gmail.com

Kancharla Srinivas Rao


kancharladba@gmail.com

Kancharla Srinivas Rao


kancharladba@gmail.com

Kancharla Srinivas Rao


kancharladba@gmail.com

Kancharla Srinivas Rao


kancharladba@gmail.com

Kancharla Srinivas Rao


kancharladba@gmail.com

Kancharla Srinivas Rao


kancharladba@gmail.com

Kancharla Srinivas Rao


kancharladba@gmail.com

Kancharla Srinivas Rao


kancharladba@gmail.com

Kancharla Srinivas Rao


kancharladba@gmail.com

Kancharla Srinivas Rao


kancharladba@gmail.com

[oracle@OLE564 upgrade1]$ pwd


/u001/app/oracle/cfgtoollogs/dbua/OLE564/upgrade1

[oracle@OLE564 upgrade1]$ ls -l
total 15788
-rw-r----- 1 oracle oinstall 69 Feb 15 03:58 Backup.log
-rw-r----- 1 oracle oinstall 1225 Feb 15 03:54 mapfile.txt
-rw-r----- 1 oracle oinstall 15825413 Feb 15 04:06 Oracle_Server.log
-rw-r----- 1 oracle oinstall 2850 Feb 15 03:59 Oracle_Text.log
-rw-r----- 1 oracle oinstall 736 Feb 15 03:59 PreUpgrade.log
-rw-r----- 1 oracle oinstall 8025 Feb 15 03:58 PreUpgradeResults.html
-rw-r----- 1 oracle oinstall 970 Feb 15 03:58 SpaceUsage.txt
-rw-r----- 1 oracle oinstall 60148 Feb 15 03:59 sqls.log
-rw-r----- 1 oracle oinstall 206871 Feb 15 03:59 trace.log
-rw-r----- 1 oracle oinstall 1127 Feb 15 03:54 Upgrade_Directive.log
-rw-r----- 1 oracle oinstall 4299 Feb 15 03:53 upgrade.xml
-------------------------------------------------------------------------
-------------------------------------------------------------------------
-------------------------------------------------------------------------
-------------------------------------------------------------------------

Kancharla Srinivas Rao


kancharladba@gmail.com

[oracle@OLE564 database]$ /u001/app/oracle/product/11.2.0/db_2/bin/dbua


&
[1] 18629
[oracle@OLE564 database]$ DBUA failed to upgrade the database or some of its components.
See /u001/app/oracle/cfgtoollogs/dbua/OLE564/upgrade1 for more details.The following document describes
important behavioral changes from previous database releases:
/u001/app/oracle/product/11.2.0/db_2/assistants/dbua/doc/DefaultBehaviorChanges.html
[1]+ Done /u001/app/oracle/product/11.2.0/db_2/bin/dbua

[oracle@OLE564 upgrade1]$ cd -
/backup/backup_upgrade

[oracle@OLE564 backup_upgrade]$ ls -l
total 1725148
-rw-r----- 1 oracle oinstall 9748480 Feb 15 03:59 control01.ctl
-rw-r----- 1 oracle oinstall 9748480 Feb 15 03:59 control02.ctl
-rw-r----- 1 oracle oinstall 9748480 Feb 15 03:59 control03.ctl
-rw-r----- 1 oracle oinstall 104865792 Feb 15 03:59 example01.dbf
-rw-r----- 1 oracle oinstall 13639680 Feb 15 03:59 newtbs01.dbf
-rwxr-xr-x 1 oracle oinstall 2734 Feb 15 03:59 OLE564_restore.sh
-rw-r----- 1 oracle oinstall 28319744 Feb 15 03:59 reclaim01.dbf
-rw-r----- 1 oracle oinstall 1056768 Feb 15 03:59 reclaim02.dbf
-rw-r----- 1 oracle oinstall 52429312 Feb 15 03:59 redo01.log
-rw-r----- 1 oracle oinstall 52429312 Feb 15 03:59 redo02.log
-rw-r----- 1 oracle oinstall 52429312 Feb 15 03:59 redo03.log
-rwxr-xr-x 1 oracle oinstall 42 Feb 15 03:59 shutdown_OLE564.sql
-rwxr-xr-x 1 oracle oinstall 35 Feb 15 03:59 startup_OLE564.sql
-rw-r----- 1 oracle oinstall 576724992 Feb 15 03:58 sysaux01.dbf
-rw-r----- 1 oracle oinstall 723525632 Feb 15 03:58 system01.dbf
-rw-r----- 1 oracle oinstall 30416896 Feb 15 03:58 temp01.dbf
-rw-r----- 1 oracle oinstall 94380032 Feb 15 03:59 undotbs01.dbf
-rw-r----- 1 oracle oinstall 5251072 Feb 15 03:59 users01.dbf

Kancharla Srinivas Rao


kancharladba@gmail.com
POST-INSTALLATION:
[oracle@OLE564 backup_upgrade]$ cat /etc/oratab
# This file is used by ORACLE utilities. It is created by root.sh
# and updated by the Database Configuration Assistant when creating
# a database.
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME:<N|Y>:
# Multiple entries with the same $ORACLE_SID are not allowed.
OLE564:/u001/app/oracle/product/11.2.0/db_2:N

[oracle@OLE564 backup_upgrade]$ cat


/u001/app/oraInventory/ContentsXML/inventory.xml
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 1999, 2013, Oracle and/or its affiliates.
All rights reserved. -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
<SAVED_WITH>11.2.0.4.0</SAVED_WITH>
<MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="OraDb11g_home1" LOC="/u001/app/oracle/product/11.2.0/db_1" TYPE="O" IDX="1"/>
<HOME NAME="OraDb11g_home2" LOC="/u001/app/oracle/product/11.2.0/db_2" TYPE="O" IDX="2"/>
</HOME_LIST>
<COMPOSITEHOME_LIST>
</COMPOSITEHOME_LIST>
</INVENTORY>

[oracle@OLE564 ~]$ cp $ORACLE_HOME/network/admin/tnsnames.ora


/u001/app/oracle/product/11.2.0/db_2/network/admin

[oracle@OLE564 ~]$ cp $ORACLE_HOME/network/admin/listener.ora


/u001/app/oracle/product/11.2.0/db_2/network/admin

[oracle@OLE564 ~]$ ps -ef| grep -i smon


oracle 21499 1 0 04:33 ? 00:00:00 ora_smon_OLE564
oracle 26230 18242 0 04:50 pts/5 00:00:00 grep -i smon

[oracle@OLE564 database]$ echo $ORACLE_HOME


/u001/app/oracle/product/11.2.0/db_2

[oracle@OLE564 database]$ lsnrctl stop


LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 15-FEB-2017 04:52:30
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=OLE564.localdomain)(PORT=1521)))
The command completed successfully

[oracle@OLE564 database]$ lsnrctl start


LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 15-FEB-2017 04:52:45
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u001/app/oracle/product/11.2.0/db_2/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.4.0 - Production
System parameter file is /u001/app/oracle/product/11.2.0/db_2/network/admin/listener.ora
Log messages written to /u001/app/oracle/diag/tnslsnr/OLE564/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=OLE564.localdomain)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=OLE564.localdomain)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 15-FEB-2017 04:52:45
Uptime 0 days 0 hr. 0 min. 0 sec

Kancharla Srinivas Rao


kancharladba@gmail.com
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u001/app/oracle/product/11.2.0/db_2/network/admin/listener.ora
Listener Log File /u001/app/oracle/diag/tnslsnr/OLE564/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=OLE564.localdomain)(PORT=1521)))
The listener supports no services
The command completed successfully

[oracle@OLE564 database]$ lsnrctl status


LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 15-FEB-2017 04:54:36
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=OLE564.localdomain)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 15-FEB-2017 04:52:45
Uptime 0 days 0 hr. 1 min. 51 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u001/app/oracle/product/11.2.0/db_2/network/admin/listener.ora
Listener Log File /u001/app/oracle/diag/tnslsnr/OLE564/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=OLE564.localdomain)(PORT=1521)))
Services Summary...
Service "OLE564.localdomain" has 1 instance(s).
Instance "OLE564", status READY, has 1 handler(s) for this service...
Service "OLE564XDB.localdomain" has 1 instance(s).
Instance "OLE564", status READY, has 1 handler(s) for this service...
The command completed successfully

SQL> col HOST_NAME for a20


SQL> SELECT instance_name, host_name, version, status FROM v$instance;
INSTANCE_NAME HOST_NAME VERSION STATUS
---------------- -------------------- ----------------- ------------
OLE564 OLE564.localdomain 11.2.0.4.0 OPEN

SQL> col COMP_NAME for a30


SQL> col VERSION for a15
SQL> col STATUS for a10
SQL> SELECT comp_name, version, status FROM dba_registry;
COMP_NAME VERSION STATUS
------------------------------ --------------- ----------
OWB 11.2.0.1.0 VALID
Oracle Application Express 3.2.1.00.10 VALID
Oracle Enterprise Manager 11.2.0.4.0 VALID
OLAP Catalog 11.2.0.1.0 OPTION OFF
Spatial 11.2.0.4.0 VALID
Oracle Multimedia 11.2.0.4.0 VALID
Oracle XML Database 11.2.0.4.0 VALID
Oracle Text 11.2.0.4.0 VALID
Oracle Expression Filter 11.2.0.4.0 VALID
Oracle Rules Manager 11.2.0.4.0 VALID
Oracle Workspace Manager 11.2.0.4.0 VALID
Oracle Database Catalog Views 11.2.0.4.0 VALID
Oracle Database Packages and Types 11.2.0.4.0 VALID
JServer JAVA Virtual Machine 11.2.0.4.0 VALID
Oracle XDK 11.2.0.4.0 VALID
Oracle Database Java Packages 11.2.0.4.0 VALID
OLAP Analytic Workspace 11.2.0.1.0 OPTION OFF
Oracle OLAP API 11.2.0.1.0 OPTION OFF
18 rows selected.

Kancharla Srinivas Rao


kancharladba@gmail.com
SQL> SELECT comp_name, version, status FROM dba_registry WHERE status
<> 'VALID';
COMP_NAME VERSION STATUS
------------------------------ --------------- ----------
OLAP Analytic Workspace 11.2.0.1.0 OPTION OFF
Oracle OLAP API 11.2.0.1.0 OPTION OFF
OLAP Catalog 11.2.0.1.0 OPTION OFF

SQL> col SOURCE_VERSION for a50


SQL> SELECT to_char(action_time, 'DD-MON-YYYY HH:MI:SS AM')
Upgrade_Date, comments Source_Version,version Target_Version FROM
dba_registry_history WHERE action = 'UPGRADE';
UPGRADE_DATE SOURCE_VERSION TARGET_VERSION
-------------------------------- ---------------------------------- --------------------------
15-FEB-2017 04:29:02 AM Upgraded from 11.2.0.1.0 11.2.0.4.0

[oracle@OLE564 ~]cd /u001/app/oracle/product/11.2.0/db_1/deinstall


[oracle@OLE564 deinstall]$ ll
total 88
-rwxr-xr-x 1 oracle oinstall 20681 Jan 10 16:00 deinstall
-rw-r--r-- 1 oracle oinstall 3154 Jul 13 2009 deinstall.xml
drwxr-xr-x 2 oracle oinstall 4096 Jan 10 15:56 jlib
drwxr-xr-x 2 oracle oinstall 4096 Jan 10 15:56 response
-rwxr-xr-x 1 oracle oinstall 31544 Mar 31 2009 sshUserSetup.sh

Kancharla Srinivas Rao


kancharladba@gmail.com

Kancharla Srinivas Rao


kancharladba@gmail.com

[oracle@OLE564 deinstall]$ ./deinstall


Checking for required files and bootstrapping ...
Please wait ...
Location of logs /u001/app/oraInventory/logs/

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

######################## CHECK OPERATION START ########################

Install check configuration START


Checking for existence of the Oracle home location /u001/app/oracle/product/11.2.0/db_1
Oracle Home type selected for de-install is: SIDB
Oracle Base selected for de-install is: /u001/app/oracle
Checking for existence of central inventory location /u001/app/oraInventory
Install check configuration END
Network Configuration check config START
Network de-configuration trace file location:
/u001/app/oraInventory/logs/netdc_check593978917253146160.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:
/u001/app/oraInventory/logs/databasedc_check7577361481616440535.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: /u001/app/oraInventory/logs/emcadc_check.log
Enterprise Manager Configuration Assistant END
Oracle Configuration Manager check START
OCM check log file location: /u001/app/oraInventory/logs//ocm_check6335.log
Oracle Configuration Manager check END

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

####################### CHECK OPERATION SUMMARY #######################

Oracle Home selected for de-install is: /u001/app/oracle/product/11.2.0/db_1


Inventory Location where the Oracle home registered is: /u001/app/oraInventory
Following Single Instance listener(s) will be de-configured: LISTENER
No Enterprise Manager configuration to be updated for any database(s)

Kancharla Srinivas Rao


kancharladba@gmail.com
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]: y
A log of this session will be written to: '/u001/app/oraInventory/logs/deinstall_deconfig2017-02-15_05-29-
52-AM.out'
Any error messages from this session will be written to:
'/u001/app/oraInventory/logs/deinstall_deconfig2017-02-15_05-29-52-AM.err'

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


Enterprise Manager Configuration Assistant START
EMCA de-configuration trace file location: /u001/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:
/u001/app/oraInventory/logs/databasedc_clean5104237674374042250.log
Network Configuration clean config START
Network de-configuration trace file location:
/u001/app/oraInventory/logs/netdc_clean6895669635415560669.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 Naming Methods configuration file...
Naming Methods 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 : /u001/app/oraInventory/logs//ocm_clean6335.log
Oracle Configuration Manager clean END
Oracle Universal Installer clean START

Detach Oracle home '/u001/app/oracle/product/11.2.0/db_1' from the central inventory on the local node :
Done
Delete directory '/u001/app/oracle/product/11.2.0/db_1' on the local node: Done
The Oracle Base directory '/u001/app/oracle' will not be removed on local node. The directory is in use by
Oracle Home '/u001/app/oracle/product/11.2.0/db_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 'OLE564'
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 '/u001/app/oracle/product/11.2.0/db_1' from the central inventory on the
local node.
Successfully deleted directory '/u001/app/oracle/product/11.2.0/db_1' on the local node.
Oracle Universal Installer cleanup was successful.
Oracle install successfully cleaned up the temporary directories.
#######################################################################

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


[oracle@OLE564 deinstall]$ cd ~

Kancharla Srinivas Rao


kancharladba@gmail.com
[oracle@OLE564 ~]$ . oraenv
ORACLE_SID = [OLE564] ?
The Oracle base remains unchanged with value /u001/app/oracle

[oracle@OLE564 ~]$ vi .bash_profile


[oracle@OLE564 ~]$ . .bash_profile

[oracle@OLE564 ~]$ sqlplus / as sysdba


SQL*Plus: Release 11.2.0.4.0 Production on Wed Feb 15 05:33:00 2017
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning option

SQL> SELECT NAME, OPEN_MODE FROM V$DATABASE;


NAME OPEN_MODE
--------- --------------------
OLE564 READ WRITE

Kancharla Srinivas Rao

Potrebbero piacerti anche