Explore Oracle Database Upgrade 4 11.2.0.4.0PSU11.2.0.4.3

Source: Internet
Author: User
Tags sdo

Explore Oracle Database Upgrade 4 11.2.0.4.0PSU11.2.0.4.3

Explore Oracle Database Upgrade 4
11.2.0.4.0 PSU 11.2.0.4.3

1. Check the current database PSU Number:

[oracle@db01 ~]$ cd/DBSoft/Product/11.2.4/db_1/OPatch/[oracle@db01 OPatch]$ lscrs  docs emdpatch.pl  jlib  ocm opatch  opatch.bat  opatchdiag opatchdiag.bat  opatch.ini  opatch.pl opatchprereqs  oplan[oracle@db01 OPatch]$./opatch versionOPatch Version: 11.2.0.3.4 OPatch succeeded.[oracle@db01 OPatch]$ [oracle@db01 OPatch]$./opatch lsinventoryOracle Interim PatchInstaller version 11.2.0.3.4Copyright (c) 2012, OracleCorporation.  All rights reserved.  Oracle Home       : /DBSoft/Product/11.2.4/db_1Central Inventory :/DBSoft/oraInventory   from           :/DBSoft/Product/11.2.4/db_1/oraInst.locOPatch version    : 11.2.0.3.4OUI version       : 11.2.0.4.0Log file location :/DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/opatch2014-10-04_05-20-14AM_1.log Lsinventory Output filelocation :/DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/lsinv/lsinventory2014-10-04_05-20-14AM.txt --------------------------------------------------------------------------------Installed Top-level Products(1):  Oracle Database 11g                                                 11.2.0.4.0There are 1 productsinstalled in this Oracle Home.  There are no Interim patchesinstalled in this Oracle Home.  -------------------------------------------------------------------------------- OPatch succeeded.[oracle@db01 OPatch]$

2. Shut down the database:

SQL> shutdown immediateDatabase closed.Database dismounted.ORACLE instance shut down. SQL> host lsnrctl stop LSNRCTL for Linux: Version11.2.0.4.0 - Production on 04-OCT-2014 05:47:04 Copyright (c) 1991, 2013,Oracle.  All rights reserved. Connecting to(DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))The command completedsuccessfully SQL>

3. Upload and decompress the new PSU11.2.0.4.3 patch package

# PSU11.2.0.4.3 patch download reference: 18522509.8 [oracle @ db01 ~] $ Ll p18522509_112040_Linux-x86-64.zip-rw-r -- 1 oracle oinstall25449098 Oct 4 05: 22p18522509_112040_Linux-x86-64.zip [oracle @ db01 ~] $ Unzipp18522509_112040_Linux-x86-64.zip #18522509 more directories after decompression [oracle @ db01 ~] $ Lltotal route 544drwxrwxr-x 5 oracle oinstall 4096 Jun 30 15 18522509drwxr-xr-x 2 oracleoinstall 4096 Oct 3 Desktop-rw-r -- 1 oracle oinstall25449098 Oct 4 05: Large

4. Go to the 18522509 directory for PSU upgrade

[oracle@db01 ~]$ ls18522509  Desktop p18522509_112040_Linux-x86-64.zip PatchSearch.xml  upgrade.log [oracle@db01 ~]$ cd18522509/[oracle@db01 18522509]$ ls17478514  18031668 18522509  patchmd.xml  README.html README.txt[oracle@db01 18522509]$/DBSoft/Product/11.2.4/db_1/OPatch/opatch applyOracle Interim PatchInstaller version 11.2.0.3.4Copyright (c) 2012, OracleCorporation.  All rights reserved. Oracle Home       : /DBSoft/Product/11.2.4/db_1Central Inventory :/DBSoft/oraInventory   from           :/DBSoft/Product/11.2.4/db_1/oraInst.locOPatch version    : 11.2.0.3.4OUI version       : 11.2.0.4.0Log file location :/DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/opatch2014-10-04_05-25-14AM_1.log Verifying environment andperforming prerequisite checks...Prerequisite check"CheckMinimumOPatchVersion" failed.The details are:  The OPatch being used hasversion 11.2.0.3.4 while the following patch(es) require higher versions: Patch 17478514 requiresOPatch version 11.2.0.3.5.Patch 18031668 requiresOPatch version 11.2.0.3.5.Patch 18522509 requiresOPatch version 11.2.0.3.5.Please download latestOPatch from My Oracle Support. UtilSession failed:Prerequisite check "CheckMinimumOPatchVersion" failed.Log file location:/DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/opatch2014-10-04_05-25-14AM_1.log OPatch failed with errorcode 73[oracle@db01 18522509]$

