Oracle 10g RAC vip 漂移問題
具體版本為10203,發現一臺當機後,vip漂移到別的節點上,但是telnet該vip地址1521埠不通,netstat -nl| grep 1521發現oracle只監聽了本結點實際ip和vip的1521埠,沒有對漂移過來的vip的1521監聽。
[oracle@NHDB4 orcl]$ netstat -nl | grep 1521
tcp 0 0 222.73.121.6:1521 0.0.0.0:* LISTEN
tcp 0 0 192.168.0.6:1521 0.0.0.0:* LISTEN
檢查listener.ora檔案發現oracle生成listener.ora可能發生問題
原來檔案:
# listener.ora.nhdb1 Network Configuration File: /u01/app/product/10.2.0/db_1/network/admin/listener.ora.nhdb1
# Generated by Oracle configuration tools.
SID_LIST_LISTENER_NHDB1 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/product/10.2.0/db_1)
(PROGRAM = extproc)
)
)
LISTENER_NHDB1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = NHDB1-VIP)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = 222.73.121.3)(PORT = 1521)(IP = FIRST))
)
)
修改把主機ip用主機名代替:
LISTENER_NHDB1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = NHDB1)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = NHDB1-VIP)(PORT = 1521)(IP = FIRST))
)
)
然後發現正常:
[oracle@NHDB1 admin]$ netstat -nl | grep 1521
tcp 0 0 0.0.0.0:1521 0.0.0.0:* LISTEN
也可以刪除listener.ora,讓oracle監聽所有1521埠
發現如果使用lsnrctl stop 再start後,crs_stat -t看到的監聽狀態居然是offline,再用srvctl start下狀態又好了。。。而如果修改完listener.ora直接用srvctl start啟動監聽的話,仍然只會監聽固定ip的1521。。。。最後把主機名改成了localhost,搞定
猜想問題在指定的ip上,這個估計也是RAC自動生成listener.ora的小錯誤,可能與OS的網路配置有關,下次繼續
[@more@]5來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/79686/viewspace-997356/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle rac vip 漂移過程Oracle
- 10.2.0.3 VIP 漂移問題
- oracle 10g rac vip 服務啟動不了的問題Oracle 10g
- rac 手動漂移scan ip vip
- 手動進行oracle rac vip 漂移的步驟 。Oracle
- RAC_網路_VIP漂移_SCAN IP
- Oracle RAC ASM磁碟組擴容時遇到的VIP漂移OracleASM
- oracle 10g cluster rac vip始終在節點2的問題處理Oracle 10g
- oracle 10g rac問題(一)Oracle 10g
- 修改oracle 10g rac(rhel4)的vipOracle 10g
- 裝oracle 10g的RAC問題真多。。。。。Oracle 10g
- keepalived(二)vip漂移
- MHA高可用+VIP漂移
- 10g RAC中修改VIP地址
- 一次RAC VIP漂移的結果診斷及修復
- aix6安裝oracle 10g rac問題AIOracle 10g
- 安裝oracle 10g rac 的一個問題。Oracle 10g
- oracle 10g rac modify public ip,private ip,vip實驗步驟Oracle 10g
- Oracle 10g RAC advanced replication同步問題解決Oracle 10g
- 安裝oracle 10g rac 的一個問題(續)Oracle 10g
- 由VIP漂移引發的演算法異常問題調查和解決演算法
- 【RAC】Oracle rac 如何修改公網及vipOracle
- rhel4 oracle 10g rac安裝問題集錦Oracle 10g
- Oracle RAC修改public, VIP, SCAN IPOracle
- ORACLE10g修改RAC VIPOracle
- Oracle RAC修改IP和VIP地址Oracle
- Oracle 10G RAC中去除asm例項與vip的依賴關係Oracle 10gASM
- oracle 10g rac for linux redhat 5.3 安裝常見問題Oracle 10gLinuxRedhat
- linux start_udev 導致VIP漂移Linuxdev
- 談談VIP漂移那點破事薦
- 關於10g RAC監聽設定,tnsnames.ora設定,VIP及客戶端配置問題。客戶端
- Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware NodeOracle
- Oracle RAC修改public,private,vip scan IPOracle
- How to change VIP and VIP/Hostname in 10g
- 10g RAC系統更改夏令時問題
- oracle 11g rac 修改VIP、scan VIP、priv IP操作文件Oracle
- Oracle 10g RAC NFSOracle 10gNFS
- Oracle 10g RAC TAFOracle 10g