【翻譯自mos文章】rac資料庫中,HC_<SID>.dat檔案被其他Oracle_Home下的執行個體所使用。,

來源:互聯網
上載者:User

【翻譯自mos文章】rac資料庫中,HC_<SID>.dat檔案被其他Oracle_Home下的執行個體所使用。,


rac資料庫中,HC_<SID>.dat檔案被其他Oracle_Home下的執行個體所使用。


參考原文:
RAC database HC_<SID>.dat is used by instance of different Oracle_Home (Doc ID 1618161.1)


適用於:
Oracle Database - Enterprise Edition - Version 11.2.0.0 and later
Information in this document applies to any platform.


癥狀:
在cluster環境中,不同的Oracle Home下運行著不同而database


一個資料庫的health check file (hc_<sid>.dat) 檔案被其他Oracle Home下的執行個體所使用。


hc_<SID>.dat files is shared with other databases' instances.  Example :-----------#lsof /u0n  COMMAND   PID          USER   FD   TYPE DEVICE  SIZE/OFF  NODE NAME  oracle           8167      oracle   60r  VREG 388,50     1544 48967 hc_sqa2d101.dat oracle           8167      oracle   72r  VREG 388,50     1544 78760 hc_sqa2e101.dat ...  oracle          8563      oracle   60r  VREG 388,50     1544 48967 hc_sqa2d101.dat  oracle          8563      oracle   72r  VREG 388,50     1544 78760 hc_sqa2e101.dat ... oracle          20049     oracle   60r  VREG 388,50     1544 48967 hc_sqa2d101.dat ===> ora_pz99_s20dv101 oracle          20049     oracle   72r  VREG 388,50     1544 78760 hc_sqa2e101.dat ===> ora_pz99_s20dv101  . hc_sqa2e101.dat file is used by ora_pz99_s20dv101 of s20dv101 instance.#ps -ef | egrep ' 8167 | 8563 |20049'   oracle  8167     1   0 23:45:33 ?           0:11 ora_cjq0_sqa1d101   oracle  8563     1   0 23:46:54 ?           0:02 ora_smco_sqa1e101   oracle  1074 28732   0 12:04:05 pts/1       0:00 egrep  8167 | 8563 |20049   oracle 20049     1   0 00:24:22 ?           0:25 ora_pz99_s20dv101


這個現象在Oracle Restart/SIHA node中也會發生。


變更:
Out-of-place 遷移。


在經過Out-of-place 的升級之後,舊的檔案系統不能被unmount掉,原因是它還在使用中。
在 老的 ORACLE_HOME/dbs 目錄下的 檔案 hc_<instance_name>.dat 被其他執行個體的很多進程鎖定。


原因:
This is reported in


BUG 14351771 - HC_<SID>.DAT SHARED WITH OTHER DATABASES


which is duplicate of unpublished bug 12792223.
 
解決方案:
應用補丁:12792223.


該bug 在11.2.0.4以及更高版本中被解決。










相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.