How to check srvconfig.

I have ever doubted the srvctl did not use the correct the spfile when we startup the instance with it .

But I do not know how to check it.

My US colleague told me the way to find it out. 

srvconfig -exp rtst_config.txt
srvconfig successfully exported cluster database configurations to file "rtst_config.txt"
$ more rtst_con*.txt
# PLEASE DO NOT EDIT THIS FILE - it is "srvconfig" generated

DATABASES = (RTST)

########## Configuration of cluster database "RTST" follows ##########

RTST.ORACLE_HOME = /opt/app/oracle/product/10.2.0/db_1
RTST.DOMAIN = sun.net
RTST.SPFILE = /oradata1/RTST/spfileRTST.ora
RTST.ENABLED = true
RTST.INSTANCE = (RTST1,RTST2)
RTST.RTST1.NODE = tst-rac01-ud-us-eqx
RTST.RTST1.ENABLED = true
RTST.RTST2.NODE = tst-rac02-ud-us-eqx
RTST.RTST2.ENABLED = true
RTST.SERVICE = (RTST1,RTST,RTST2)
RTST.RTST1.INSTANCES = (RTST1:PREFERRED:true),(RTST2:AVAILABLE:true)
RTST.RTST1.ENABLED = true
RTST.RTST1.TAFPOLICY = none
RTST.RTST.INSTANCES = (RTST2:PREFERRED:true),(RTST1:PREFERRED:true)
RTST.RTST.ENABLED = true
RTST.RTST.TAFPOLICY = basic
RTST.RTST2.INSTANCES = (RTST2:PREFERRED:true),(RTST1:AVAILABLE:true)
RTST.RTST2.ENABLED = true
RTST.RTST2.TAFPOLICY = none

########## Configuration of nodeapps follows ##########

NODEAPPS = (tst-rac01-ud-us-eqx,tst-rac02-ud-us-eqx)
tst-rac01-ud-us-eqx.VIP = 10.12.32.204:255.255.255.0:(e1000g0)
tst-rac01-ud-us-eqx.ORACLE_HOME = /opt/app/oracle/product/10.2.0/crs_1
tst-rac02-ud-us-eqx.VIP = 10.12.32.203:255.255.255.0:(e1000g0)
tst-rac02-ud-us-eqx.ORACLE_HOME = /opt/app/oracle/product/10.2.0/crs_1

########## Configuration of vip_range follows ##########

VIP_RANGE = null
$

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值