oracle 10g rac 私網沒設定資料庫日誌告警解決方法
今天幫個網友看資料庫效能問題,在檢查資料庫日誌中,發現在啟動時報以下錯誤資訊 提示私網沒設定:
WARNING: No cluster interconnect has been specified. Depending on
the communication driver configured Oracle cluster traffic
may be directed to the public interface of this machine.
Oracle recommends that RAC clustered databases be configured
with a private interconnect for enhanced security and
performance.
然後朋友透過oifcfg getif命令檢查,沒有私網返回值,以下為metalink 設定私網解決步驟,供參考:
To specify the interconnect information in the OCR:
1) Identify the correct hostname for the private interface. This was given during the install; it is usually something like "hostname-priv". If you are not sure, look in $CRS_HOME/install/params.crs .
2) Go to /etc/hosts and identify the IP address associated with the hostnames for the private
interfaces.
For example:
...
192.168.0.1 hostname1-priv
192.168.0.2 hostname2-priv
...
3) Run "ifconfig -a" and find the name of the interface (NIC) that has that ip address on it, and
the netmask.
For example:
...
cip0: flags=10080c1
inet 192.168.0.2 netmask ffffff00
...
In the example, interface name is cip0 and netmask is ffffff00.
* It should be the same interface name on both nodes.
* Your netmask will most likely be ffffff00, a.k.a. 255.255.255.0, in which case your subnet will be the first 3 sets of digits. eg. 192.168.0.0 in the example case.
If your netmask is NOT ffffff00, then your subnet may be something else than the first 3 sets of digits. You can calculate this using an IP calculator, or, more easily, you can find out what your subnet is by using oifcfg. "oifcfg iflist" calculates the subnet for you.
In the following example, interface fjqe0 has a netmask of 255.255.255.224, aka ffffffe0 :
...
fjqe0: flags=1000843
inet 10.141.154.41 netmask ffffffe0 broadcast 10.141.155.255
...
The netmask, 255.255.255.224, is more restrictive than 255.255.255.0. We can use oifcfg to find out what the subnet is:
fjqe0 10.141.154.32 PRIVATE 255.255.255.224
...
oifcfg iflist shows "10.141.154.32". This is the subnet for fjqe0.
4) Once you have determined the interface and the subnet, run oifcfg setif, as the Unix user who owns the CRS software. The syntax is:
$ORA_CRS_HOME/bin/oifcfg setif -global
For example, to use interface cip0 from the first example above, which has a subnet of 192.168.0.0 :
To use interface fjqe0 from the second example above, which has a subnet of 10.141.154.32:
Note that you do not use the ip address of the interface (this varies from node to node), but the name and the subnet of the interface (this should be the same for all nodes).
5) The new setting will take effect on each instance the next time you restart that instance.
All instances should use the same interface for cluster communications, so it is best to restart all the instances once you have made this change.
If you are using ASM, you should restart the ASM instances at the same time, since ASM instances also use the cluster interconnect for RAC communications.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-673795/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 例項和RAC叢集下資料庫日誌目錄合集Oracle資料庫
- oracle資料庫mmnl日誌很大Oracle資料庫
- Oracle告警日誌ora-04030Oracle
- Oracle 10g RAC 資料儲存更換Oracle 10g
- rac日誌收集方法
- 如何開關資料庫告警日誌及修改日誌級別資料庫
- Zabbix如何監控Oracle的告警日誌Oracle
- 瀚高資料庫日誌挖掘方法資料庫
- 分析Oracle資料庫日誌檔案(三)EPOracle資料庫
- 分析Oracle資料庫日誌檔案(二)DOOracle資料庫
- 分析Oracle資料庫日誌檔案(一)HBOracle資料庫
- oracle資料庫歸檔日誌量陡增分析Oracle資料庫
- oracle資料庫CPU特別高的解決方法Oracle資料庫
- Oracle實驗6--掌握Oracle資料庫的日誌操作Oracle資料庫
- Oracle 10g RAC故障處理Oracle 10g
- oracle rac資料庫的安裝Oracle資料庫
- vgant 安裝oracle資料庫racOracle資料庫
- Oracle 自動化運維-Python監控Oracle告警日誌Oracle運維Python
- 從 Oracle 日誌解析學習資料庫核心原理Oracle資料庫
- 【BUILD_ORACLE】Oracle 19c RAC搭建(六)建立RAC資料庫UIOracle資料庫
- IIS 日誌匯入到資料庫的方法資料庫
- Oracle資料庫(RAC)巡檢報告Oracle資料庫
- 【LOG】Oracle資料庫清理日誌、跟蹤檔案利器Oracle資料庫
- 【ELK】elastalert 日誌告警AST
- oracle 10g建立資料庫鏈的簡化Oracle 10g資料庫
- 【Oracle】歸檔日誌管理-設定歸檔日誌路徑以及歸檔日誌冗餘Oracle
- Kettle8.2連線Oracle資料庫失敗解決方法Oracle資料庫
- Oracle 12C RAC CDB資料庫部署Oracle資料庫
- Oracle的OEM 郵件告警通知設定Oracle
- 【ASK_ORACLE】RAC節點自動重啟但日誌裡未報錯的原因和解決方法Oracle
- Oracle 資料庫 10g中的分割槽功能(轉)Oracle資料庫
- oracle 程式滿了,登陸不上資料庫的解決方法Oracle資料庫
- Oracle listener log 日誌分析方法Oracle
- SQL server資料庫高可用日誌傳送的方法SQLServer資料庫
- 達夢8資料庫REDO日誌日常管理方法資料庫
- 成為MySQL DBA後,再看ORACLE資料庫(七、日誌體系)MySqlOracle資料庫
- ORACLE 12C RAC資料庫的啟停Oracle資料庫
- jdbc連線oracle rac資料庫的寫法JDBCOracle資料庫
- 解決MySQL的主從資料庫沒有同步的兩種方法MySql資料庫