RAC網路配置資訊操作
RAC網路配置資訊操作
首先感謝筆者。謝謝老師!
http://space.itpub.net/519536/viewspace-678398(secooler)
http://space.itpub.net/12020513/viewspace-630224(Blessed)
如果Oracle RAC資料庫的公用網路和私有互聯網路的IP子網或IP地址不正確時,可以使用Oracle提供的介面配置工具oifcfg進行調整。這樣的修改方法可以達到更新OCR資訊的目的。
1、使用oifcfg的getif選項可以獲取當前網路的配置資訊
[ora@rac2-22 ~]$ oifcfg getif
eth0 192.168.0.0 global public
eth0 192.168.1.0 global cluster_interconnect
eth1 192.168.1.0 global cluster_interconnect
很顯然我們的這裡的資訊是不正確的。我們cluster_interconnect心跳線IP為一個網路卡,這裡給出了2個 網路卡。顯然資訊不準。
2、使用oifcfg的delif選項可以刪除與公共網路對應的資訊
[ora@rac2-22 ~]$ oifcfg delif -global eth0
3、使用oifcfg的setif選項可以新增與公共網路對應的資訊
[ora@rac2-22 ~]$ oifcfg setif -global eth0/192.168.0.0:public
4、使用oifcfg的getif 選項檢視當前網路的配置資訊,現已經正確
[ora@rac2-22 ~]$ oifcfg getif
eth0 192.168.0.0 global public (VIP與管理IP段)
eth1 192.168.1.0 global cluster_interconnect (心跳IP段)
在看看另一個節點是否同步網路配置資訊
[ora@rac1-21 ~]$ oifcfg getif
eth0 192.168.0.0 global public
eth1 192.168.1.0 global cluster_interconnect
OK 一切OK 看oifcfg命令已經更新了OCR的網路配置資訊!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26442936/viewspace-731283/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 為ORACLE RAC GUARD配置網路——RAC GUARD概念和管理Oracle
- Oracle RAC修改網路配置知識點彙總Oracle
- 【RAC】Oracle RAC如何修改心跳網路Oracle
- 在靜態網路環境中快速修改網路配置資訊的解決方案
- 關於RAC的私有網路
- pfsense配置網路
- oracle網路配置Oracle
- redhat網路配置Redhat
- 安裝 CentOS-7(1804) 網路配置和操作介面CentOS
- CentOS 6.5 修改網路卡配置資訊CentOS
- 色情與網際網路–資訊圖
- 網路資訊保安論述
- linux網路系統層面的配置、管理及操作命令彙總Linux
- RAC_網路_VIP漂移_SCAN IP
- RAC環境網路故障測試
- Vagrant (三) - 網路配置
- CentOS 8.0網路配置CentOS
- Linux|網路配置Linux
- linux網路配置Linux
- 九、Oracle網路配置Oracle
- 網路配置yum源
- linux 配置網路Linux
- (轉)centos 網路配置CentOS
- 配置網路引數
- 銀行網路配置
- 【網路配置】小結
- [Linux]配置網路Linux
- Ubuntu Server 網路配置UbuntuServer
- Centos修改網路配置CentOS
- Windows常用網路操作命令Windows
- RAC配置2個私網網路卡使用HAIP服務AI
- 網路配置2:靜態路由配置路由
- 網際網路金融大格局–資訊圖
- Google是如何蒐集網際網路資訊Go
- RAC操作命令大全
- RAC修改IP操作
- 網際網路絡安全、資訊保安、計算機網路安全、資訊保障有什麼區別?計算機網路
- Oracle 10g RAC 網路設定Oracle 10g