如何获取 Oracle 11g RAC asm spfile 的位置
如何获取 Oracle 11g RAC asm spfile 的位置
首页 → 数据库技术
背景:
阅读新闻
如何获取 Oracle 11g RAC asm spfile 的位置
[日期:2014-07-22] 来源:Linux社区 作者:lixora [字体:]
如何获取 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'
11G RAC重建ASM实例的SPFILE
又一例SPFILE设置错误导致数据库无法启动
上一篇: PHP数据缓存技术之三_PHP教程
下一篇: php实现图片添加水印功能_php实例