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

zhanglei_itput發表於2010-03-31

 

一、目的
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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章