Oracle10.2.0.1RAC 升級 Oracle10.2.0.5案例分享 -DATABASE篇

snowdba發表於2014-09-04
接上一篇 Oracle10.2.0.1RAC 升級 Oracle10.2.0.5案例分享 -CRS篇
http://blog.itpub.net/29047826/viewspace-1263381/

DATABASE升級(10.2.0.1 - 10.2.0.5)

開系統還沒有dbca建立資料庫,在這裡可以直接執行安裝包來升級。

1. 執行安裝檔案,開始安裝(和CRS升級使用的是同一個升級檔案)



$ ./runInstaller 


2. 這裡注意選擇ORACLE_HOME路徑db_1,CRS升級時是使用CRS_HOME路徑


3. 點選Next


4. 點選Next


5. 環境檢查,點選Next


6. 點選install,開始正式安裝

注意/u01前面的紅色圖示,這是因為/u01磁碟空間不足導致的。透過擴容後該紅色圖示就消失了。
採用下面的命令將/u01擴大到20GB
# chfs -a size=20G /u01


7. 根據要求,以root使用者執行指令碼後點選OK


節點scgl1
# /u01/app/oracle/product/10.2.0/db_1/root.sh
Running Oracle 10g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/oracle/product/10.2.0/db_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y
   Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y
   Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y
   Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.


節點scgl2
# /u01/app/oracle/product/10.2.0/db_1/root.sh
Running Oracle 10g root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /u01/app/oracle/product/10.2.0/db_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y
   Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y
   Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y
   Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.

8. 升級結束


到此oracle10.2.0.1 RAC 升級 oracle10.2.0.5的案例分享就結束了,後面的建立資料庫DBCA,劃分ASM部分就不在這裡展示了,貼圖實在是有些辛苦。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29047826/viewspace-1263397/,如需轉載,請註明出處,否則將追究法律責任。

相關文章