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
$

你可能感兴趣的:(config)