Oracle 11.2 RAC的ASM執行個體上建立10g庫報錯ORA-29701

來源:互聯網
上載者:User

在Oracle11.2 RAC 的ASM 執行個體上建立10g 資料庫時,報錯說:不能串連到Cluster Manager ,不能定位到ASM 執行個體。具體錯誤資訊如下:
ORA-15077: could not locate ASM instance serving a required diskgroup
ORA-29701: unable to connect to Cluster Manager

但在該叢集上,建立11g 的資料庫時是正常的。

我的目標是將10g 資料庫遷移升級到11.2RAC 的環境中。首先是在11.2RAC 上恢複好10g 的資料庫,再到11g 的RDBMS 環境中去升級。
在恢複控制檔案時,就報錯。顯示不能串連到Cluster Manager 。
/u02/rman_211@serv2=>servdb2$rman target /


Recovery Manager: Release 10.2.0.4.0 - Production on Fri May 4 10:52:22 2012


Copyright (c) 1982, 2007, Oracle.  All rights reserved.


connected to target database: servdb (not mounted)


RMAN> restore controlfile from '/u02/rman_211/ctl_1un9u0a4_1_1.20120501';


Starting restore at 04-MAY-12
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=320 devtype=DISK


channel ORA_DISK_1: restoring control file
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 05/04/2012 10:52:49
ORA-19870: error reading backup piece /u02/rman_211/ctl_1un9u0a4_1_1.20120501
ORA-19504: failed to create file "+WEBDG/servdb/control01.ctl"
ORA-17502: ksfdcre:3 Failed to create file +WEBDG/servdb/control01.ctl
ORA-15001: diskgroup "WEBDG" does not exist or is not mounted
ORA-15077: could not locate ASM instance serving a required diskgroup
ORA-29701: unable to connect to Cluster Manager


Oracle 官方文檔對此錯誤的解釋時11gR2 不相容老版本的資料庫。11gR2 的叢集配置是動態,而老版本的庫如10.2 版本的庫要求叢集配置是固定的。
Oracle 官方文檔同時也給出瞭解決方法,即是將css 資源pin 住。
使用root 使用者登入作業系統,執行下列命令。
[root@serv2 bin]# ./crsctl pin css -n serv1 serv2
CRS-4664: Node serv1 successfully pinned.
CRS-4664: Node serv2 successfully pinned.
[root@serv2 bin]#
[root@serv2 bin]# ./olsnodes -t
serv1   Pinned
serv2   Pinned


再回到RMAN 介面去恢複控制檔案,正常了。
RMAN> restore controlfile from '/u02/rman_211/ctl_1un9u0a4_1_1.20120501';


Starting restore at 04-MAY-12
using channel ORA_DISK_1


channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:16
output filename=+WEBDG/servdb/control01.ctl
output filename=+WEBDG/servdb/control02.ctl
Finished restore at 04-MAY-12

更多Oracle相關資訊見Oracle 專題頁面 http://www.bkjia.com/topicnews.aspx?tid=12

相關文章

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.