aix6.1下10gR2 asm、listener以及instance和db頻繁當機

warehouse發表於2012-10-15

安裝的時侯一切順利,安裝之後asm、listener以及instance和db頻繁當機,crs是穩定的。

[@more@]

看到vip在2個node上來回遊動,公有網路卡配置了閘道器。

檢視vip的日誌,裡面有錯誤日下:

2012-10-15 12:01:28.709: [ RACG][1] [9895986][1][ora.ora_1.vip]: Interface en0 checked failed (host=ora_1)
Invalid parameters, or failed to bring up VIP (host=ora_1)

搜了一下發現是一個bug:Bug 8725020

oracle建議:

Solution
The following workaround fixes the racgvip script so that it does not fail for LHEA adapters:

1. Backup the racgvip script
2. Edit this line in the script using vi:

$ENTSTAT -d $_IF | $GREP -iEq '.*lan.*state.*:.*operational.*|.*link.*status.*:.*up.*|.*port.*operational.*state.*:.*up.*'

and replace it with this:

$ENTSTAT -d $_IF | $GREP -iEq '.*lan.*state.*:.*operational.*|.*link.*status.*:.*up.*|.*port.*operational.*state.*:.*up.*|.*driver.*flags.*:.*up.*'

(Notice that an extra regexp clause has been tacked on the end of the grep argument.)

3. Make sure that no stray characters have been introduced.
4. Save the racgvip file.

References
BUG:8725020 - VIP WONT RUN (LHEA) ADAPTER 5.3 TL9
NOTE:567286.1 - RAC on AIX: With Virtual Interfaces Racgvip Fails Even Though Public Interface is Up

--=============================

按照oracle的解決方法:

修改了/u01/oracle/product/10.2.0/crs/bin/下面的racgvip檔案,修改之後貌似不宕了。

修改前
# $ENTSTAT -d $_IF | $GREP -iEq ".*link.*status.*:.*up.*"
修改後
$ENTSTAT -d $_IF | $GREP -iEq '.*lan.*state.*:.*operational.*|.*link.*status.*:.*up.*|.*port.*operational.*state.*:.*up.*|.*driver.*
flags.*:.*up.*'

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

相關文章