兩個發生在Oracle 11g RAC中建立10g資料庫的錯誤分析

來源:互聯網
上載者:User

在Oracle 11g R2 的clusterware 和asm環境下,我們出於升級或者遷移資料的目的,會運行Oracle 10g的rdbms環境。在使用10g 的rdbms 建立資料庫時,需要事先做一些調整,否則會出現這樣那樣的問題。

錯誤一:在選定ASM 儲存時,dbca 不能啟動已經配置好的asm 執行個體;

具體錯誤資訊如下:

"DBCA could not startup the ASM instance configured on this node. To proceed with the database creation using ASM, ASM instance needs to be up and running. Do you want to recreate ASM instance on this node?"

這是因為在10g 的rdbms 中無法捕獲到grid 中的asm 執行個體狀態。

解決方案:

手工建立一個連結,使得10G_DB_HOME/network/admin/listener.ora 指向11G_GRID_HOME/ network/admin/endpoints_listener.ora 。

ln –s <11G_GRID_HOME>/network/admin/endpoints_listener.ora listener.ora

export TNS_ADMIN=<10G_DB_HOME>/network/admin

錯誤二:在建立檔案時出ORA-29702 錯誤;

這是因為在10g 的css 資源是靜態配置的,到了11g 時,變成了動態配置。如果要在11g 的asm 和clusterware 環境下運行10g 的rdbms ,則需要手工調整為靜態配置,oracle 稱為pinning a node 。

解決方案:

使用root 使用者執行<Grid_home>/bin/crsctl pin css -n nodes ,將css 資源修改成靜態配置。樣本crsctl ping css -n serv1 serv2 。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.