如何擷取 Oracle 11g RAC asm spfile 的位置

來源:互聯網
上載者:User

如何擷取 Oracle 11g RAC asm spfile 的位置

如何擷取 Oracle 11g RAC asm spfile 的位置

方法一:
 [root@vmrac1 ~]# su - grid
 [grid@vmrac1 ~]$ sqlplus / as sysasm
 
SQL*Plus: Release 11.2.0.3.0 Production on Thu Jul 3 09:36:27 2014
 
Copyright (c) 1982, 2011, Oracle. All rights reserved.
 

Connected to:
 Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
 With the Real Application Clusters and Automatic Storage Management options
 
SQL> select sys_context('sys_cluster_properties','asm_spfile',4000) as val from dual;
 
VAL
 --------------------------------------------------------------------------------
 +DUPCRS/vmrac-cluster/asmparameterfile/registry.253.850656291
 

方法二:
 SQL> show parameter pfile
 
NAME TYPE VALUE
 ------------------------------------ ----------- ------------------------------
 spfile string +DUPCRS/vmrac-cluster/asmparam
 eterfile/registry.253.850656291
 

方法三:
 ASMCMD> spget
 +DUPCRS/vmrac-cluster/asmparameterfile/registry.253.850656291
 

方法四:
 [root@vmrac2 ~]# gpnptool get 2>/dev/null | xmllint --format - | egrep 'CSS-Profile|ASM-Profile|Network id'
 <gpnp:HostNetwork id="gen" HostName="*">
 <gpnp:Network id="net1" IP="10.80.18.0" Adapter="eth0" Use="public"/>
 <gpnp:Network id="net2" IP="10.0.0.0" Adapter="eth1" Use="cluster_interconnect"/>
 <orcl:CSS-Profile id="css" DiscoveryString="+asm" LeaseDuration="400"/>
 <orcl:ASM-Profile id="asm" DiscoveryString="" SPFile="+DUPCRS/vmrac-cluster/asmparameterfile/registry.253.850656291"/>

11G RAC重建ASM執行個體的SPFILE 

又一例SPFILE設定錯誤導致資料庫無法啟動

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.