How to update SCAN VIP (ora.scan.vip) [ID 952903.1]
In this Document
Goal |
Solution |
References |
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.4 [Release 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 theSCANVIPs 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 arenotusingGNS.
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 NameServer (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
-
Stop the SCAN listeners and SCAN
$GRID_HOME/bin/srvctl stop scan_listener
$GRID_HOME/bin/srvctl stop 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
-
Restart SCAN & SCAN listener:
$GRID_HOME/bin/srvctl start scan
$GRID_HOME/bin/srvctl start scan_listener -
If the number of SCAN VIPs has changed, the SCAN listener needs to be updated:
$GRID_HOME/bin/srvctl modify scan_listener -u
- The name of the SCAN issales-scan.example.com
- subnet of the public network is10.100.10.0
- netmask for the public network is255.255.255.0
- name of the public interface iseth1
- 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
Stopping & starting the SCAN VIPs/listeners can be done by the grid user, however the 'srvctl modify scan' command must be executed by root user, so it's practical to execute all steps as the root user.
A lookup of the SCAN on the DNS server shows that the entry has already been updated with the new IP addresses:
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
# $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:
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:
To verify that the change was successful, check the SCAN configuration again:
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_listener
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26175573/viewspace-775455/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- How to update the IP address of the SCAN VIP
- How to change VIP and VIP/Hostname in 10g
- RAC改VIP和SCAN IP
- Oracle RAC修改public, VIP, SCAN IPOracle
- rac 手動漂移scan ip vip
- RAC_網路_VIP漂移_SCAN IP
- Oracle RAC修改public,private,vip scan IPOracle
- oracle 11g rac 修改VIP、scan VIP、priv IP操作文件Oracle
- Configure the DNS Server for SCAN VIP on LinuxDNSServerLinux
- How to Troubleshoot Connectivity Issue with 11gR2 SCAN Name (Doc ID 975457.1)
- How to Change IP and VIP in Oracle Clusterware(一)-概念篇Oracle
- Oracle RAC中的Public IP, VIP和Internal IP,SCANOracle
- How to Setup SCAN Listener and Client for TAF and Load Balancingclient
- RAC中的各種IP-PUBLIC-VIP-Private-SCAN IP
- How to modify Public ip and vip In 11gr2 Rac
- How to Change IP and VIP in Oracle Clusterware(二)-實操篇Oracle
- How to update BOL entity property value via ABAP code
- How to Troubleshoot Connectivity Issue with 11gR2 SCAN Name
- PRCR-1079 : Failed to start resource ora.scan1.vipAI
- oracle 11gR2 如何修改scan vip 地址 /etc/hosts方式Oracle
- 導致 Scan VIP 和 Scan Listener(監聽程式)出現故障的最常見的 5 個問題
- RAC_TNS故障轉移負載均衡、SCAN IP、VIP、PUBLIC IP負載
- How to change Public VIP Address in 11gR2 RAC
- Metlink:How to Modify Public Network Information including VIP in CrsORM
- rowid,index,INDEX FULL SCAN,INDEX FAST FULL SCAN|IndexAST
- How to Configure the DNS Server for 11gR2 SCAN On LinuxDNSServerLinux
- 11g RAC 修改PUBLIC-IP、VIP、PRIV-IP、SCAN-IP
- 修改vip (Doc ID 276434.1)
- 修改grid scan ip地址
- RAC 11GR3雙網段設定兩套VIP SCAN IP以及LISTENER
- How To Kill Good IdeasGoIdea
- How to compile Invalid Object?CompileObject
- INDEX UNIQUE SCAN,INDEX FULL SCAN和INDEX FAST FULL SCANIndexAST
- How to Prepare Storage for ASM (Doc ID 452924.1)ASM
- How to Troubleshoot Grid Infrastructure Startup IssuesASTStruct
- How to find the UDID for an iPhone/iPod touchiPhone
- How to Brainstorm New IdeasAIORMIdea
- How to tacktrace In Android for Java codeAndroidJava