Oracle 12.2 RAC修改public ip address或public ip(subnet (netmask) or interface)
Oracle 12.2 RAC修改public ip
address
或public ip(subnet (netmask) or interface)方法
場景: Oracle 12.2 RAC修改IP資訊一般有2種場景
第一種場景:oracle rac 中修改public ip/vip/pirv ip/scan ip 但不修改 (subnet (netmask) or interface) 的方法
public ip => 僅os修改主機ip和/etc/hosts
vip => 僅修改/etc/hosts
pirv ip => 僅os修改主機ip和/etc/hosts
scan ip => 修改/etc/hosts和 srvctl modify scan -n scan-newdb
注:解析均使用/etc/hosts
第二種場景:oracle rac 修改public ip和 pirv ip的 (subnet (netmask) or interface) 的方法
#public ip/vip/scan ip均在一個網段內,故public ip修改完成後,vip/scan ip均需修改
public ip => oifcfg setif/ delif
vip => root修改VIP資源
scan ip => srvctl modify scan -n scan-newdb
pirv ip => oifcfg setif/ delif
#以下是修改方法,其中os修改的步驟均省略。
1.IP (subnet (netmask) or interface) 更改方法(單節點執行,叢集生效) oifcfg delif -global eth0/10.x.156.0 oifcfg setif -global eth0/10.x.166.0:public 2.IP (subnet (netmask) or interface) 更改後VIP更改方法(單節點執行,叢集生效) 2.1 收集VIP資訊 srvctl config nodeapps -a 2.2 檢驗VIP狀態 crsctl stat res -t ifconfig -a 2.3 停止VIP資源 $ srvctl stop instance -d <DBNAME> -n <nodename>1 $ srvctl stop vip -n <nodename>1 -f 2.4 檢驗VIP狀態為OFFLINE $ crsctl stat res -t 2.5 修改VIP相關的配置 /etc/hosts 2.6 修改VIP資源,使用ROOT srvctl modify nodeapps -n <nodename>1 -A <nodename>1-nvip/255.255.255.0/<if_name> 2.7 驗證VIP修改 $ srvctl config nodeapps -a 2.8 重啟VIP資源 $srvctl start vip -n <nodename>1 $srvctl start listener -n <nodename>1 $srvct start instance -d <DBNAME> -n <nodename>1 2.9 檢驗VIP狀態為ONLINE和public network interface crsctl stat res-t ifconfig-a 2.10 Modify listener.ora,tnsnames,ora and LOCAL_LISTENER/REMOTE_LISTENER parameter to reflect the VIP change if necessary. 3.Modify scan(單節點執行,叢集生效) ./srvctl config scan ./srvctl stop scan_listener ./srvctl stop_scan ./srvctl modify scan -n scan-newdb ./srvctl start scan ./srvctl start scan_listener ./srvctl config scan 4.PRIV IP (subnet (netmask) or interface) 更改方法(單節點執行,叢集生效) $ cd $GRID_HOME/gpnp/<hostname>/profiles/peer/ $ cp -p profile.xml profile.xml.bk $ oifcfg getif $ oifcfg setif -global <interface>/<subnet>:cluster_interconnect[,asm] $ srvctl config listener -asmlistener $ srvctl config asm # crsctl stop crs # crsctl disable crs $ ifconfig -a $ ping <private hostname> # crsctl enable crs # crsctl start crs $ oifcfg delif -global <interfacename>[/<subnet>] 參考: How to Modify Private Network Information in Oracle Clusterware (Doc ID 283684.1) How to Modify Public Network Information including VIP in Oracle Clusterware (Doc ID 276434.1) How to Modify SCAN Setting or SCAN Listener Port after Installation (Doc ID 972500.1) How to Update the IP Address of the SCAN VIP Resources (ora.scan{n}.vip) (Doc ID 952903.1)
########################################################################################
版權所有,文章允許轉載,但必須以連結方式註明源地址,否則追究法律責任!【QQ交流群:53993419】
QQ:14040928 E-mail:dbadoudou@163.com
本文連結: http://blog.itpub.net/26442936/viewspace-2733154/
########################################################################################
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26442936/viewspace-2733154/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How to Change Interconnect/Public Interface IP or Subnet in Oracle ClusterwareOracle
- Oracle RAC修改Scan IP,Public IP的方法Oracle
- Oracle RAC修改public, VIP, SCAN IPOracle
- win rac public ip 修改
- Oracle RAC修改public,private,vip scan IPOracle
- RAC 11.2.0.3 修改 Public IP
- SCAN , virtual IP , and public IP must all be on the same subnet
- 修改Public/Interconnect IP
- Oracle RAC中的Public IP, VIP和Internal IP,SCANOracle
- 11g RAC 修改PUBLIC-IP、VIP、PRIV-IP、SCAN-IP
- oracle 11gR2 如何修改public ipOracle
- RAC修改叢集兩個節點public ip地址
- rac 新增第二public ip 和 vip
- oracle 10g rac modify public ip,private ip,vip實驗步驟Oracle 10g
- RAC中的各種IP-PUBLIC-VIP-Private-SCAN IP
- rac更改public and private的網路卡和ip
- Oracle 12. 2 RAC public IP與vip 互換方法Oracle
- Oracle RAC環境下vip/public/private IP的區別Oracle
- Azure Public IP DNS域名DNS
- How to modify Public ip and vip In 11gr2 Rac
- rac 改public 及vip IP---備份01
- 詭異的事情,RAC,public ip通,vip不通
- RAC_TNS故障轉移負載均衡、SCAN IP、VIP、PUBLIC IP負載
- public interface View介面和public interface ViewResolver介面介紹View
- 轉載一個step by step change public-ip and vip on RAC
- Azure PIP (Instance Level Public IP)
- Oracle RAC 修改 IP 地址Oracle
- Rocks 頭結點更改public IP 上網IP地址薦
- How to change Public VIP Address in 11gR2 RAC
- 【RAC】莫忘為 eth0(Public IP)指定預設閘道器地址
- vip/public ip斷網,導致instance crash
- ORACLE RAC 環境下修改IPOracle
- Oracle9i RAC 修改IPOracle
- Oracle RAC修改IP和VIP地址Oracle
- RAC修改IP地址
- rac下修改ip
- RAC修改IP操作
- Oracle 11g修改RAC SCAN IPOracle