11.2 RAC: In "crsctl stat res -t" State Details May Be Missing or Incorrect (Doc ID 1086563.1)
适用于:
Oracle Server - Enterprise Edition - Version: 11.2.0.1 and later [Release: 11.2 and later ]
Information in this document applies to any platform.
症状:
在crsctl stat res -t的输出中,对于有些或者全部的asm或者db 资源,state_details列的显示 丢失(即:空的) 或者不正确
Case 1
当资源被事实上open 或者started后,state_details列的显示 空白,而不是显示"Open" or "Started" ,虽然STATE列能正确的显示资源为online
$ crsctl stat res -t ------------------------------------------------------------- NAME TARGET STATE SERVER STATE_DETAILS ------------------------------------------------------------- Local Resources ------------------------------------------------------------- ora.asm ONLINE ONLINE oranode1 <<=== missing ONLINE ONLINE oranode2 Started ------------------------------------------------------------- Cluster Resources ------------------------------------------------------------- ora.tst.db 1 ONLINE ONLINE oranode1 <<=== missing 2 ONLINE ONLINE oranode2 Open
In this case, the STATE details only show for the most recently started instance of each group ie. in the above, +ASM2 and TST2 were the most recently started.
Case 2
当在一个node上重启CRS stack后,在其他节点上的某些资源的state_details列可能显示错误并且与state列不匹配,或者是missing状态:
------------------------------------------------------------- NAME TARGET STATE SERVER STATE_DETAILS ------------------------------------------------------------- Local Resources ------------------------------------------------------------- ora.asm ONLINE ONLINE oranode1 Started ONLINE ONLINE oranode2 <<=== missing ------------------------------------------------------------- Cluster Resources ------------------------------------------------------------- ora.tst.db 1 ONLINE ONLINE oranode1 Open 2 ONLINE ONLINE oranode2 Instance Shutdown <<=== wrong
原因:
Case 1
This is caused by partially published bug:
BUG 9377625 - STATE_DETAILS ONLY SHOWED LAST STARTED ASM "STARTED" FOR 'CRSCTL STATUS RES -T"
This bug will be fixed in future release 12.1.
Case 2
This is caused by unpublished bug:
BUG 8516657 (Unpublished): CONFUSING 'STATE_DETAILS' FOR ASM/DB INSTANCE FROM 'CRSCTL STAT RES -T'
解决方案:
These issues will be patched in future versions and/or CRS PSU's. Check My Oracle Support to see if one-off patches are available.
In the meantiume:
•These errors are informational only, in other words, functionality of the database, asm or other resources are not affected. Further, the STATE is not affected, only STATE details may be inaccurate. Inaccurate STATE details can simply be ignored.
@INTERNAL NOTE: unpublishing this piece because 'crs_stat' is officially deprecated in 11.2: --->crs_stat命令已经在11.2中被废弃。
@crs_stat -l and/or crs_stat -t can be used to give a listing without STATE details.