相關資訊
本類常用軟件
-
福建農村信用社手機銀行客戶端下載下載量:584204
-
Windows優化大師下載量:416904
-
90美女秀(視頻聊天軟件)下載量:366961
-
廣西農村信用社手機銀行客戶端下載下載量:365699
-
快播手機版下載量:325855
Oracle RAC 如何修改IP地址呢?今天跟大家分享下Oracle RAC 修改IP地址的方法,希望能幫上朋友們吧!
Oracle RAC修改IP地址方法:
1、關閉crs_stop -all
2、修改/etc/hosts內對應信息
3、分兩步
a,修改public ip 。
b,修改網段掩碼
-- 查看當前配置:
[root@raw1 bin]# ./oifcfg getif -global
eth0 10.85.10.0 global public
eth1 192.168.1.0 global cluster_interconnect
-- 刪除當前配置
[root@raw1 bin]# ./oifcfg delif -global eth0
[root@raw1 bin]# ./oifcfg delif -global eth1
[root@raw1 bin]# ./oifcfg getif
-- 重新添加
[root@raw1 bin]# ./oifcfg setif -global eth0/10.85.10.0:public
[root@raw1 bin]# ./oifcfg setif -global eth1/192.168.1.0:cluster_interconnect
[root@raw1 bin]# ./oifcfg getif
eth0 10.85.10.0 global public
eth1 192.168.1.0 global cluster_interconnect
[root@racnode2 bin]# ./oifcfg iflist
eth0 192.168.86.0
eth1 192.168.0.0
eth2 192.168.200.0
eth3 192.168.200.0
eth4 192.168.200.0
eth5 192.168.200.0
注意: 這里IP 地址最一個為0. 代表的是一個網段。 修改的時候要切記。 否在在啟動OCR 時會報如下錯誤:
[ CRSOCR][4054413904] OCR context init failure. Error: PROC-44: 網絡地址和網絡接口操作中出錯 網絡地址和網絡接口操作錯誤 [7]
c,修改VIP
[root@raw1 bin]# ./srvctl modify nodeapps -n raw1 -A 10.85.10.222/255.255.255.0/eth0
[root@raw1 bin]# ./srvctl modify nodeapps -n raw2 -A 10.85.10.223/255.255.255.0/eth0
4、檢查listener.ora 和 tnsname中ip信息是否需要修改。
5、啟動資源,crs_start -all
好了,這樣就完成Oracle RAC的 IP地址的修改過程了!