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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【RAC】Oracle rac 如何修改公網及vipOracle
- RAC修改IP地址
- Oracle RAC修改public, VIP, SCAN IPOracle
- oracle rac 11.2.0.3 升級到11.2.0.4Oracle
- 【RAC】Oracle rac修改IP地址及埠號命令參考Oracle
- rac vip failback issueAI
- 11g RAC 修改PUBLIC-IP、VIP、PRIV-IP、SCAN-IP
- RAC的VIP切換測試
- rac 新增第二public ip 和 vip
- 【RAC】如何修改SCAN IP的IP地址、名稱、埠等資訊
- 【RAC】Oracle RAC如何修改心跳網路Oracle
- 更改rac scanIP IP的地址
- 【RAC】RAC更換心跳地址和RAC更換儲存主要步驟
- Oracle 12. 2 RAC public IP與vip 互換方法Oracle
- Oracle RAC ASM磁碟組擴容時遇到的VIP漂移OracleASM
- 【NETWORK】Oracle RAC 心跳地址配置說明Oracle
- 網站的後臺地址修改,網站後臺地址修改方法網站
- Docker修改可用映象地址Docker
- 【rac故障】root.sh報錯Unable to get VIP info for new node
- 網站後臺地址怎麼修改?php修改網站後臺地址?網站PHP
- 坑爹的Oracle 11.2.0.3Oracle
- RAC 修改引數DB_FILES
- RAC環境修改spfile的位置
- 如何修改macbook的MAC地址Mac
- ubuntu系統 IP地址修改Ubuntu
- ubuntu22.04修改IP地址Ubuntu
- CentOS8修改IP地址CentOS
- 如何修改rac的系統時間
- 12C RAC 修改監聽埠
- Oracle RAC修改引數檔案位置Oracle
- 使用js修改url地址引數JS
- 如何修改 Rancher Server 的 IP 地址Server
- Oracle RAC修改Scan IP,Public IP的方法Oracle
- Maven-修改maven本地倉庫地址Maven
- 蘋果電腦修改Mac地址方法蘋果Mac
- Linux IP地址修改與配置問題Linux
- wifi地址怎麼修改?你需要WiFiSpoofWiFi
- Oracle Rac 修改SGA_TARGET值無變化Oracle
- 在RAC中用NID修改資料庫名稱資料庫