RAC 11.2.0.3 修改VIP地址
停止監聽器和VIP資源
[root@node1 ~]# crsctl stop resource ora.node1.vip -f
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'node1'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.node1.vip' on 'node1'
CRS-2677: Stop of 'ora.node1.vip' on 'node1’ succeeded
[root@node2 ~]# crsctl stop resource ora.node2.vip -f
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'node2'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.node2.vip' on 'node2'
CRS-2677: Stop of 'ora.node2.vip' on 'node2’ succeeded
修改VIP資源
[root@node1 ~]# srvctl modify nodeapps -A 192.168.1.177/255.255.255.0/eth0 -n node1
[root@node1 ~]# srvctl modify nodeapps -A 192.168.1.179/255.255.255.0/eth0 -n node2
啟動VIP
[root@node1 ~]# crsctl start resource ora.node1.vip
CRS-2672: Attempting to start 'ora.node1.vip' on 'node1'
CRS-2676: Start of 'ora.node1.vip' on 'node1’ succeeded
[root@node2 ~]# crsctl start resource ora.node2.vip
CRS-2672: Attempting to start 'ora.node2.vip' on 'node2'
CRS-2676: Start of 'ora.node2.vip' on 'node2’ succeeded
啟動本地監聽
[root@node1 ~]# crsctl start res ora.LISTENER.lsnr
CRS-2672: Attempting to start 'ora.LISTENER.lsnr' on 'node1'
CRS-2672: Attempting to start 'ora.LISTENER.lsnr' on 'node2'
CRS-2676: Start of 'ora.LISTENER.lsnr' on 'node1' succeeded
CRS-2676: Start of 'ora.LISTENER.lsnr' on 'node2’ succeeded
修改local_listener引數
[oracle@node1 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Thu Jul 10 19:38:40 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SYS@PROD1> show parameter local_listener
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=192.
168.1.172)(PORT=1521))))
SYS@PROD1> alter system set local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.177)(PORT=1521))))' scope=both sid='PROD1';
System altered.
SYS@PROD1> alter system set local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.179)(PORT=1521))))' scope=both sid='PROD2';
System altered.
檢視網路卡設定資訊
[root@node1 ~]# ifconfig eth0:1
eth0:1 Link encap:Ethernet HWaddr 08:00:27:F4:8E:06
inet addr:192.168.1.177 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[root@node2 ~]# ifconfig eth0:1
eth0:1 Link encap:Ethernet HWaddr 08:00:27:9D:01:9A
inet addr:192.168.1.179 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
修改/etc/hosts
192.168.1.171 node1 node1.oracle.com
##192.168.1.172 node1-vip
192.168.1.177 node1-vip
192.168.1.173 node2 node2.oracle.com
##192.168.1.174 node2-vip
192.168.1.179 node2-vip
192.168.1.176 node-cluster node-cluster-scan
172.168.1.191 node1-priv
172.168.1.192 node2-priv
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29047826/viewspace-1216046/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle RAC修改IP和VIP地址Oracle
- 10g RAC中修改VIP地址
- RAC如何修改VIP
- RAC中修改IP, VIP
- RAC 11.2.0.3 修改 Public IP
- 修改RAC 地址
- 【RAC】如何修改vip 或者vip 對應的hostname
- 10g下修改VIP地址
- 【RAC】Oracle rac 如何修改公網及vipOracle
- RAC修改IP地址
- Oracle RAC修改public, VIP, SCAN IPOracle
- ORACLE10g修改RAC VIPOracle
- 更改rac的vip地址和叢集互聯地址
- Oracle RAC 修改 IP 地址Oracle
- Oracle RAC修改public,private,vip scan IPOracle
- oracle10g RAC更改主機public地址及vip地址Oracle
- 【VIP】調整RAC虛擬IP地址(VIP)及虛擬主機名
- oracle 11g rac 修改VIP、scan VIP、priv IP操作文件Oracle
- (轉)【VIP】調整RAC虛擬IP地址(VIP)及虛擬主機名
- 修改vip地址後,vip服務啟動不成功的處理過程
- 基於同網段的RAC架構VIP修改架構
- 基於不同網段的RAC架構VIP修改架構
- 修改oracle 10g rac(rhel4)的vipOracle 10g
- 基於RedHat的RAC環境下修改ip及vipRedhat
- 【RAC】Oracle rac修改IP地址及埠號命令參考Oracle
- oracle 11gR2 如何修改scan vip 地址 /etc/hosts方式Oracle
- rac vip failback issueAI
- Oracle 11gR2 RAC修改SCAN IP地址Oracle
- Solaris下修改RAC環境節點IP地址
- RAC更改叢集VIP
- 配置RAC中的VIP
- RAC修改叢集兩個節點public ip地址
- 11g RAC 修改PUBLIC-IP、VIP、PRIV-IP、SCAN-IP
- 修改vip (Doc ID 276434.1)
- 搭建Physical ADG 11.2.0.3 for RAC
- RAC 11.2.0.3 SACN與DNS配置DNS
- RAC 11.2.0.3 維護命令 (二)
- RAC 11.2.0.3 維護命令 (一)