11.2環境ASM例項spfile放在ASM磁碟組的訪問方式
在11.2的ASM例項上,執行show parameter spfile:
[grid@rac1 ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Sun MAY 11 15:56:12 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Automatic Storage Management option
SQL> show parameter spfile
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string+DATA/asm/asmparameterfile/registry.253.704991445
可以看到spfile在ASM磁碟組裡了。但是,和之前的版本不同,在$ORACLE_HOME/dbs目錄下卻沒有pfile來定位spfile。
[grid@rac1 ~]$ ls $ORACLE_HOME/dbs
ab_+ASM.dat
hc_+ASM.dat
init.ora
orapw+ASM
peshm_+ASM_1
那麼ASM例項如何得知它的spfile具體位置的呢?
答案是透過一個“本地登錄檔”。
Oracle的Grid Infastructure使用這樣一個“本地登錄檔”來記錄本地的所有可控資源。
“本地登錄檔”位置在/etc/oracle/olr.loc檔案中,檢視olrconfig_loc變數:
[grid@rac1 ~]$ cat /etc/oracle/olr.loc
olrconfig_loc=/u01/app/grid/product/11.2.0/grid/cdata/localhost/rac1.olr
crs_home=/u01/app/grid/product/11.2.0/grid
檢視“本地登錄檔”的內容:
[grid@rac1 ~]$ ocrdump -local -xml
[grid@rac1 ~]$ grep -i spfile OCRDUMPFILE
-----------------------------------------------------------------------------------------------------------------------
pxboracle@live.com
2014.5.11 14:01
share you knowledge with the world.
[grid@rac1 ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Sun MAY 11 15:56:12 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Automatic Storage Management option
SQL> show parameter spfile
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string+DATA/asm/asmparameterfile/registry.253.704991445
可以看到spfile在ASM磁碟組裡了。但是,和之前的版本不同,在$ORACLE_HOME/dbs目錄下卻沒有pfile來定位spfile。
[grid@rac1 ~]$ ls $ORACLE_HOME/dbs
ab_+ASM.dat
hc_+ASM.dat
init.ora
orapw+ASM
peshm_+ASM_1
那麼ASM例項如何得知它的spfile具體位置的呢?
答案是透過一個“本地登錄檔”。
Oracle的Grid Infastructure使用這樣一個“本地登錄檔”來記錄本地的所有可控資源。
“本地登錄檔”位置在/etc/oracle/olr.loc檔案中,檢視olrconfig_loc變數:
[grid@rac1 ~]$ cat /etc/oracle/olr.loc
olrconfig_loc=/u01/app/grid/product/11.2.0/grid/cdata/localhost/rac1.olr
crs_home=/u01/app/grid/product/11.2.0/grid
檢視“本地登錄檔”的內容:
[grid@rac1 ~]$ ocrdump -local -xml
[grid@rac1 ~]$ grep -i spfile OCRDUMPFILE
-----------------------------------------------------------------------------------------------------------------------
pxboracle@live.com
2014.5.11 14:01
share you knowledge with the world.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12798004/viewspace-1158478/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【ASM】Oracle asm刪除磁碟組注意事項ASMOracle
- Oracle RAC環境下ASM磁碟組擴容OracleASM
- 【ASM】ASM啟動無法找到spfile問題原因ASM
- ASM磁碟組限制ASM
- 遷移ASM磁碟組ASM
- ASM下遷移spfileASM
- 【ASM】Oracle asm磁碟被格式化,如何掛載該磁碟組ASMOracle
- Oracle 11.2.0.4 rac for aix acfs異常環境的克隆環境ASM磁碟組掛載緩慢OracleAIASM
- ASM磁碟組更換磁碟的操作方法ASM
- ASM 磁碟組的建立及擴容ASM
- 一次ASM新增新的磁碟組ASM
- RAC+DG(asm單例項)ASM單例
- ORACLE ASM磁碟組空間溢位OracleASM
- 使用udev擴充套件ASM磁碟組dev套件ASM
- ASM磁碟組擴容操作文件ASM
- 【Oracle】ASM例項安裝入門OracleASM
- Oracle ASM磁碟組擴容(AIX7.1)OracleASMAI
- ASM磁碟組ORA-15042 ORA-15096ASM
- 【ASM】ASM磁碟頭被重寫,如何修復ASM
- ASM重新命名包含OCR/vote file的磁碟組ASM
- RAC和ASM環境下打patchASM
- 從定位資料塊所在ASM磁碟到ASM strippingASM
- ASM單例項安裝後,需要手動設定ASM的引數檔案ASM單例
- Oracle RAC ASM磁碟組擴容時遇到的VIP漂移OracleASM
- 基於裸裝置的ASM磁碟組擴容方案ASM
- 設計模式 - ASM 中的訪問者模式設計模式ASM
- 呀!ASM例項起不來可咋整ASM
- RAC之grid叢集安裝及ASM磁碟組配置ASM
- 將spfile從ASM裡遷移到檔案系統ASM
- 遷移OCR和VotingDisk並刪除原ASM磁碟組ASM
- ORACLE ASM的SSD磁碟空間回收分析OracleASM
- Oracle 11gR2 ASM例項記憶體管理OracleASM記憶體
- [20191128]11GR2 asm例項audit檔案.txtASM
- (grid重灌後圖形介面報錯)ASM磁碟組字元介面配置ASM字元
- RAC環境修改spfile的位置
- ASM磁碟簡單維護,新增,刪除ASM
- Oracle RAC日常運維-ASM磁碟擴容Oracle運維ASM
- Oracle asm磁碟損壞異常恢復OracleASM
- 【BUILD_ORACLE】使用ASMLib包搭建ASM磁碟UIOracleASM