How to update the IP address of the SCAN VIP
How to update the IP address of the SCAN VIP resources (ora.scan.vip) [ID 952903.1]
Modified 13-AUG-2010 Type HOWTO Status PUBLISHED
In this Document
Goal
Solution
Applies to:
Oracle Server - Enterprise Edition - Version: 11.2.0.1 to 11.2.0.1 - Release: 11.2 to 11.2
Information in this document applies to any platform.
Goal
The purpose of this document is to explain how to change the IP addresses associated with the SCAN VIPs in a 11gR2 Grid (CRS) environment.
The IP addresses associated with the SCAN VIP resources are initially set when the SCAN resources are created.
Any changes to the DNS entry for the SCAN are not automatically propagated to the clusterware and need to be done manually.
This applies only to installations that are not using GNS.
The information in this note can also be helpful in cases where SCAN was originally configured with just one address and is now being expanded to accommodate three IP addresses.
Solution
Before the SCAN VIPs can be changed, the entry for the SCAN name on the Domain Name Server (DNS) needs to be updated with the new IP addresses. This usually will be done by a network administrator. To check the current setting, the following command can be used:
nslookup
To check the current IP address(es) of the SCAN VIPs, run the following commands as the root user:
$GRID_HOME/bin/srvctl config scan
Next refresh the SCAN VIPs with the new IP addresses from the DNS entry:
$GRID_HOME/bin/srvctl modify scan -n
To check if the SCAN VIPs have been changed, run the following command, it should now show the new IP addresses.
$GRID_HOME/bin/srvctl config scan
Below is an example using the following configuration:
The name of the SCAN is sales-scan.example.com
subnet of the public network is 10.100.10.0
netmask for the public network is 255.255.255.0
name of the public interface is eth1
old IP addresses: 10.100.10.81, 10.100.10.82 & 10.100.10.83
new IP addresses: 10.100.10.121, 10.100.10.122 & 10.100.10.123
A lookup of the SCAN on the DNS server shows that the entry has already been updated with the new IP addresses:
$ nslookup sales-scan.example.com
Server: dns1.example.com
Address: 10.100.10.70#53
Name: sales-scan.example.com
Address: 10.100.10.123
Name: sales-scan.example.com
Address: 10.100.10.122
Name: sales-scan.example.com
Address: 10.100.10.121
Stop the SCAN listener and the SCAN VIP resources:
# $GRID_HOME/bin/srvctl stop scan_listener
# $GRID_HOME/bin/srvctl stop scan
# $GRID_HOME/bin/srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is not running
SCAN VIP scan2 is enabled
SCAN VIP scan2 is not running
SCAN VIP scan3 is enabled
SCAN VIP scan3 is not running
# $GRID_HOME/bin/srvctl status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is not running
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is not running
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is not running
The SCAN VIP resources still show the old IP addresses:
# $GRID_HOME/bin/srvctl config scan
SCAN name: sales-scan, Network: 1/10.100.10.0/255.255.255.0/eth1
SCAN VIP name: scan1, IP: /sales-scan.example.com/10.100.10.81
SCAN VIP name: scan2, IP: /sales-scan.example.com/10.100.10.82
SCAN VIP name: scan3, IP: /sales-scan.example.com/10.100.10.83
Now tell CRS to update the SCAN VIP resources:
# $GRID_HOME/bin/srvctl modify scan -n sales-scan.example.com
To verify that the change was successful, check the SCAN configuration again:
# $GRID_HOME/bin/srvctl config scan
SCAN name: sales-scan, Network: 1/10.100.10.0/255.255.255.0/eth1
SCAN VIP name: scan1, IP: /sales-scan.example.com/10.100.10.121
SCAN VIP name: scan2, IP: /sales-scan.example.com/10.100.10.122
SCAN VIP name: scan3, IP: /sales-scan.example.com/10.100.10.123
Start SCAN and the SCAN listener:
# $GRID_HOME/bin/srvctl start scan
# $GRID_HOME/bin/srvctl start scan_listener
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24867586/viewspace-714344/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle RAC修改public, VIP, SCAN IPOracle
- 關於“INS-40922 Invalid Scan Name – Unresolvable to IP address”
- 11g RAC 修改PUBLIC-IP、VIP、PRIV-IP、SCAN-IP
- 新增SCAN IP
- [LeetCode] Validate IP AddressLeetCode
- RAC 增加SCAN IP
- cluster-wide IP address managementIDE
- Oracle RAC修改Scan IP,Public IP的方法Oracle
- How to update BOL entity property value via ABAP code
- scan ip的手動切換
- Oracle 11G 修改scan_ipOracle
- SSL - SSLHandshakeException: No subject alternative names matching IP address foundException
- Oracle 12.2 RAC修改public ip address或public ip(subnet (netmask) or interface)Oracle
- rac 新增第二public ip 和 vip
- 【RAC】如何修改SCAN IP的IP地址、名稱、埠等資訊
- [20180427]SCAN_IP DNS 反向解析2.txtDNS
- Linux虛擬機器配置IP時提示:determining ip information for ip xxx.xxx.xxx.xxx address is alreadyLinux虛擬機ORM
- Warning: Permanently added the RSA host key for IP address '13.250.177.223' to the list of known hos
- Oracle 11g RAC SCAN ip的原理及配置Oracle
- Can't Connect to MySQL Server on IP Address (10061) 錯誤的解決方案MySqlServer
- Oracle 12. 2 RAC public IP與vip 互換方法Oracle
- SCAN
- 如何跟蹤11g vip及SCN IP的輸出
- PostgreSQL DBA(119) - pgAdmin(LIMIT:Index Scan vs Bitmap Index Scan)SQLMITIndex
- Redo Byte Address (RBA)(轉)
- mysql bind_address如何配置多個地址 mysql bind-address選項MySql
- How to ssh
- VIP影片解析
- ORA-00130: invalid listener address
- 阿里雲內容安全介面 敏感詞 green scan、圖片 image scan阿里
- parameter hj8828vip installed Oracle h518vip onOracleH5
- Oracle 11gr2修改RAC叢集的scan ip,並處理ORA-12514問題Oracle
- redis scan迭代模糊匹配Redis
- redis的scan用法解析Redis
- Oracle中的for update 和 for update nowaitOracleAI
- How to find dependency
- keepalived(二)vip漂移
- rac vip failback issueAI
- brew update