메뉴 건너뛰기

Korea Oracle User Group

RAC

 


crsctl status output is showing incorrect information for ora.***.db. Instance 1 and 2 are running on Node1 and Node2 respectively but crsctl status shows as below

As we can see below, its showing Instance 1 is running on Node2 and Instance 2 is running on Node1.

ora.stgcdb.db
      1        ONLINE  ONLINE       node02                 Open,HOME=/u01/app
                                                             /oracle/product/12.2
                                                             .0/dbhome_1,STABLE
      2        ONLINE  ONLINE       node01                 Open,HOME=/u01/app
                                                             /oracle/product/12.2
                                                             .0/dbhome_1,STABLE
When we see srvctl status for database, it shows as below :

[oracle@node01 ~]$ srvctl status database -d stgcdb
Instance stgcdb1 is running on node node01
Instance stgcdb2 is running on node node02
[oracle@node01 ~]$

 

 

stgcdb1 - node1

stgcdb2 - node2 

 

우리가 알고 있는  늘 보는 내용  그런데 

 

stgcdb1 - node2

stgcdb2 - node1 

 

가능 할까 ?.... 버그는 아닐까..?

 

원본 : https://dba.stackexchange.com/questions/261904/on-a-12c-r2-rac-db-oracle-instance-information-on-crsctl-is-shown-incorrectly

 

위의 경우가 존재 할까를 알아 봐야 할 상황인듯 해서
정성스럽게 시간을 내서 오라클에 문의 하여 결과는 아래와 같습니다. 

이러한 이슈가 과거 버전인 11.2부터 있었고 bug를 통해 개발자에게 문의한 결과, 여러 다양한 이유로 인해 순서가 틀릴 수 있으며(이 부분에 대해서는 외부로 공개되어 있지 않았습니다.)
순서는 guaranteed 하지 않는 내용에 대하여 개발자로부터 not a bug 이며 expected behavior 인 부분임을 확인 하였습니다.

그외 참고 내용
The node ordering is not guaranteed to be same as instance number ordering. CRSCTL output in sorted order is not guaranteed.
So crsctl output may have different order for instances even though the instance names are matching with the node name.
This is expected behavior.

 

위로