oracle 11gR2 scan ip (DNS模式)
今天在公司搭建了oracle 11gR2 grid的叢集,scan ip 採用的是DNS模式,安裝完成後
狀態如下:
[grid@rac1 bin]$ ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.DATA.dg ora....up.type ONLINE ONLINE rac1
ora....ER.lsnr ora....er.type ONLINE ONLINE rac1
ora....N1.lsnr ora....er.type ONLINE ONLINE rac2
ora....N2.lsnr ora....er.type ONLINE ONLINE rac1
ora....N3.lsnr ora....er.type ONLINE ONLINE rac1
ora.asm ora.asm.type ONLINE ONLINE rac1
ora.eons ora.eons.type ONLINE ONLINE rac1
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora....network ora....rk.type ONLINE ONLINE rac1
ora.oc4j ora.oc4j.type OFFLINE OFFLINE
ora.ons ora.ons.type ONLINE ONLINE rac1
ora....SM1.asm application ONLINE ONLINE rac1
ora....C1.lsnr application ONLINE ONLINE rac1
ora.rac1.gsd application OFFLINE OFFLINE
ora.rac1.ons application ONLINE ONLINE rac1
ora.rac1.vip ora....t1.type ONLINE ONLINE rac1
ora....SM2.asm application ONLINE ONLINE rac2
ora....C2.lsnr application ONLINE ONLINE rac2
ora.rac2.gsd application OFFLINE OFFLINE
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip ora....t1.type ONLINE ONLINE rac2
ora....ry.acfs ora....fs.type ONLINE ONLINE rac1
ora.scan1.vip ora....ip.type ONLINE ONLINE rac2
ora.scan2.vip ora....ip.type ONLINE ONLINE rac1
ora.scan3.vip ora....ip.type ONLINE ONLINE rac1
[grid@rac1 bin]$
[root@rac2 oraInventory]# ps -ef|grep tns
grid 17073 1 0 18:07 ? 00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN1 -inherit
grid 17654 1 0 18:10 ? 00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
root 18842 8996 0 18:18 pts/3 00:00:00 grep tns
[root@rac2 oraInventory]#
[root@rac1 logs]# ps -ef|grep tns
grid 9612 1 0 18:02 ? 00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN2 -inherit
grid 9624 1 0 18:02 ? 00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER_SCAN3 -inherit
grid 10355 1 0 18:09 ? 00:00:00 /u01/app/11.2.0/grid/bin/tnslsnr LISTENER -inherit
root 11822 31363 0 18:23 pts/2 00:00:00 grep tns
[root@rac1 logs]#
可以看到兩個節點當中,一個節點有兩個scan ip,一個節點只有1個scan ip
節點1 ip地址如下:
[root@rac1 logs]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:14:5E:69:75:94
inet addr:192.168.3.227 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fe80::214:5eff:fe69:7594/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1752657 errors:0 dropped:0 overruns:0 frame.:0
TX packets:3041821 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:376820166 (359.3 MiB) TX bytes:4196605342 (3.9 GiB)
Interrupt:169
eth0:1 Link encap:Ethernet HWaddr 00:14:5E:69:75:94
inet addr:192.168.3.229 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169
eth0:3 Link encap:Ethernet HWaddr 00:14:5E:69:75:94
inet addr:192.168.3.233 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169
eth0:4 Link encap:Ethernet HWaddr 00:14:5E:69:75:94
inet addr:192.168.3.232 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169
節點2 ip地址如下:
[root@rac2 oraInventory]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:13:21:64:CA:E9
inet addr:192.168.3.228 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fe80::213:21ff:fe64:cae9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2593442 errors:0 dropped:0 overruns:0 frame.:0
TX packets:1319323 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3798507464 (3.5 GiB) TX bytes:101990445 (97.2 MiB)
Interrupt:98
eth0:1 Link encap:Ethernet HWaddr 00:13:21:64:CA:E9
inet addr:192.168.3.231 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:98
eth0:2 Link encap:Ethernet HWaddr 00:13:21:64:CA:E9
inet addr:192.168.3.230 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:98
[root@rac2 oraInventory]# nslookup racnode-cluster-scan.racnode.com
Server: 192.168.3.32
Address: 192.168.3.32#53
Name: racnode-cluster-scan.racnode.com
Address: 192.168.3.232
Name: racnode-cluster-scan.racnode.com
Address: 192.168.3.233
Name: racnode-cluster-scan.racnode.com
Address: 192.168.3.231
[root@rac2 oraInventory]#
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-667512/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle 11gR2 修改 DNS 方式 SCAN IPOracleDNS
- Oracle 11gR2 RAC修改SCAN IPOracle
- oracle 客戶端如何連線到oracle 11gR2資料庫(DNS SCAN IP)Oracle客戶端資料庫DNS
- Oracle 11gR2 RAC修改SCAN IP地址Oracle
- oracle 11gr2 SCAN LISTENER配置Oracle
- How to Configure the DNS Server for 11gR2 SCAN On LinuxDNSServerLinux
- Oracle RAC修改Scan IP,Public IP的方法Oracle
- [Oracle] oracle11g scan ip relocateOracle
- 11gr2 rac改IP系列之三:修改SCAN IP為同網段其它IP
- Oracle RAC修改public, VIP, SCAN IPOracle
- scan-dns配置DNS
- oracle 11gR2 scan PRVF-4664 問題Oracle
- Oracle 11G 修改scan_ipOracle
- Oracle 11g修改RAC SCAN IPOracle
- Oracle RAC修改public,private,vip scan IPOracle
- Oracle RAC中的Public IP, VIP和Internal IP,SCANOracle
- [20180427]SCAN_IP DNS 反向解析2.txtDNS
- 修改scan ip
- 新增SCAN IP
- oracle 11gR2 如何修改scan vip 地址 /etc/hosts方式Oracle
- RAC重建SCAN IP
- RAC 增加SCAN IP
- scan IP 學習
- Oracle 11gr2修改RAC叢集的scan ip,並處理ORA-12514問題Oracle
- oracle 11gR2 如何修改public ipOracle
- oracle 11gR2 如何修改 private ipOracle
- Oracle 11g RAC SCAN ip的原理及配置Oracle
- JDBC connect SCAN IPJDBC
- Oracle 11g RAC 叢集 SCAN IP Listener說明Oracle
- 修改grid scan ip地址
- RAC改VIP和SCAN IP
- Configure the DNS Server for SCAN VIP on LinuxDNSServerLinux
- oracle linux 11.2 rac grid infrastructure add scan ipOracleLinuxASTStruct
- SCAN , virtual IP , and public IP must all be on the same subnet
- 為什麼有些客戶沒有用11gR2 RAC中scan ip連線資料庫資料庫
- Oracle RAC 11gR2 SCAN IP和VIP共用1521監聽埠引發的ORA-12520問題Oracle
- How to Troubleshoot Connectivity Issue with 11gR2 SCAN Name
- scan ip的手動切換