oracle 11.2.0.3升级到11.2.0.4

转自:http://blog.csdn.net/wuweilong/article/details/41627189node

说明:python

        这篇文章主要是记录下单实例环境下Oracle 11.2.0.1升级到11.2.0.3的过程,固然RAC的升级是会有所不一样。可是他们每一个版本之间升级步骤都是差很少的,先升级Database Software,再升级Oracle Instancesql

 Oracle 11.2.0.4Patchset No:19852360下载须要有Oracle Support才能够。数据库

 Patchset包含有7个文件,关于这七个文件的做用,详见以下连接:bash

 咱们升级Database,只须要其中的第一个和第二文件便可。将2个文件解压缩后就能够执行升级操做了。session

 

升级前准备:oracle

一、查看数据库和操做系统相关信息:app

[sql]  view plain  copy
  1. [root@db01 ~]# uname -a  
  2. Linux db01 2.6.18-308.el5 #1SMP Fri Jan 27 17:17:51 EST 2012 x86_64 x86_64 x86_64 GNU/Linux  
  3.   
  4. [root@db01 ~]# lsb_release-a  
  5. LSB Version:    :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch  
  6. Distributor ID:RedHatEnterpriseServer  
  7. Description:    Red Hat Enterprise Linux Server release 5.8(Tikanga)  
  8. Release:        5.8  
  9. Codename:       Tikanga  
  10.   
  11. [root@db01 ~]# su - oracle-c "sqlplus / as sysdba";  
  12. SQL*Plus: Release 11.2.0.3.0Production on Fri Oct 3 21:32:02 2014  
  13. Copyright (c) 1982, 2011,Oracle.  All rights reserved.  
  14.    
  15. Connected to:  
  16. Oracle Database 11gEnterprise Edition Release 11.2.0.3.0 - 64bit Production  
  17. With the Partitioning, OLAP,Data Mining and Real Application Testing options  
  18.   
  19. SQL> select name fromv$database;  
  20.   
  21.    
  22. NAME  
  23. ---------  
  24. WOO  
  25.   
  26. SQL>   

 

二、备份数据库jsp

[python]  view plain  copy
  1. [oracle@db01 ~]$ rman target/  
  2.    
  3.   
  4. Recovery Manager: Release11.2.0.3.0 - Production on Fri Oct 3 21:43:04 2014  
  5. Copyright (c) 19822011,Oracle and/or its affiliates.  All rightsreserved.  
  6. connected to targetdatabase: WOO (DBID=4199461782)  
  7.   
  8. RMAN> backup databaseplus archivelog delete input format '/DBBackup/Phycal/full_%U.bak';  
  9.   
  10.    
  11. Starting backup at 03-OCT-14  
  12. current log archived  
  13. using target databasecontrol file instead of recovery catalog  
  14. allocated channel:ORA_DISK_1  
  15. channel ORA_DISK_1: SID=149device type=DISK  
  16. channel ORA_DISK_1: startingarchived log backup set  
  17. channel ORA_DISK_1:specifying archived log(s) in backup set  
  18. input archived log thread=1sequence=15 RECID=1 STAMP=860017183  
  19. input archived log thread=1sequence=16 RECID=2 STAMP=860017184  
  20. input archived log thread=1sequence=17 RECID=3 STAMP=860017186  
  21. input archived log thread=1sequence=18 RECID=4 STAMP=860017186  
  22. input archived log thread=1sequence=19 RECID=5 STAMP=860017188  
  23. input archived log thread=1sequence=20 RECID=6 STAMP=860017387  
  24. channel ORA_DISK_1: startingpiece 1 at 03-OCT-14  
  25. channel ORA_DISK_1: finishedpiece 1 at 03-OCT-14  
  26. piecehandle=/DBBackup/Phycal/full_01pk5knb_1_1.bak tag=TAG20141003T214307comment=NONE  
  27. channel ORA_DISK_1: backupset complete, elapsed time: 00:00:02  
  28. channel ORA_DISK_1: deletingarchived log(s)  
  29. archived log filename=/DBSoft/fast_recovery_area/WOO/archivelog/2014_10_03/o1_mf_1_15_b2x9rz0z_.arcRECID=1 STAMP=860017183  
  30. archived log filename=/DBSoft/fast_recovery_area/WOO/archivelog/2014_10_03/o1_mf_1_16_b2x9s05l_.arcRECID=2 STAMP=860017184  
  31. archived log filename=/DBSoft/fast_recovery_area/WOO/archivelog/2014_10_03/o1_mf_1_17_b2x9s2nx_.arcRECID=3 STAMP=860017186  
  32. archived log filename=/DBSoft/fast_recovery_area/WOO/archivelog/2014_10_03/o1_mf_1_18_b2x9s2od_.arcRECID=4 STAMP=860017186  
  33. archived log filename=/DBSoft/fast_recovery_area/WOO/archivelog/2014_10_03/o1_mf_1_19_b2x9s4dr_.arcRECID=5 STAMP=860017188  
  34. archived log filename=/DBSoft/fast_recovery_area/WOO/archivelog/2014_10_03/o1_mf_1_20_b2x9zbz2_.arcRECID=6 STAMP=860017387  
  35. Finished backup at 03-OCT-14  
  36.   
  37. Starting backup at 03-OCT-14  
  38. using channel ORA_DISK_1  
  39. channel ORA_DISK_1: startingfull datafile backup set  
  40. channel ORA_DISK_1:specifying datafile(s) in backup set  
  41. input datafile filenumber=00001 name=/DBData/woo/system01.dbf  
  42. input datafile filenumber=00002 name=/DBData/woo/sysaux01.dbf  
  43. input datafile filenumber=00005 name=/DBData/woo/example01.dbf  
  44. input datafile filenumber=00003 name=/DBData/woo/undotbs01.dbf  
  45. input datafile filenumber=00004 name=/DBData/woo/users01.dbf  
  46. channel ORA_DISK_1: startingpiece 1 at 03-OCT-14  
  47. channel ORA_DISK_1: finishedpiece 1 at 03-OCT-14  
  48. piecehandle=/DBSoft/fast_recovery_area/WOO/backupset/2014_10_03/o1_mf_nnndf_TAG20141003T214309_b2x9zfm5_.bkptag=TAG20141003T214309 comment=NONE  
  49. channel ORA_DISK_1: backupset complete, elapsed time: 00:01:45  
  50. channel ORA_DISK_1: startingfull datafile backup set  
  51. channel ORA_DISK_1:specifying datafile(s) in backup set  
  52. including current controlfile in backup set  
  53. including current SPFILE inbackup set  
  54. channel ORA_DISK_1: startingpiece 1 at 03-OCT-14  
  55. channel ORA_DISK_1: finishedpiece 1 at 03-OCT-14  
  56. piecehandle=/DBSoft/fast_recovery_area/WOO/backupset/2014_10_03/o1_mf_ncsnf_TAG20141003T214309_b2xb2qlm_.bkptag=TAG20141003T214309 comment=NONE  
  57. channel ORA_DISK_1: backupset complete, elapsed time: 00:00:01  
  58. Finished backup at 03-OCT-14  
  59.    
  60.   
  61. Starting backup at 03-OCT-14  
  62. current log archived  
  63. using channel ORA_DISK_1  
  64. channel ORA_DISK_1: startingarchived log backup set  
  65. channel ORA_DISK_1:specifying archived log(s) in backup set  
  66. input archived log thread=1sequence=21 RECID=7 STAMP=860017496  
  67. channel ORA_DISK_1: startingpiece 1 at 03-OCT-14  
  68. channel ORA_DISK_1: finishedpiece 1 at 03-OCT-14  
  69. piecehandle=/DBBackup/Phycal/full_04pk5kqo_1_1.bak tag=TAG20141003T214456comment=NONE  
  70. channel ORA_DISK_1: backupset complete, elapsed time: 00:00:01  
  71. channel ORA_DISK_1: deletingarchived log(s)  
  72. archived log filename=/DBSoft/fast_recovery_area/WOO/archivelog/2014_10_03/o1_mf_1_21_b2xb2rsf_.arcRECID=7 STAMP=860017496  
  73. Finished backup at 03-OCT-14  
  74.   
  75.    
  76. RMAN>  

 

