upgrade oracle 10.2.0.4 for aix
oracle 10.2.0.4 for aix
upgrade for aix升級步驟總的來說跟HPUX/Solaris等大相徑庭,不過感覺在Upgrading a Release 10.2 Database時間上稍長於其他unix平臺。
1、確認版本:
# su -root
# oslevel -r
5300-07
2、確認系統補丁安裝情況:
# lslpp -l | grep -i xlc
xlC.aix50.rte 11.1.0.1 COMMITTED XL C/C++ Runtime for AIX 5.3
xlC.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.rte 11.1.0.1 COMMITTED XL C/C++ Runtime
xlC.rte 11.1.0.1 COMMITTED XL C/C++ Runtime
3、將oracle補丁檔案(p6810189_10204_AIX64-5L.zip)以oracle登陸ftp,並傳至伺服器,解壓縮:
$ su - oracle
$ unzip p6810189_10204_AIX64-5L.zip
4、停止所有oracle相關服務:
$ stop_db.sh
######################################################
# Stoping the Listener #
######################################################
LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production on 02-JUL-2010 10:59:03
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
The command completed successfully
######################################################
# Stoping the Instance #
######################################################
SQL*Plus: Release 10.2.0.4.0 - Production on Fri Jul 2 13:52:44 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
SQL> Connected.
SQL> Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
5、清除不再使用的記憶體資源
# /usr/sbin/slibclean
6、安裝oracle10g補丁:
$ su - oracle
$ cd Disk1
$ ./runInstaller
....安裝過程結束後執行root.sh....
7、開始Pre-Upgrade資料庫:
$sqlplus / as sysdba
SQL> STARTUP UPGRADE
SQL> @?/rdbms/admin/utlu102i.sql
Oracle Database 10.2 Upgrade Information Utility 02-04-2008 11:48:11
.
**********************************************************************
Database:
**********************************************************************
--> name: X102040
--> version: 10.2.0.1.0
--> compatible: 10.2.0.1
--> blocksize: 8192
.
**********************************************************************
Tablespaces: [make adjustments in the current environment]
**********************************************************************
--> SYSTEM tablespace is adequate for the upgrade.
.... minimum required size: 505 MB
.... AUTOEXTEND additional space required: 15 MB
--> UNDOTBS1 tablespace is adequate for the upgrade.
.... minimum required size: 401 MB
.... AUTOEXTEND additional space required: 376 MB
--> SYSAUX tablespace is adequate for the upgrade.
.... minimum required size: 265 MB
.... AUTOEXTEND additional space required: 15 MB
--> TEMP tablespace is adequate for the upgrade.
.... minimum required size: 58 MB
.... AUTOEXTEND additional space required: 38 MB
--> EXAMPLE tablespace is adequate for the upgrade.
.... minimum required size: 69 MB
.
**********************************************************************
Update Parameters: [Update Oracle Database 10.2 init.ora or spfile]
**********************************************************************
WARNING: --> "shared_pool_size" needs to be increased to at least 167772160
WARNING: --> "java_pool_size" needs to be increased to at least 67108864
.
**********************************************************************
Components: [The following database components will be upgraded orinstalled]
**********************************************************************
--> Oracle Catalog Views [upgrade] VALID
--> Oracle Packages and Types [upgrade] VALID
--> JServer JAVA Virtual Machine [upgrade] VALID
--> Oracle XDK for Java [upgrade] VALID
--> Oracle Java Packages [upgrade] VALID
--> Oracle Text [upgrade] VALID
--> Oracle XML Database [upgrade] VALID
--> Oracle Workspace Manager [upgrade] VALID
--> Oracle Data Mining [upgrade] VALID
--> Messaging Gateway [upgrade] VALID
--> OLAP Analytic Workspace [upgrade] VALID
--> OLAP Catalog [upgrade] VALID
--> Oracle OLAP API [upgrade] VALID
--> Oracle interMedia [upgrade] VALID
--> Spatial [upgrade] VALID
--> Oracle Ultra Search [upgrade] VALID
--> Oracle Label Security [upgrade] VALID
--> Expression Filter [upgrade] VALID
--> EM Repository [upgrade] VALID
--> Rule Manager [upgrade] VALID
PL/SQL procedure successfully completed.
....根據提示調整表空間或記憶體引數....
eg.alter system set shared_pool_size =150M scope=spfile;
8、開始Upgrade資料庫:
SQL> SHUTDOWN IMMEDIATE
SQL> STARTUP UPGRADE
SQL> @?/rdbms/admin/catupgrd.sql
....時間稍長...
TIMESTAMP
--------------------------------------------------------------------------------
COMP_TIMESTAMP UPGRD_END 2010-07-02 13:43:01
.
Oracle Database 10.2 Upgrade Status Utility 07-02-2010 13:43:01
.
Component Status Version HH:MM:SS
Oracle Database Server VALID 10.2.0.4.0 00:48:20
JServer JAVA Virtual Machine VALID 10.2.0.4.0 00:18:43
Oracle XDK VALID 10.2.0.4.0 00:03:07
Oracle Database Java Packages VALID 10.2.0.4.0 00:02:36
Oracle Text VALID 10.2.0.4.0 00:01:44
Oracle XML Database VALID 10.2.0.4.0 00:11:03
Oracle Workspace Manager VALID 10.2.0.4.3 00:03:12
Oracle Data Mining VALID 10.2.0.4.0 00:01:39
OLAP Analytic Workspace VALID 10.2.0.4.0 00:01:41
OLAP Catalog VALID 10.2.0.4.0 00:04:23
Oracle OLAP API VALID 10.2.0.4.0 00:03:51
Oracle interMedia VALID 10.2.0.4.0 00:23:47
Spatial VALID 10.2.0.4.0 00:08:33
Oracle Expression Filter VALID 10.2.0.4.0 00:00:57
Oracle Enterprise Manager VALID 10.2.0.4.0 00:06:59
Oracle Rule Manager VALID 10.2.0.4.0 00:00:47
.
Total Upgrade Time: 02:21:32
....升級完成....
...改回記憶體引數配置...
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7417660/viewspace-1034859/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle database 升級(文件)to 10.2.0.4 from 10.2.0.1OracleDatabase
- oracle xtts遷移 AIX to LinuxOracleTTSAILinux
- aix安裝oracle客戶端AIOracle客戶端
- ORACLE for aix 11.2.0.1 DATAPUMP expdp之BUG 9470768OracleAI
- ORACLE-1Z0-060題庫(Upgrade to Oracle Database 12c)OracleDatabase
- Oracle ASM磁碟組擴容(AIX7.1)OracleASMAI
- Oracle案例04——ORA-39700: database must be opened with UPGRADE optionOracleDatabase
- ORACLE---Aix7.1 安裝Oracle11.2.0.4版本資料庫OracleAI資料庫
- oracle aix平臺19c rac互信不通案例OracleAI
- [重慶思莊每日技術分享]-oracle ins,INS-32027 during Oracle 12 upgradeOracle
- helm upgrade
- 【AIX】AIX程式監控工具AI
- AIX 5.3 Install Oracle 10g RAC 錯誤集錦AIOracle 10g
- 從Oracle資料庫故障到AIX記憶體管理Oracle資料庫AI記憶體
- Oracle 18c - 配置只讀 OracleHome / DBCA / Patching / Upgrade (文件 ID 2469646.1)Oracle
- 【UPGRADE】升級到Oracle18c基本步驟參考(留存)Oracle
- 11.2.0.4 upgrade to 19.3.0.0
- 2.3.3.3 Application UpgradeAPP
- AIX Oracle 11.2.0.4打PSU crsconfig_lib.pm line 11821解決AIOracle
- AIX VGDAAI
- ORACLE rac 11.2.0.4 for rhel7.8 upgrade to 19.11.1 報錯ORA-29516處理Oracle
- upgrade 10.2.0.5 to 11.2.0.4 on linuxLinux
- 【AIX-PS】AIX系統ps命令詳解AI
- PostgreSQL DBA(91) - PG upgradeSQL
- 2.3.3.3.1 How an Application Upgrade WorksAPP
- Install python on AIX 7PythonAI
- AIX掛載NFSAINFS
- AIX_EXT_VGAI
- aix lvm big vgAILVM
- 【AIX】記憶體AI記憶體
- aix升級opensshAI
- IBM AIX儲存層結構分析+aix常用命令IBMAI
- ERROR: SharePlex-8.6.4-b66-oracle110-aix-53-ppc-m64.tpm: Unpacking failed, pleasErrorOracleAI
- Cisco ACI APIC upgrade downgrade pathAPI
- 【AIX】AIX7.1 C編譯環境部署指導說明AI編譯
- AIX的yum安裝AI
- AIX系統日誌AI
- AIX相關管理命令AI
- 10g RAC on AIXAI