oracle RAC環境vip異常的修複

來源:互聯網
上載者:User

標籤:oracle   監聽異常的修複   

在系統巡檢的時候,探索資料庫的備份未正常備份完畢,意識到可能是監聽有問題了,通過資料庫rac系統管理使用者進行查看發現rac1的vip停止工作了。

Oracle11gR2_RAC for_redhat6.3

處理如下:

1 用grid使用者執行 crs_stat -t  查看rac運行狀態,顯然ora.rac1.vip顯示offline了


Name           Type           Target    State     Host        

------------------------------------------------------------

ora.DATADG.dg  ora....up.type ONLINE    ONLINE    rac1        

ora....ER.lsnr ora....er.type ONLINE    ONLINE    rac2        

ora....N1.lsnr ora....er.type ONLINE    ONLINE    rac1        

ora....TEDG.dg ora....up.type ONLINE    ONLINE    rac1        

ora.asm        ora.asm.type   ONLINE    ONLINE    rac1        

ora.cvu        ora.cvu.type   ONLINE    ONLINE    rac1        

ora.gsd        ora.gsd.type   OFFLINE   OFFLINE               

ora....network ora....rk.type ONLINE    ONLINE    rac1        

ora.oc4j       ora.oc4j.type  ONLINE    ONLINE    rac1        

ora.ons        ora.ons.type   ONLINE    ONLINE    rac1        

ora....SM1.asm application    ONLINE    ONLINE    rac1        

ora....C1.lsnr application    ONLINE    OFFLINE               

ora.rac1.gsd   application    OFFLINE   OFFLINE               

ora.rac1.ons   application    ONLINE    ONLINE    rac1        

ora.rac1.vip   ora....t1.type ONLINE    OFFLINE               

ora....SM2.asm application    ONLINE    ONLINE    rac2        

ora....C2.lsnr application    ONLINE    ONLINE    rac2        

ora.rac2.gsd   application    OFFLINE   OFFLINE               

ora.rac2.ons   application    ONLINE    ONLINE    rac2        

ora.rac2.vip   ora....t1.type ONLINE    ONLINE    rac2        

ora.scan1.vip  ora....ip.type ONLINE    ONLINE    rac1        

ora.sgtms.db   ora....se.type ONLINE    ONLINE    rac1

2 執行如下命令(這裡要根據實際的情況輸入相應的命令,以下是啟動rac1的vip的命令) 

srvctl start vip -n rac1  

4 再次確認一下,看到對應vip online即說明正常工作了

偶爾還有發生資料庫無法用plsql串連,報監聽未啟動的錯誤,排查步驟同上,可以確定是scanvip停止工作

執行 srvctl start scan_listener 啟動監聽等待10秒左右,然後在看輸出狀態,問題排除


oracle RAC環境vip異常的修複

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.