3、中止数据库ide

[python]  view plain  copy
  1. ###中止数据库  
  2.   
  3. SQL> shutdown immediate  
  4. Database closed.  
  5. Database dismounted.  
  6. ORACLE instance shut down.  
  7.   
  8. ###中止监听  
  9.   
  10. SQL> host lsnrctl stop  
  11.   
  12.    
  13. LSNRCTL for Linux: Version11.2.0.3.0 - Production on 04-OCT-2014 01:39:26  
  14.   
  15.    
  16. Copyright (c) 19912011,Oracle.  All rights reserved.  
  17. Connecting to(DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))  
  18. The command completedsuccessfully  
  19.   
  20. ###中止EM  
  21.   
  22. SQL> host emctl stopdbconsole  
  23.   
  24. Oracle Enterprise Manager11g Database Control Release 11.2.0.3.0   
  25. Copyright (c) 19962011Oracle Corporation.  All rights reserved.  
  26. <a target=_blank href="https://db01:1158/em/console/aboutApplication">https://db01:1158/em/console/aboutApplication</a>  
  27. Stopping Oracle EnterpriseManager 11g Database Control ...  
  28.   
  29. ###查看oracle进程,检查是否已经中止完毕  
  30.   
  31. [root@db01 ~]# ps -ef|grepora  
  32. root      4971 4944  0 01:46 pts/0    00:00:00 grep ora  

 

四、备份老的ORACLE_HOMEoraInventory

[python]  view plain  copy
  1. [root@db01 ~]#tar –cvfproduct.zip /DBSoft/product/  
  2. [root@db01 ~]#tar –cvforaInventory.zip /DBSoft/product/oraInventory/  

 

五、上传并解压缩Oracle Database 11.2.0.4安装介质

[python]  view plain  copy
  1. [oracle@db01 ~]$ ll  
  2.   
  3. total 2489644  
  4. drwxr-xr-x 2 oracle oinstall       4096 Oct 3 04:06 Desktop  
  5. -rw-r--r-- 1 oracle oinstall1395582860 Oct  3 06:55p13390677_112040_Linux-x86-64_1of7.zip  
  6. -rw-r--r-- 1 oracle oinstall1151304589 Oct  3 06:54p13390677_112040_Linux-x86-64_2of7.zip  
  7.   
  8. [oracle@db01 ~]$ unzipp13390677_112040_Linux-x86-64_1of7.zip  
  9. [oracle@db01 ~]$ unzipp13390677_112040_Linux-x86-64_2of7.zip  

 

六、 开始安装

6.1 将文件解压缩后进入安装目录执行./runInstall

  
  6.2 取消Oracle支持选项,点击Next

  
  6.3 选择最后一个选项"skip software update" 点击Next


   6.4 选择最后一个选项"Upgrade an existing database" 后执行Next


   6.5 选择全部语言,后点击Next


  6.6 选择要升级的数据库版本,后点击Next


   6.7 选择新版本的数据库软件安装目录,后点击Next


   6.8 选择数据库所属用户组,后点击Next


  6.9 察看数据库配置信息后,点击Install开始进行新版本软件安装


   6.10 安装进度,这个过程将会持续15分钟左右 


  6.11 弹出对话框要求执行/DBSoft/Product/11.2.4/db_1/root.sh 脚本


七、 执行root.sh脚本

[python]  view plain  copy
  1. [root@db01 ~]#/DBSoft/Product/11.2.4/db_1/root.sh   
  2.   
  3. Performing root useroperation for Oracle 11g   
  4.   
  5.    
  6. The following environmentvariables are set as:  
  7.     ORACLE_OWNER= oracle  
  8.     ORACLE_HOME=  /DBSoft/Product/11.2.4/db_1  
  9.   
  10.    
  11. Enter the full pathname ofthe local bin directory: [/usr/local/bin]:   
  12. The contents of"dbhome" have not changed. No need to overwrite.  
  13. The contents of"oraenv" have not changed. No need to overwrite.  
  14. The contents of"coraenv" have not changed. No need to overwrite.  
  15.   
  16.    
  17. Entries will be added to the/etc/oratab file as needed by  
  18. Database ConfigurationAssistant when a database is created  
  19. Finished running genericpart of root script.  
  20. Now product-specific rootactions will be performed.  
  21. Finished product-specificroot actions.  
  22.   
  23. [root@db01 ~]#  

   6.12 执行完脚本以后继续运行,提示配置监听,选择Cancel,稍后复制便可


  6.13 提示监听配置失败,点击ok便可


  6.14 有报错不用管,咱们直接Next便可 


   6.15 至此软件安装完成,点击Close关闭安装界面


