博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
如何获得 oracle RAC 11g asm spfile S档
阅读量:4575 次
发布时间:2019-06-08

本文共 1455 字,大约阅读时间需要 4 分钟。



方法一:

[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"/>

版权声明:本文博客原创文章。博客,未经同意,不得转载。

转载于:https://www.cnblogs.com/bhlsheji/p/4650345.html

你可能感兴趣的文章
蓝桥杯之装箱问题
查看>>
Spark常用算子详解
查看>>
JAVA_桥接模式
查看>>
Android(java)学习笔记76:Handler用法总结 和 秒表案例
查看>>
C#畅谈“网络电视”
查看>>
解决Maximum execution time of 120 seconds exceeded
查看>>
20172328《程序设计与数据结构》第四周学习总结
查看>>
react-native ListView 性能问题
查看>>
Leetcode 332, Coin Change
查看>>
Hadoop大数据平台构建
查看>>
JVM原理相关
查看>>
获取当前地址的参数值
查看>>
基于bs4库的HTML内容查找方法
查看>>
Ubuntu安装TTF字体
查看>>
使用YII缓存注意事项
查看>>
Office转HTML
查看>>
Ping 命令的使用方法总结
查看>>
python基础--01安装
查看>>
Spring boot配置mybatis多数据源
查看>>
获取系统的相关文件夹
查看>>