How to Change IP and VIP in Oracle Clusterware(一)-概念篇

 

一、目的
how to change or update the cluster_interconnect and/or public interface IP information that is stored in the OCR

二、定义
public:IP
cluster_interconnec: cache fusion traffic
oifcfg:Oracle Interface Configuration Assistant

三、修改public ip
a. Use the getif option to show the currently configured interfaces
    % $ORA_CRS_HOME/bin/oifcfg getif
b. Delete the interface 
    % $ORA_CRS_HOME/bin/oifcfg delif -global eth0
c. Add the interface
    % $ORA_CRS_HOME/bin/oifcfg setif –global eth0/10.2.166.0:public
d. The same step could be use for the private interface
    % $ORA_CRS_HOME/bin/oifcfg delif –global eth1
    % $ORA_CRS_HOME/bin/oifcfg setif –global eth1/192.168.1.0:cluster_interconnect   

四、修改vip
(note: Stop database instances,stop the ASM instance ,stop the nodeapps )
a. Verifying Current VIP configuration
    srvctl config nodeapps -n -a
b. Syntax for modifying nodeapps
    $ srvctl modify nodeapps -n node1 -A 192.168.2.125/255.255.255.0/eth0

参考文献:
1. How to Change Interconnect/Public Interface IP or Subnet in Oracle Clusterware [ID 283684.1]
2. Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node
 [ID 276434.1]

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9252210/viewspace-630879/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/9252210/viewspace-630879/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值