如何跟蹤11g vip及SCN IP的輸出

yingyifeng306發表於2018-12-14

# crsctl set log -h
Usage:
  crsctl set {log|trace} {mdns|gpnp|css|crf|crs|ctss|evm|gipc} "<name1>=<lvl1>,…"
 where 
   mdns          multicast Domain Name Server
   gpnp          Grid Plug-n-Play Service
   css           Cluster Synchronization Services
   crf           Cluster Health Monitor
   crs           Cluster Ready Services
   ctss          Cluster Time Synchronization Service
   evm           EventManager
   gipc          Grid Interprocess Communications
   <name1>, …    Module names ("all" for all names)
   <lvl1>, …     Module log/trace levels

  crsctl set log res <resname>=<lvl>
 where
 <resname>     Resource name
   <lvl>                  Agent log levels

開啟節點一的vip跟蹤
crsctl set log res ora.rac1.vip=0
crsctl set log res ora.rac1.vip=2
level 0 = turn off
level 2 = default
level 3 = verbose
level 4 = super verbose

相應的跟蹤日誌為
<GRID_HOME>/log/<host>/agent/crsd/orarootagent_root/orarootagent_root.log

2014-04-29 16:15:44.858: [ora.s1-11g.vip][2262440256][ENTER]{1:54178:2} [check] START_DEPENDENCIES of type ora.network.type: ora.net1.network
2014-04-29 16:15:44.858: [ora.s1-11g.vip][2262440256]{1:54178:2} [check] NetworkAuto = static
2014-04-29 16:15:44.858: [ora.s1-11g.vip][2262440256]{1:54178:2} [check] getValueFromNetworkResource USR_ORA_AUTO  static}
2014-04-29 16:15:44.858: [ora.s1-11g.vip][2262440256]{1:54178:2} [check] checkIp{
2014-04-29 16:15:44.858: [ora.s1-11g.vip][2262440256]{1:54178:2} [check] checkIp}


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23732248/viewspace-2285223/,如需轉載,請註明出處,否則將追究法律責任。

相關文章