5. The OPatch application reports an error and checks the log:

[Oracle @ db01 admin] $ cat/DBSoft/Product/11.2.4/db_1/export toollogs/opatch/opatch2014-10-04_05-25-14AM_1.log | grep failed [Oct 4, 20145: 25: 18 AM] Prerequisite check "CheckMinimumOPatchVersion" failed. [Oct 4, 20145: 25: 18 AM] OUI-67073: UtilSessionfailed: Prerequisite check "CheckMinimumOPatchVersion" failed. [Oct 4, 20145: 25: 18 AM] Stack Description: java. lang. runtimeException: Prerequisite check "CheckMinim UmOPatchVersion "failed. [oracle @ db01 admin] $ # check and find that the Opatch version is faulty. Update opatch, download p6880880, and decompress it. [Oracle @ db01 ~] $ Ll p6880880_112000_Linux-x86-64.zip-rw-r -- 1 oracle oinstall 33020933 Oct 4 05: 29p6880880_112000_Linux-x86-64.zip [oracle @ db01 ~] $ Unzip p6880880_112000_Linux-x86-64.zip # view the latest Opatch version: [oracle @ db01 OPatch] $. /opatch versionOPatch Version: 11.2.0.3.6 OPatch succeeded. [oracle @ db01 OPatch] $ ## run the pre-Installation check again: [oracle @ db01 18522509] $/home/oracle/OPatch/opatch prereqCheckConflictAgainstOHWithDetail-ph. /Oracle Interim PatchInstaller version 11.2.0.3.6Copyright (c) 2013, OracleCorporation. all rights reserved. PREREQ session Oracle Home:/DBSoft/Product/11.2.4/db_1Central Inventory:/DBSoft/oraInventory from:/DBSoft/Product/11.2.4/db_1/oraInst. locOPatch version: 11.2.0.3.6OUI version: 11.2.0.4.0Log file location:/DBSoft/Product/11.2.4/db_1/export toollogs/opatch/opatch2014-10-04_05-43-23AM_1.logInvoking prereq "regular" Prereq "checkconflictagainstohwithdetail" passed. OPatch succeeded.

6. Install PSU through the new version of Opatch

[oracle@db01 ~]$ cd18522509/[oracle@db01 18522509]$ ls17478514  18031668 18522509  patchmd.xml  README.html README.txt [oracle@db01 18522509]$/home/oracle/OPatch/opatch applyOracle Interim PatchInstaller version 11.2.0.3.6Copyright (c) 2013, OracleCorporation.  All rights reserved.  Oracle Home       : /DBSoft/Product/11.2.4/db_1Central Inventory :/DBSoft/oraInventory   from           :/DBSoft/Product/11.2.4/db_1/oraInst.locOPatch version    : 11.2.0.3.6OUI version       : 11.2.0.4.0Log file location :/DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/opatch2014-10-04_05-36-04AM_1.log Verifying environment andperforming prerequisite checks...OPatch continues with thesepatches:   17478514  18031668 18522509   Do you want to proceed?[y|n]yUser Responded with: YAll checks passed.Provide your email addressto be informed of security issues, install andinitiate OracleConfiguration Manager. Easier for you if you use your MyOracle Support Emailaddress/User Name.Visithttp://www.oracle.com/support/policies.html for details.Email address/User Name:  You have not provided anemail address for notification of security issues.Do you wish to remainuninformed of security issues ([Y]es, [N]o) [N]:  y   Please shutdown Oracleinstances running out of this ORACLE_HOME on the local system.(Oracle Home = '/DBSoft/Product/11.2.4/db_1')  Is the local system readyfor patching? [y|n]yUser Responded with: YBacking up files...Applying sub-patch'17478514' to OH '/DBSoft/Product/11.2.4/db_1' Patching componentoracle.rdbms, 11.2.0.4.0... Patching component oracle.rdbms.rsf,11.2.0.4.0... Patching componentoracle.sdo, 11.2.0.4.0... Patching componentoracle.sysman.agent, 10.2.0.4.5... Patching componentoracle.xdk, 11.2.0.4.0... Patching componentoracle.rdbms.dbscripts, 11.2.0.4.0... Patching component oracle.sdo.locator,11.2.0.4.0... Patching componentoracle.nlsrtl.rsf, 11.2.0.4.0... Patching componentoracle.xdk.rsf, 11.2.0.4.0... Patching componentoracle.rdbms.rman, 11.2.0.4.0... Verifying the update...Applying sub-patch'18031668' to OH '/DBSoft/Product/11.2.4/db_1' Patching componentoracle.rdbms, 11.2.0.4.0... Patching componentoracle.rdbms.rsf, 11.2.0.4.0... Patching componentoracle.ldap.rsf, 11.2.0.4.0... Patching componentoracle.rdbms.crs, 11.2.0.4.0... Patching componentoracle.precomp.common, 11.2.0.4.0... Patching componentoracle.ldap.rsf.ic, 11.2.0.4.0... Patching componentoracle.rdbms.deconfig, 11.2.0.4.0... Patching componentoracle.rdbms.dbscripts, 11.2.0.4.0... Patching componentoracle.rdbms.rman, 11.2.0.4.0... Verifying the update...Applying sub-patch'18522509' to OH '/DBSoft/Product/11.2.4/db_1' Patching componentoracle.rdbms.rsf, 11.2.0.4.0... Patching componentoracle.rdbms, 11.2.0.4.0... Patching componentoracle.precomp.common, 11.2.0.4.0... Patching componentoracle.rdbms.rman, 11.2.0.4.0... Patching componentoracle.rdbms.dbscripts, 11.2.0.4.0... Patching componentoracle.rdbms.deconfig, 11.2.0.4.0... Verifying the update...OPatch found the word"warning" in the stderr of the make command.Please look at this stderr.You can re-run this make command.Stderr output:ins_emagent.mk:113: warning:overriding commands for target `nmosudo'ins_emagent.mk:52: warning:ignoring old commands for target `nmosudo'/DBSoft/Product/11.2.4/db_1/sysman/lib/ins_emagent.mk:113:warning: overriding commands for target `nmosudo'/DBSoft/Product/11.2.4/db_1/sysman/lib/ins_emagent.mk:52:warning: ignoring old commands for target `nmosudo'  Composite patch 18522509successfully applied.OPatch Session completedwith warnings.Log file location:/DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/opatch2014-10-04_05-36-04AM_1.log OPatch completed withwarnings.