至此软件安装完成,可是并不表明数据库就已经升级完成了。

 

八、至此11.2.0.4的软件就已经装完了,修改Oracle环境变量

[python]  view plain  copy
  1. [root@db01 ~]# su - oracle  
  2. [oracle@db01 ~]$ vi.bash_profile                   -------修改以下行,将11.2.3改为11.2.4便可  
  3. export ORACLE_HOME=$ORACLE_BASE/Product/11.2.4/db_1  
  4.   
  5. [oracle@db01 ~]$ vi /etc/oratab                     -------修改以下行11.2.311.2.4  
  6. woo:/DBSoft/Product/11.2.4/db_1:N  
  7.   
  8. [oracle@db01 admin]$ cp/DBSoft/Product/11.2.3/db_1/dbs/* /DBSoft/Product/11.2.4/db_1/dbs/  

 

九、 拷贝监听配置文件

[python]  view plain  copy
  1. [oracle@db01 admin]$ source~/.bash_profile   
  2. [oracle@db01 admin]$ pwd  
  3. /DBSoft/Product/11.2.3/db_1/network/admin  
  4.   
  5. [oracle@db01 admin]$ cd$ORACLE_HOME/network/admin  
  6. [oracle@db01 admin]$ ls  
  7.   
  8. samples  shrept.lst  
  9.   
  10. [oracle@db01 admin]$ cp -r/DBSoft/Product/11.2.3/db_1/network/admin/* $ORACLE_HOME/network/admin  
  11. [oracle@db01 admin]$ ls  
  12. listener.ora  samples shrept.lst  sqlnet.ora  tnsnames.ora  

 

十、执行预升级脚本检查

[sql]  view plain  copy
  1. [oracle@db01 dbs]$ sqlplus /as sysdba  
  2.   
  3.    
  4. SQL*Plus: Release 11.2.0.4.0Production on Sat Oct 4 02:26:01 2014  
  5. Copyright (c) 1982, 2013,Oracle.  All rights reserved.  
  6. Connected to an idleinstance.  
  7.   
  8.    
  9. SQL> startup upgrade;  
  10.   
  11. ORACLE instance started.  
  12. Total System Global Area2037673984 bytes  
  13. Fixed Size                  2254704 bytes  
  14. Variable Size            1811941520 bytes  
  15. Database Buffers          218103808 bytes  
  16. Redo Buffers                5373952 bytes  
  17. Database mounted.  
  18. Database opened.  
  19.   
  20. SQL>@?/rdbms/admin/utlu112i.sql    ---执行升级前检查  
  21.   
  22. Oracle Database 11.2Pre-Upgrade Information Tool 10-04-2014 02:27:38  
  23. Script Version: 11.2.0.4.0Build: 001  
  24. .  
  25. **********************************************************************  
  26. Database:  
  27. **********************************************************************  
  28.   
  29. --> name:          WOO  
  30. --> version:       11.2.0.3.0  
  31. --> compatible:    11.2.0.0.0  
  32. --> blocksize:     8192  
  33. --> platform:      Linux x86 64-bit  
  34. --> timezone file: V14  
  35. .  
  36. **********************************************************************  
  37. Tablespaces: [makeadjustments in the current environment]  
  38. **********************************************************************  
  39.   
  40. --> SYSTEM tablespace isadequate for the upgrade.  
  41. .... minimum required size:917 MB  
  42. --> SYSAUX tablespace isadequate for the upgrade.  
  43. .... minimum required size:646 MB  
  44. --> UNDOTBS1 tablespaceis adequate for the upgrade.  
  45. .... minimum required size:400 MB  
  46. --> TEMP tablespace isadequate for the upgrade.  
  47. .... minimum required size:60 MB  
  48. .  
  49. **********************************************************************  
  50. Flashback: OFF  
  51. **********************************************************************  
  52.   
  53. **********************************************************************  
  54. Update Parameters: [UpdateOracle Database 11.2 init.ora or spfile]  
  55. Note: Pre-upgrade tool wasrun on a lower version 64-bit database.  
  56. **********************************************************************  
  57.   
  58. --> If Target Oracle is32-Bit, refer here for Update Parameters:  
  59. WARNING: -->"shared_pool_size" needs to be increased to at least 236 MB  
  60. .  
  61.   
  62.    
  63. --> If Target Oracle is64-Bit, refer here for Update Parameters:  
  64. WARNING: -->"shared_pool_size" needs to be increased to at least 472 MB  
  65. .  
  66. **********************************************************************  
  67. Renamed Parameters: [UpdateOracle Database 11.2 init.ora or spfile]  
  68. **********************************************************************  
  69.   
  70. -- No renamed parametersfound. No changes are required.  
  71. .  
  72. **********************************************************************  
  73. Obsolete/DeprecatedParameters: [Update Oracle Database 11.2 init.ora or spfile]  
  74. **********************************************************************  
  75.   
  76. -- No obsolete parametersfound. No changes are required  
  77. .  
  78.    
  79. **********************************************************************  
  80. Components: [The followingdatabase components will be upgraded or installed]  
  81. **********************************************************************  
  82.   
  83. --> Oracle CatalogViews         [upgrade]  VALID  
  84. --> Oracle Packages andTypes    [upgrade]  VALID  
  85. --> JServer JAVA VirtualMachine [upgrade]  VALID  
  86. --> Oracle XDK forJava          [upgrade]  VALID  
  87. --> Oracle WorkspaceManager     [upgrade]  VALID  
  88. --> OLAP Analytic Workspace      [upgrade] VALID  
  89. --> OLAP Catalog                 [upgrade]  VALID  
  90. --> EM Repository                [upgrade]  VALID  
  91. --> Oracle Text                  [upgrade]  VALID  
  92. --> Oracle XMLDatabase          [upgrade]  VALID  
  93. --> Oracle Java Packages         [upgrade]  VALID  
  94. --> OracleinterMedia            [upgrade]  VALID  
  95. --> Spatial                      [upgrade]  VALID  
  96. --> ExpressionFilter            [upgrade]  VALID  
  97. --> Rule Manager                 [upgrade]  VALID  
  98. --> Oracle ApplicationExpress   [upgrade]  VALID  
  99. ... APEX will only beupgraded if the version of APEX in  
  100. ... the target Oracle homeis higher than the current one.  
  101. --> Oracle OLAP API              [upgrade]  VALID  
  102. .  
  103. **********************************************************************  
  104. Miscellaneous Warnings  
  105. **********************************************************************  
  106.   
  107. WARNING: --> Your recyclebin is turned on and currently contains no objects.  
  108. .... Because it is REQUIREDthat the recycle bin be empty prior to upgrading  
  109. .... and your recycle bin isturned on, you may need to execute the command:  
  110.         PURGE DBA_RECYCLEBIN  
  111. .... prior to executing yourupgrade to confirm the recycle bin is empty.  
  112. WARNING: --> Databasecontains schemas with objects dependent on DBMS_LDAP package.  
  113. .... Refer to the 11gUpgrade Guide for instructions to configure Network ACLs.  
  114. .... USER APEX_030200 hasdependent objects.  
  115. .  
  116.   
  117. **********************************************************************  
  118. Recommendations  
  119. **********************************************************************  
  120.   
  121. Oracle recommends gatheringdictionary statistics prior to  
  122. upgrading the database.  
  123. To gather dictionarystatistics execute the following command  
  124. while connected as SYSDBA:  
  125.    
  126.   
  127.     EXECUTE dbms_stats.gather_dictionary_stats;  
  128.   
  129.    
  130. **********************************************************************  
  131. Oracle recommends removingall hidden parameters prior to upgrading.  
  132. To view existing hiddenparameters execute the following command  
  133. while connected AS SYSDBA:  
  134.   
  135.    
  136.     SELECT name,description fromSYS.V$PARAMETER WHERE name  
  137.         LIKE '\_%' ESCAPE '\'  
  138.   
  139. Changes will need to be madein the init.ora or spfile.  
  140. **********************************************************************  
  141.   
  142. Oracle recommends reviewingany defined events prior to upgrading.  
  143. To view existing non-defaultevents execute the following commands  
  144. while connected AS SYSDBA:  
  145.   
  146.   Events:  
  147.     SELECT (translate(value,chr(13)||chr(10),'')) FROM sys.v$parameter2  
  148.       WHERE UPPER(name) ='EVENT' AND isdefault='FALSE'  
  149.   
  150.    
  151.   Trace Events:  
  152.     SELECT (translate(value,chr(13)||chr(10),'')) from sys.v$parameter2  
  153.       WHERE UPPER(name) = '_TRACE_EVENTS' ANDisdefault='FALSE'  
  154.   
  155.    
  156. Changes will need to be madein the init.ora or spfile.  

 

十一、     修改不知足项

[sql]  view plain  copy
  1. SQL> show parametershared  
  2.   
  3.    
  4. NAME                                 TYPE        VALUE  
  5. ----------------------------------------------- ------------------------------  
  6. hi_shared_memory_address             integer     0  
  7. max_shared_servers                   integer  
  8. shared_memory_address                integer     0  
  9. shared_pool_reserved_size            big integer 8M  
  10. shared_pool_size                     big integer 160M  
  11. shared_server_sessions               integer  
  12. shared_servers                       integer     1  
  13.   
  14. SQL> alter system setshared_pool_size=800m scope=spfile;  
  15.   
  16.    
  17. System altered.  
  18.   
  19.    
  20.   
  21. SQL> shutdown immediate  
  22.   
  23. Database closed.  
  24. Database dismounted.  
  25. ORACLE instance shut down.  
  26.   
  27. SQL> startup mountl  
  28.   
  29. SP2-0714: invalidcombination of STARTUP options  
  30.   
  31. SQL> startup mount;  
  32.   
  33. ORACLE instance started.  
  34. Total System Global Area2872786944 bytes  
  35. Fixed Size                  2256712 bytes  
  36. Variable Size            2634023096 bytes  
  37. Database Buffers          218103808 bytes  
  38. Redo Buffers               18403328 bytes  
  39.   
  40. Database mounted.  
  41.   
  42. SQL> alter databaseflashback on;  
  43.   
  44.    
  45. ###建立一个回滚点  
  46. SQL> create restore pointmaclean_rollback guarantee flashback database;  
  47.   
  48.    
  49. Restore point created.  
  50.   
  51.    
  52.   
  53. SQL> select * fromv$restore_point;  
  54.   
  55.    
  56.   
  57.        SCN DATABASE_INCARNATION# GUASTORAGE_SIZE  
  58. ------------------------------- --- ------------  
  59.   
  60. TIME  
  61. ---------------------------------------------------------------------------  
  62. RESTORE_POINT_TIME                                                         PRE  
  63. ------------------------------------------------------------------------------  
  64. NAME  
  65. --------------------------------------------------------------------------------  
  66.    1187867                     2 YES     52428800  
  67.   
  68. 04-OCT-14 02.41.43.000000000AM  
  69.   
  70.                                                                            YES  
  71. MACLEAN_ROLLBACK  
  72.   
  73.    
  74.   
  75. 再次运行检查:  
  76.   
  77. SQL>@?/rdbms/admin/utlu112i.sql  
  78.   
  79. Oracle Database 11.2Pre-Upgrade Information Tool 10-04-2014 03:26:20  
  80. Script Version: 11.2.0.4.0Build: 001  
  81.   
  82. .  
  83. **********************************************************************  
  84. Database:  
  85. **********************************************************************  
  86.   
  87. --> name:          WOO  
  88. --> version:       11.2.0.3.0  
  89. --> compatible:    11.2.0.0.0  
  90. --> blocksize:     8192  
  91. --> platform:      Linux x86 64-bit  
  92. --> timezone file: V14  
  93.   
  94. .  
  95. **********************************************************************  
  96. Tablespaces: [makeadjustments in the current environment]  
  97. **********************************************************************  
  98.   
  99. --> SYSTEM tablespace isadequate for the upgrade.  
  100. .... minimum required size:917 MB  
  101. --> SYSAUX tablespace isadequate for the upgrade.  
  102. .... minimum required size:646 MB  
  103. --> UNDOTBS1 tablespaceis adequate for the upgrade.  
  104. .... minimum required size:400 MB  
  105. --> TEMP tablespace isadequate for the upgrade.  
  106. .... minimum required size:60 MB  
  107.   
  108. .  
  109. **********************************************************************  
  110. Flashback: ON  
  111. **********************************************************************  
  112.   
  113. FlashbackInfo:  
  114. --> name:          /DBSoft/fast_recovery_area  
  115. --> limit:         4122 MB  
  116. --> used:          1490 MB  
  117. --> size:          4122 MB  
  118. --> reclaim:       1097.734375 MB  
  119. --> files:         11  
  120.   
  121. WARNING: --> FlashbackRecovery Area Set.  Please ensureadequate disk space              inrecover  
  122. y areas before performing anupgrade.  
  123. .  
  124. **********************************************************************  
  125. Update Parameters: [UpdateOracle Database 11.2 init.ora or spfile]  
  126. Note: Pre-upgrade tool wasrun on a lower version 64-bit database.  
  127. **********************************************************************  
  128.   
  129. --> If Target Oracle is32-Bit, refer here for Update Parameters:  
  130. -- No update parameterchanges are required.  
  131. .  
  132.   
  133.    
  134. --> If Target Oracle is64-Bit, refer here for Update Parameters:  
  135. -- No update parameterchanges are required.  
  136. .  
  137.   
  138. **********************************************************************  
  139. Renamed Parameters: [UpdateOracle Database 11.2 init.ora or spfile]  
  140. **********************************************************************  
  141. -- No renamed parametersfound. No changes are required.  
  142. .  
  143.   
  144. **********************************************************************  
  145. Obsolete/DeprecatedParameters: [Update Oracle Database 11.2 init.ora or spfile]  
  146. **********************************************************************  
  147. -- No obsolete parametersfound. No changes are required  
  148. .  
  149.    
  150.   
  151. **********************************************************************  
  152. Components: [The followingdatabase components will be upgraded or installed]  
  153. **********************************************************************  
  154.   
  155. --> Oracle CatalogViews          [upgrade]  VALID  
  156. --> Oracle Packages andTypes     [upgrade]  VALID  
  157. --> JServer JAVA VirtualMachine  [upgrade]  VALID  
  158. --> Oracle XDK forJava           [upgrade]  VALID  
  159. --> Oracle WorkspaceManager      [upgrade]  VALID  
  160. --> OLAP AnalyticWorkspace       [upgrade]  VALID  
  161. --> OLAP Catalog                 [upgrade]  VALID  
  162. --> EM Repository                [upgrade]  VALID  
  163. --> Oracle Text                  [upgrade]  VALID  
  164. --> Oracle XMLDatabase           [upgrade]  VALID  
  165. --> Oracle JavaPackages          [upgrade]  VALID  
  166. --> OracleinterMedia             [upgrade]  VALID  
  167. --> Spatial                      [upgrade]  VALID  
  168. --> ExpressionFilter             [upgrade]  VALID  
  169. --> Rule Manager                 [upgrade]  VALID  
  170. --> Oracle ApplicationExpress    [upgrade]  VALID  
  171. ... APEX will only beupgraded if the version of APEX in  
  172. ... the target Oracle homeis higher than the current one.  
  173. --> Oracle OLAP API              [upgrade]  VALID  
  174. .  
  175.   
  176. **********************************************************************  
  177. Miscellaneous Warnings  
  178. **********************************************************************  
  179.   
  180. WARNING: --> Your recyclebin is turned on and currently contains no objects.  
  181. .... Because it is REQUIREDthat the recycle bin be empty prior to upgrading  
  182. .... and your recycle bin isturned on, you may need to execute the command:  
  183.         PURGE DBA_RECYCLEBIN  
  184. .... prior to executing yourupgrade to confirm the recycle bin is empty.  
  185. WARNING: --> Databasecontains schemas with objects dependent on DBMS_LDAP package.  
  186. .... Refer to the 11gUpgrade Guide for instructions to configure Network ACLs.  
  187. .... USER APEX_030200 hasdependent objects.  
  188. .  
  189.   
  190. **********************************************************************  
  191. Recommendations  
  192. **********************************************************************  
  193. Oracle recommends gatheringdictionary statistics prior to  
  194. upgrading the database.  
  195. To gather dictionarystatistics execute the following command  
  196. while connected as SYSDBA:  
  197.   
  198.    
  199.     EXECUTE dbms_stats.gather_dictionary_stats;  
  200.   
  201. **********************************************************************  
  202. Oracle recommends removingall hidden parameters prior to upgrading.  
  203. To view existing hiddenparameters execute the following command  
  204. while connected AS SYSDBA:  
  205.    
  206.   
  207.     SELECT name,description fromSYS.V$PARAMETER WHERE name  
  208.         LIKE '\_%' ESCAPE '\'  
  209.   
  210. Changes will need to be madein the init.ora or spfile.  
  211.   
  212. **********************************************************************  
  213. Oracle recommends reviewingany defined events prior to upgrading.  
  214. To view existing non-defaultevents execute the following commands  
  215. while connected AS SYSDBA:  
  216.   Events:  
  217.     SELECT (translate(value,chr(13)||chr(10),'')) FROM sys.v$parameter2  
  218.       WHERE UPPER(name) ='EVENT' AND isdefault='FALSE'  
  219.   
  220.   Trace Events:  
  221.     SELECT (translate(value,chr(13)||chr(10),'')) from sys.v$parameter2  
  222.       WHERE UPPER(name) = '_TRACE_EVENTS' ANDisdefault='FALSE'  
  223.   
  224.    
  225. Changes will need to be madein the init.ora or spfile.  

 

十二、执行升级操做 

[sql]  view plain  copy
  1. SQL> shutdown immediate  
  2.   
  3. Database closed.  
  4. Database dismounted.  
  5. ORACLE instance shut down.  
  6.   
  7. SQL> startup upgrade;  
  8.   
  9. ORACLE instance started.  
  10. Total System Global Area2872786944 bytes  
  11. Fixed Size                  2256712 bytes  
  12. Variable Size            2634023096 bytes  
  13. Database Buffers          218103808 bytes  
  14. Redo Buffers               18403328 bytes  
  15. Database mounted.  
  16.   
  17. Database opened.  
  18.   
  19. SQL> set echo on  
  20. SQL> spool/home/oracle/upgrade.log  
  21. SQL> set time on;  
  22.   
  23. 03:28:37 SQL>@?/rdbms/admin/catupgrd.sql  ---该脚本会运行十分钟左右  
  24. ……..  
  25.   
  26. Oracle Database 11.2Post-Upgrade Status Tool          10-04-2014 04:01:36  
  27. .  
  28. Component                               Current      Version     Elapsed Time  
  29. Name                                    Status       Number      HH:MM:SS  
  30. .  
  31. Oracle Server  
  32. .                                        VALID      11.2.0.4.0  00:08:38  
  33. JServer JAVA Virtual Machine  
  34. .                                        VALID      11.2.0.4.0  00:04:26  
  35. Oracle Workspace Manager  
  36. .                                        VALID      11.2.0.4.0  00:00:25  
  37. OLAP Analytic Workspace  
  38. .                                        VALID      11.2.0.4.0  00:01:27  
  39. OLAP Catalog  
  40. .                                        VALID      11.2.0.4.0  00:00:32  
  41. Oracle OLAP API  
  42. .                                        VALID      11.2.0.4.0  00:00:19  
  43. Oracle Enterprise Manager  
  44. .                                        VALID      11.2.0.4.0  00:06:25  
  45. Oracle XDK  
  46. .                                         VALID      11.2.0.4.0  00:00:26  
  47. Oracle Text  
  48. .                                        VALID      11.2.0.4.0  00:00:24  
  49. Oracle XML Database  
  50. .                                        VALID      11.2.0.4.0  00:01:46  
  51. Oracle Database JavaPackages  
  52. .                                         VALID      11.2.0.4.0  00:00:08  
  53. Oracle Multimedia  
  54. .                                        VALID      11.2.0.4.0  00:01:43  
  55. Spatial  
  56. .                                        VALID      11.2.0.4.0  00:05:34  
  57. Oracle Expression Filter  
  58. .                                        VALID      11.2.0.4.0  00:00:06  
  59. Oracle Rules Manager  
  60. .                                        VALID      11.2.0.4.0  00:00:07  
  61. Oracle Application Express  
  62. .                                        VALID     3.2.1.00.12  
  63. Final Actions  
  64. .                                                               00:00:00  
  65. Total Upgrade Time: 00:32:35  
  66.   
  67.    
  68. PL/SQL proceduresuccessfully completed.  
  69.   
  70.    
  71. 04:01:36 SQL>   
  72. 04:01:36 SQL> SETSERVEROUTPUT OFF  
  73. 04:01:36 SQL> SET VERIFYON  
  74. 04:01:36 SQL> commit;  
  75.   
  76.    
  77. Commit complete.  
  78.   
  79.    
  80.   
  81. 04:01:36 SQL>   
  82. 04:01:36 SQL> shutdownimmediate;  
  83.   
  84. Database closed.  
  85. Database dismounted.  
  86. ORACLE instance shut down.  
  87.   
  88. 04:01:54 SQL>   
  89. 04:01:54 SQL>   
  90. 04:01:54 SQL> DOC  
  91. 04:01:54 DOC>#######################################################################  
  92. 04:01:54DOC>#######################################################################  
  93. 04:01:54 DOC>  
  94. 04:01:54 DOC>   The above sql script is the final step ofthe upgrade. Please  
  95. 04:01:54 DOC>   review any errors in the spool log file. Ifthere are any errors in  
  96. 04:01:54 DOC>   the spool file, consult the Oracle DatabaseUpgrade Guide for  
  97. 04:01:54 DOC>   troubleshooting recommendations.  
  98. 04:01:54 DOC>  
  99. 04:01:54 DOC>   Next restart for normal operation, and thenrun utlrp.sql to  
  100. 04:01:54 DOC>   recompile any invalid application objects.  
  101. 04:01:54 DOC>  
  102. 04:01:54 DOC>   If the source database had an older timezone version prior to  
  103. 04:01:54 DOC>   upgrade, then please run the DBMS_DSTpackage.  DBMS_DST will upgrade  
  104. 04:01:54 DOC>   TIMESTAMP WITH TIME ZONE data to use thelatest time zone file shipped  
  105. 04:01:54 DOC>   with Oracle.  
  106. 04:01:54 DOC>  
  107. 04:01:54DOC>#######################################################################  
  108. 04:01:54 DOC>#######################################################################  
  109. 04:01:54 DOC>#  
  110. 04:01:54 SQL>   
  111. 04:01:54 SQL> Rem Seterrorlogging off  
  112. 04:01:54 SQL> SETERRORLOGGING OFF;  
  113. 04:01:54 SQL>   
  114. 04:01:54 SQL> REM END OFCATUPGRD.SQL  
  115. 04:01:54 SQL>   
  116. 04:01:54 SQL> REM bug12337546 - Exit current sqlplus session at end of catupgrd.sql.  
  117. 04:01:54 SQL> REM                This forces user to start a newsqlplus session in order  
  118. 04:01:54 SQL> REM                to connect to the upgraded db.  
  119. 04:01:54 SQL> exit  
  120.   
  121. Disconnected from OracleDatabase 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production  
  122. With the Partitioning, OLAP,Data Mining and Real Application Testing options  

 

以上catupgrd.sql脚本运行了50分钟左右,执行完以后会shutdown immediate数据库。这个时候咱们将要重启数据库运行utlrp.sql脚本编译失效对象:

 

1三、运行utlrp.sql编译失效对象

[sql]  view plain  copy
  1. [oracle@db01 dbs]$ sqlplus /as sysdba  
  2.   
  3.    
  4.   
  5. SQL*Plus: Release 11.2.0.4.0Production on Sat Oct 4 04:11:22 2014  
  6. Copyright (c) 1982, 2013,Oracle.  All rights reserved.  
  7.   
  8.    
  9. Connected to an idleinstance.  
  10.   
  11.    
  12. SQL> startup  
  13.   
  14. ORACLE instance started.  
  15.   
  16.    
  17. Total System Global Area 2872786944bytes  
  18. Fixed Size                  2256712 bytes  
  19. Variable Size            2634023096 bytes  
  20. Database Buffers          218103808 bytes  
  21. Redo Buffers               18403328 bytes  
  22. Database mounted.  
  23.   
  24. Database opened.  
  25.   
  26. SQL> @?/rdbms/admin/utlrp  
  27.   
  28.    
  29. TIMESTAMP  
  30. --------------------------------------------------------------------------------  
  31.   
  32. COMP_TIMESTAMPUTLRP_BGN  2014-10-04 04:14:57  
  33. DOC>   The following PL/SQL block invokesUTL_RECOMP to recompile invalid  
  34. DOC>   objects in the database. Recompilation timeis proportional to the  
  35. DOC>   number of invalid objects in the database,so this command may take  
  36. DOC>   a long time to execute on a database with alarge number of invalid  
  37. DOC>   objects.  
  38. DOC>  
  39. DOC>   Use the following queries to trackrecompilation progress:  
  40. DOC>  
  41. DOC>   1. Query returning the number of invalidobjects remaining. This  
  42. DOC>      number should decrease with time.  
  43. DOC>         SELECT COUNT(*) FROM obj$ WHERE statusIN (4, 5, 6);  
  44. DOC>  
  45. DOC>   2. Query returning the number of objectscompiled so far. This number  
  46. DOC>      should increase with time.  
  47. DOC>         SELECT COUNT(*) FROMUTL_RECOMP_COMPILED;  
  48. DOC>  
  49. DOC>   This script automatically chooses serial orparallel recompilation  
  50. DOC>   based on the number of CPUs available(parameter cpu_count) multiplied  
  51. DOC>   by the number of threads per CPU (parameterparallel_threads_per_cpu).  
  52. DOC>   On RAC, this number is added across all RACnodes.  
  53. DOC>  
  54. DOC>   UTL_RECOMP uses DBMS_SCHEDULER to createjobs for parallel  
  55. DOC>   recompilation. Jobs are created withoutinstance affinity so that they  
  56. DOC>   can migrate across RAC nodes. Use thefollowing queries to verify  
  57. DOC>   whether UTL_RECOMP jobs are being createdand run correctly:  
  58. DOC>  
  59. DOC>   1. Query showing jobs created by UTL_RECOMP  
  60. DOC>         SELECT job_name FROM dba_scheduler_jobs  
  61. DOC>            WHERE job_name like'UTL_RECOMP_SLAVE_%';  
  62. DOC>  
  63. DOC>   2. Query showing UTL_RECOMP jobs that arerunning  
  64. DOC>         SELECT job_name FROMdba_scheduler_running_jobs  
  65. DOC>            WHERE job_name like'UTL_RECOMP_SLAVE_%';  
  66. DOC>#  
  67.   
  68.    
  69. PL/SQL proceduresuccessfully completed.  
  70.   
  71.    
  72.   
  73.    
  74. TIMESTAMP  
  75. --------------------------------------------------------------------------------  
  76.   
  77. COMP_TIMESTAMPUTLRP_END  2014-10-04 04:15:34  
  78.    
  79. DOC> The following queryreports the number of objects that have compiled  
  80. DOC> with errors.  
  81. DOC>  
  82. DOC> If the number ishigher than expected, please examine the error  
  83. DOC> messages reportedwith each object (using SHOW ERRORS) to see if they  
  84. DOC> point to systemmisconfiguration or resource constraints that must be  
  85. DOC> fixed beforeattempting to recompile these objects.  
  86. DOC>#  
  87.   
  88.    
  89. OBJECTS WITH ERRORS  
  90. -------------------  
  91.                   0  
  92.   
  93.    
  94.   
  95. DOC> The following queryreports the number of errors caught during  
  96. DOC> recompilation. Ifthis number is non-zero, please query the error  
  97. DOC> messages in thetable UTL_RECOMP_ERRORS to see if any of these errors  
  98. DOC> are due tomisconfiguration or resource constraints that must be  
  99. DOC> fixed before objectscan compile successfully.  
  100. DOC>#  
  101.   
  102.    
  103. ERRORS DURING RECOMPILATION  
  104. ---------------------------  
  105.                           0  
  106.   
  107.    
  108.    
  109. Function created.  
  110.   
  111.    
  112. PL/SQL proceduresuccessfully completed.  
  113.   
  114.    
  115. Function dropped.  
  116.   
  117.    
  118. PL/SQL proceduresuccessfully completed.  
  119.   
  120. SQL>  


 

该脚本耗时约为3分钟左右。

 

1四、至此数据库已经升级完成,查看各组件版本号:

 

[sql]  view plain  copy
  1. SQL> select comp_name,status,version fromdba_server_registry  
  2.   
  3.    
  4. COMP_NAME                                STATUS         VERSION  
  5. ------------------------------------------------------ ------------------------------  
  6.   
  7. OWB                                      VALID          11.2.0.3.0  
  8. Oracle ApplicationExpress                VALID          3.2.1.00.12  
  9. Oracle EnterpriseManager                 VALID          11.2.0.4.0  
  10. OLAP Catalog                             VALID          11.2.0.4.0  
  11. Spatial                                  VALID          11.2.0.4.0  
  12. Oracle Multimedia                        VALID          11.2.0.4.0  
  13. Oracle XML Database                      VALID          11.2.0.4.0  
  14. Oracle Text                              VALID          11.2.0.4.0  
  15. Oracle ExpressionFilter                  VALID          11.2.0.4.0  
  16. Oracle Rules Manager                     VALID          11.2.0.4.0  
  17. Oracle WorkspaceManager                  VALID          11.2.0.4.0  
  18. Oracle Database CatalogViews             VALID          11.2.0.4.0  
  19. Oracle Database Packages andTypes        VALID          11.2.0.4.0  
  20. JServer JAVA VirtualMachine              VALID          11.2.0.4.0  
  21. Oracle XDK                               VALID          11.2.0.4.0  
  22. Oracle Database JavaPackages             VALID          11.2.0.4.0  
  23. OLAP Analytic Workspace                  VALID          11.2.0.4.0  
  24. Oracle OLAP API                          VALID          11.2.0.4.0  
  25.    
  26.   
  27. 18 rows selected.  

 

1五、检查无效对象:

[sql]  view plain  copy
  1. SQL> select * fromdba_objects where status !='VALID';  
  2.   
  3.    
  4. no rows selected  

 

1六、升级成功后删除原来的目录,经过EMCA重建EM

[python]  view plain  copy
  1. [oracle@db01 /]$ rm -rf/DBSoft/Product/11.2.3/  
  2.   
  3. 手工建立EM资料库:  
  4. ####emca -repos drop  
  5.   
  6.    
  7. [oracle@db01 /]$ emca -reposdrop  
  8.   
  9. STARTED EMCA at Oct 420146:11:41 AM  
  10. EM Configuration Assistant,Version 11.2.0.3.0 Production  
  11.   
  12. Copyright (c) 20032011,Oracle.  All rights reserved.  
  13.   
  14.    
  15. Enter the followinginformation:  
  16. Database SID: woo  
  17. Listener port number: 1521  
  18. Password for SYS user:    
  19. Password for SYSMANuser:    
  20.   
  21.    
  22. ----------------------------------------------------------------------  
  23. WARNING : While repositoryis dropped the database will be put in quiesce mode.  
  24. ----------------------------------------------------------------------  
  25.   
  26. Do you wish to continue?[yes(Y)/no(N)]: y  
  27. Oct 42014 6:11:53 AMoracle.sysman.emcp.EMConfig perform  
  28. INFO: This operation isbeing logged at /DBSoft/cfgtoollogs/emca/woo/emca_2014_10_04_06_11_41.log.  
  29. Oct 42014 6:11:53 AMoracle.sysman.emcp.EMReposConfig invoke  
  30. INFO: Dropping the EMrepository (this may take a while) ...  
  31. Oct 42014 6:13:37 AMoracle.sysman.emcp.EMReposConfig invoke  
  32. INFO: Repositorysuccessfully dropped  
  33. Enterprise Managerconfiguration completed successfully  
  34. FINISHED EMCA at Oct 420146:13:37 AM  
  35.   
  36. ####emca -repos create  
  37.   
  38.    
  39. [oracle@db01 /]$ emca -reposcreate  
  40.   
  41.    
  42. STARTED EMCA at Oct 420146:14:07 AM  
  43. EM Configuration Assistant,Version 11.2.0.3.0 Production  
  44. Copyright (c) 20032011,Oracle.  All rights reserved.  
  45.    
  46. Enter the followinginformation:  
  47. Database SID: woo  
  48. Listener port number: 1521  
  49. Password for SYS user:    
  50. Password for SYSMANuser:    
  51.   
  52. Do you wish to continue?[yes(Y)/no(N)]: y  
  53. Oct 42014 6:14:20 AM oracle.sysman.emcp.EMConfigperform  
  54. INFO: This operation isbeing logged at /DBSoft/cfgtoollogs/emca/woo/emca_2014_10_04_06_14_07.log.  
  55. Oct 42014 6:14:21 AMoracle.sysman.emcp.EMReposConfig createRepository  
  56. INFO: Creating the EMrepository (this may take a while) ...  
  57. Oct 42014 6:17:57 AMoracle.sysman.emcp.EMReposConfig invoke  
  58. INFO: Repositorysuccessfully created  
  59. Enterprise Managerconfiguration completed successfully  
  60. FINISHED EMCA at Oct 420146:17:57 AM  
  61.   
  62.    
  63. ###emca -config dbcontrol db  
  64.   
  65. [oracle@db01 /]$ emca-config dbcontrol db  
  66.   
  67.    
  68. STARTED EMCA at Oct 420146:24:04 AM  
  69. EM Configuration Assistant,Version 11.2.0.3.0 Production  
  70. Copyright (c) 20032011,Oracle.  All rights reserved.  
  71.   
  72.    
  73. Enter the followinginformation:  
  74. Database SID: woo  
  75. Database Control is alreadyconfigured for the database woo  
  76. You have chosen to configureDatabase Control for managing the database woo  
  77. This will remove theexisting configuration and the default settings and perform a freshconfiguration  
  78. Do you wish to continue?[yes(Y)/no(N)]: y  
  79. Listener ORACLE_HOME [/DBSoft/Product/11.2.4/db_1 ]:  
  80. Password for SYS user:    
  81. Password for DBSNMPuser:    
  82. Password for SYSMANuser:    
  83. Email address fornotifications (optional):  
  84. Outgoing Mail (SMTP) serverfor notifications (optional):  
  85. -----------------------------------------------------------------  
  86.   
  87.    
  88. You have specified thefollowing settings  
  89.   
  90. Database ORACLE_HOME................ /DBSoft/Product/11.2.4/db_1  
  91. Local hostname................ db01  
  92. Listener ORACLE_HOME................ /DBSoft/Product/11.2.4/db_1  
  93. Listener port number................ 1521  
  94. Database SID................ woo  
  95. Email address fornotifications ...............  
  96. Outgoing Mail (SMTP) serverfor notifications ...............  
  97. -----------------------------------------------------------------  
  98.   
  99. Do you wish to continue?[yes(Y)/no(N)]: y  
  100. Oct 42014 6:24:49 AMoracle.sysman.emcp.EMConfig perform  
  101. INFO: This operation isbeing logged at /DBSoft/cfgtoollogs/emca/woo/emca_2014_10_04_06_24_04.log.  
  102. Oct 42014 6:24:50 AMoracle.sysman.emcp.util.DBControlUtil stopOMS  
  103. INFO: Stopping DatabaseControl (this may take a while) ...  
  104. Oct 42014 6:24:54 AMoracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository  
  105. INFO: Uploadingconfiguration data to EM repository (this may take a while) ...  
  106. Oct 42014 6:25:53 AMoracle.sysman.emcp.EMReposConfig invoke  
  107. INFO: Uploaded configurationdata successfully  
  108. Oct 42014 6:25:57 AMoracle.sysman.emcp.util.DBControlUtil secureDBConsole  
  109. INFO: Securing DatabaseControl (this may take a while) ...  
  110. Oct 42014 6:26:03 AMoracle.sysman.emcp.util.DBControlUtil secureDBConsole  
  111. INFO: Database Controlsecured successfully.  
  112. Oct 42014 6:26:03 AMoracle.sysman.emcp.util.DBControlUtil startOMS  
  113. INFO: Starting DatabaseControl (this may take a while) ...  
  114. Oct 42014 6:26:23 AMoracle.sysman.emcp.EMDBPostConfig performConfiguration  
  115. INFO: Database Controlstarted successfully  
  116. Oct 42014 6:26:23 AMoracle.sysman.emcp.EMDBPostConfig performConfiguration  
  117. INFO:>>>>>>>>>>> The Database Control URL ishttps://db01:5500/em <<<<<<<<<<<  
  118. Oct 42014 6:26:25 AMoracle.sysman.emcp.EMDBPostConfig invoke  
  119. WARNING:   
  120.   
  121. ************************  WARNING ************************  
  122.   
  123. Management Repository hasbeen placed in secure mode wherein Enterprise Manager data will be encrypted.  The encryption key has been placed in thefile: /DBSoft/Product/11.2.4/db_1/db01_woo/sysman/config/emkey.ora. Ensure thisfile is backed up as the encrypted data will become unusable if this file islost.  
  124.   
  125.    
  126. ***********************************************************  
  127.   
  128. Enterprise Managerconfiguration completed successfully  
  129. FINISHED EMCA at Oct 420146:26:25 AM  
  130.   
  131. [oracle@db01 /]$  


 

1七、至此,升级已经所有完成。