10g RAC中修改VIP地址
http://zhanglumin0203.blog.163.com/blog/static/31928033200871111205582/
1. 停止依賴VIP 的所有資
[root@rac1 bin]# su - oracle
[oracle@rac1 ~]$ srvctl stop instance -d ora9i -i ora9i1
[oracle@rac1 ~]$ srvctl stop asm -n rac1
[oracle@rac1 ~]$ srvctl stop nodeapps -n rac1
[oracle@rac1 ~]$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.ora9i.db application ONLINE ONLINE rac2
ora....i1.inst application OFFLINE OFFLINE
ora....i2.inst application ONLINE ONLINE rac2
ora....SM1.asm application OFFLINE OFFLINE
ora....C1.lsnr application OFFLINE OFFLINE
ora.rac1.gsd application OFFLINE OFFLINE
ora.rac1.ons application OFFLINE OFFLINE
ora.rac1.vip application OFFLINE OFFLINE
ora....SM2.asm application ONLINE ONLINE rac2
ora....C2.lsnr application ONLINE ONLINE rac2
ora.rac2.gsd application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip application ONLINE ONLINE rac2
[oracle@rac1 ~]$ exit
logout
2. 更改/etc/hosts 中的IP
[root@rac1 bin]# vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.241 rac1
192.168.0.242 rac2
192.168.0.253 rac1-vip
192.168.0.252 rac2-vip
1.0.0.1 rac1-priv
1.0.0.2 rac2-priv
"/etc/hosts" 9L, 268C written
3. 使用srvctl 修改VIP 地址
[root@rac1 bin]# ./srvctl modify nodeapps -n rac1 -A 192.168.0.253/255.255.255.0/eth0
4. 啟動nodeapps 及依賴它的所有資源
[root@rac1 bin]# ./srvctl start nodeapps -n rac1
[root@rac1 bin]# su - oracle
[oracle@rac1 ~]$ srvctl start asm -n rac1
[oracle@rac1 ~]$ srvctl start instance -d ora9i -i ora9i1
[oracle@rac1 ~]$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.ora9i.db application ONLINE ONLINE rac2
ora....i1.inst application ONLINE ONLINE rac1
ora....i2.inst application ONLINE ONLINE rac2
ora....SM1.asm application ONLINE ONLINE rac1
ora....C1.lsnr application ONLINE ONLINE rac1
ora.rac1.gsd application ONLINE ONLINE rac1
ora.rac1.ons application ONLINE ONLINE rac1
ora.rac1.vip application ONLINE ONLINE rac1
ora....SM2.asm application ONLINE ONLINE rac2
ora....C2.lsnr application ONLINE ONLINE rac2
ora.rac2.gsd application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip application ONLINE ONLINE rac2
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-628317/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RAC 11.2.0.3 修改VIP地址
- 10g下修改VIP地址
- Oracle RAC修改IP和VIP地址Oracle
- RAC中修改IP, VIP
- 修改oracle 10g rac(rhel4)的vipOracle 10g
- RAC如何修改VIP
- 修改RAC 地址
- 【RAC】如何修改vip 或者vip 對應的hostname
- 【RAC】Oracle rac 如何修改公網及vipOracle
- RAC修改IP地址
- Oracle RAC修改public, VIP, SCAN IPOracle
- ORACLE10g修改RAC VIPOracle
- 更改rac的vip地址和叢集互聯地址
- Oracle 10g RAC vip 漂移問題Oracle 10g
- Oracle RAC 修改 IP 地址Oracle
- Oracle RAC修改public,private,vip scan IPOracle
- 配置RAC中的VIP
- oracle10g RAC更改主機public地址及vip地址Oracle
- 【VIP】調整RAC虛擬IP地址(VIP)及虛擬主機名
- oracle 11g rac 修改VIP、scan VIP、priv IP操作文件Oracle
- (轉)【VIP】調整RAC虛擬IP地址(VIP)及虛擬主機名
- 修改10g的歸檔地址
- 修改vip地址後,vip服務啟動不成功的處理過程
- 基於同網段的RAC架構VIP修改架構
- 基於不同網段的RAC架構VIP修改架構
- How to change VIP and VIP/Hostname in 10g
- 基於RedHat的RAC環境下修改ip及vipRedhat
- 【RAC】Oracle rac修改IP地址及埠號命令參考Oracle
- oracle 11gR2 如何修改scan vip 地址 /etc/hosts方式Oracle
- oracle 10g rac vip 服務啟動不了的問題Oracle 10g
- rac vip failback issueAI
- oracle 10g rac modify public ip,private ip,vip實驗步驟Oracle 10g
- Oracle 11gR2 RAC修改SCAN IP地址Oracle
- Solaris下修改RAC環境節點IP地址
- RAC更改叢集VIP
- RAC修改叢集兩個節點public ip地址
- 11g RAC 修改PUBLIC-IP、VIP、PRIV-IP、SCAN-IP
- 修改vip (Doc ID 276434.1)