7. Check whether Opatch has been completed:

[oracle@db01 18522509]$/home/oracle/OPatch/opatch lsinventoryOracle Interim Patch Installerversion 11.2.0.3.6Copyright (c) 2013, OracleCorporation.  All rights reserved.  Oracle Home       : /DBSoft/Product/11.2.4/db_1Central Inventory :/DBSoft/oraInventory   from           :/DBSoft/Product/11.2.4/db_1/oraInst.locOPatch version    : 11.2.0.3.6OUI version       : 11.2.0.4.0Log file location :/DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/opatch2014-10-04_05-40-12AM_1.log Lsinventory Output filelocation :/DBSoft/Product/11.2.4/db_1/cfgtoollogs/opatch/lsinv/lsinventory2014-10-04_05-40-12AM.txt --------------------------------------------------------------------------------Installed Top-level Products(1):  Oracle Database 11g                                                 11.2.0.4.0There are 1 product(s)installed in this Oracle Home.  Interim patches (1) : Patch  18522509    : applied on Sat Oct 04 05:37:21 CST 2014Unique Patch ID:  17604597Patch description:  "Database Patch Set Update : 11.2.0.4.3(18522509)"   Created on 30 Jun 2014, 08:14:42 hrs PST8PDTSub-patch  18031668; "Database Patch Set Update :11.2.0.4.2 (18031668)"Sub-patch  17478514; "Database Patch Set Update :11.2.0.4.1 (17478514)"   Bugs fixed:     17752995, 17288409, 16392068, 17205719,17811429, 17767676, 17614227     17040764, 17381384, 17754782, 17726838,13364795, 17311728, 17389192     17006570, 17612828, 17284817, 17441661,13853126, 17721717, 13645875     18203837, 17390431, 16542886, 16992075,16043574, 17446237, 16863422     14565184, 17071721, 17610798, 17468141,17786518, 17375354, 17397545     18203838, 16956380, 17478145, 16360112,17235750, 17394950, 13866822     17478514, 17027426, 12905058, 14338435,16268425, 13944971, 18247991     14458214, 16929165, 17265217, 13498382,17786278, 17227277, 17546973     14054676, 17088068, 16314254, 17016369,14602788, 17443671, 16228604     16837842, 17332800, 17393683, 13951456,16315398, 18744139, 17186905     16850630, 17437634, 19049453, 17883081,15861775, 17296856, 18277454     16399083, 16855292, 18018515, 10136473,16472716, 17050888, 17865671     17325413, 14010183, 18554871, 17080436,16613964, 17761775, 16721594     17588480, 17551709, 17344412, 18681862,15979965, 13609098, 18139690     17501491, 17239687, 17752121, 17602269,18203835, 17297939, 17313525     16731148, 17811456, 14133975, 17600719,17385178, 17571306, 16450169     17655634, 18094246, 17892268, 17165204,17011832, 17648596, 16785708     17477958, 16180763, 16220077, 17465741,17174582, 18522509, 16069901     16285691, 17323222, 18180390, 17393915,16875449, 18096714, 17238511     17596908, 17811438, 17811447, 18031668,16912439, 18061914, 17622427     17545847, 16943711, 17082359, 17346671,18996843, 14852021, 17783588     16618694, 17672719, 17614134, 17341326,17546761, 17716305   -------------------------------------------------------------------------------- OPatch succeeded. [oracle@db01 18522509]$/home/oracle/OPatch/opatch lspatches18522509;Database Patch SetUpdate : 11.2.0.4.3 (18522509)

