设为首页 加入收藏

TOP

如何获取oracleRAC11gasmspfile的位置
2015-07-24 10:06:30 来源: 作者: 【 】 浏览:0
Tags:如何 获取 oracleRAC11gasmspfile 位置

方法一:
[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'




?

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇oracle常用语言 下一篇ORACLE函数之日期时间运算函数

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·MySQL 基础入门视频 (2025-12-26 23:20:22)
·小白入门:MySQL超详 (2025-12-26 23:20:19)
·关于 MySQL 数据库学 (2025-12-26 23:20:16)
·SOLVED: Ubuntu 24.0 (2025-12-26 22:51:53)
·Linux 常用命令最全 (2025-12-26 22:51:50)