ITPub博客

首页 > Linux操作系统 > Linux操作系统 > How to Change IP and VIP in Oracle Clusterware(一)-概念篇

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

原创 Linux操作系统 作者:zhanglei_itput 时间:2010-03-31 10:12:52 0 删除 编辑

 

一、目的
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博客 ” ,链接:https://blog.itpub.net/9252210/viewspace-630879/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-02-10

  • 博文量
    400
  • 访问量
    1224647