8. Update the latest PSU information in the dba_registry_history view.

SQL> startupORACLE instance started. Total System Global Area2872786944 bytesFixed Size                  2256712 bytesVariable Size            2634023096 bytesDatabase Buffers          218103808 bytesRedo Buffers               18403328 bytesDatabase mounted.Database opened.SQL> !lsnrctl start LSNRCTL for Linux: Version11.2.0.4.0 - Production on 04-OCT-2014 06:34:29 Copyright (c) 1991, 2013,Oracle.  All rights reserved. Starting/DBSoft/Product/11.2.4/db_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version11.2.0.4.0 - ProductionSystem parameter file is/DBSoft/Product/11.2.4/db_1/network/admin/listener.oraLog messages written to/DBSoft/diag/tnslsnr/db01/listener/alert/log.xmlListening on:(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))Listening on:(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db01)(PORT=1521))) Connecting to(DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))STATUS of the LISTENER------------------------Alias                     LISTENERVersion                   TNSLSNR for Linux: Version11.2.0.4.0 - ProductionStart Date                04-OCT-2014 06:34:29Uptime                    0 days 0 hr. 0 min. 0 secTrace Level               offSecurity                  ON: Local OS AuthenticationSNMP                      OFFListener Parameter File  /DBSoft/Product/11.2.4/db_1/network/admin/listener.oraListener Log File        /DBSoft/diag/tnslsnr/db01/listener/alert/log.xmlListening EndpointsSummary...  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db01)(PORT=1521)))The listener supports noservicesThe command completedsuccessfully SQL> alter systemregister; System altered. SQL> @?/rdbms/admin/catbundle.sqlpsu apply

9. Confirm the updated dba_registry_history view information.

SQL> col action_time format a35SQL> col action format a15SQL> col namespace format a10SQL> col version format a10SQL> select action_time,action,namespace,version,idfrom dba_registry_history ACTION_TIME                         ACTION          NAMESPACE  VERSION            ID----------------------------------- ------------------------- ---------- ----------17-SEP-11 10.21.11.595816 AM        APPLY           SERVER     11.2.0.3            004-OCT-14 12.16.44.664335 AM        APPLY           SERVER     11.2.0.3            004-OCT-14 04.01.36.022121 AM        VIEW INVALIDATE                          828960104-OCT-14 04.01.36.121141 AM        UPGRADE         SERVER     11.2.0.4.004-OCT-14 06.35.32.745430 AM        APPLY           SERVER     11.2.0.4            3 SQL> selectaction,comments from registry$history ACTION          COMMENTS---------------------------------------------APPLY           Patchset 11.2.0.2.0APPLY           Patchset 11.2.0.2.0VIEW INVALIDATE viewinvalidationUPGRADE         Upgraded from 11.2.0.3.0APPLY           PSU 11.2.0.4.3ROLLBACK        PSU 11.2.0.4.3APPLY           Patchset 11.2.0.2.0APPLY           PSU 11.2.0.4.3APPLY           PSU 11.2.0.4.3 SQL> SELECT * FROMPRODUCT_COMPONENT_VERSION PRODUCT                                  VERSION    STATUS-------------------------------------------------- ------------------------------NLSRTL                                   11.2.0.4.0ProductionOracle Database 11gEnterprise Edition   11.2.0.4.0 64bitProductionPL/SQL                                   11.2.0.4.0ProductionTNS for Linux:                           11.2.0.4.0Production

So far, PSU has completed

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.