About VIP,SCAN IP ,HAIP

VIP:
Virtual IP address
 An IP address not statically linked to just one node or interface.
 Provides a mechanism for faster failovers.
 Each node must have one Virtual IP address.
 All primary VIPs of a cluster must be in the same subnet.

SCAN IP:
1. It is a better practice to have three SCAN IP addresses and three scan listeners to
provide fault tolerance.
2. These three SCAN IP addresses can be alive in any node of the cluster. If you have
more than three nodes in a cluster, then nodes joining initially to the cluster will
have SCAN resources running.Three SCAN IP addresses and three SCAN listeners, at most.
3. SCAN is an abstraction layer. In a huge cluster, client connect string do not need to
specify all nodes in a cluster. Even if the topology of the cluster changes, still, there
is no reason to change connect string.
4. SCAN and VIP addresses must be in the same subnet. Multiple subnets can be
created using listener_networks, but redirection is not contained within the same
subnet.

HAIP:          
High Availability IP address for private interconnect traffic.
 OS based solution: Bonding, Trunking etc
 HAIP Oracle based solution.
 Both clusterware and database uses HAIP plumbed IP address
for private interconnect traffic.
-------->>>整理自By Riyaj Shamsudeen. Blog: orainternals.wordpress.com
SQL> show parameter listener

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
listener_networks                    string
local_listener                       string      (DESCRIPTION=(ADDRESS_LIST=(AD
                                                 DRESS=(PROTOCOL=TCP)(HOST=192.
                                                 168.56.172)(PORT=1521))))
remote_listener                      string      elvis-cluster-scan:1521

[grid@elvis1 bin]$ oifcfg getif
eth0  192.168.56.0  global  public
eth1  172.168.1.0  global  cluster_interconnect
[grid@elvis1 bin]$ olsnodes -p -l
elvis1  172.168.1.191
[oracle@elvis1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Mon Sep 17 16:05:03 2012

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

SQL> select * from gv$cluster_interconnects;

   INST_ID NAME            IP_ADDRESS       IS_ SOURCE
---------- --------------- ---------------- --- -------------------------------
         1 eth1:1          169.254.254.78   NO


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值