11.2 SCAN的理解

SCAN(Single Client Access Name)提供了更简洁的客户端设置,增加,减少节点,不需要对客户端进行任何的修改。

SCAN就像是集群的一个别名,SCAN可以被解析为集群中的任何一个节点,这与VIP地址不同,一个VIP地址对应一个节点。

11.2及之后的版本,实例只会注册SCAN监听作为remote listeners。

Public network addresses are used to provide services to clients. If your clients are connecting to the Single Client Access Name addresses, then you may need to change public and virtual IP addresses as you add or remove nodes from the cluster, but you do not need to update clients with new cluster addresses. SCANs function like a cluster alias. However, SCANs are resolved on any node in the cluster, so unlike a VIP address for a node, clients connecting to the SCAN no longer require updated VIP addresses as nodes are added to or removed from the cluster. Because the SCAN addresses resolve to the cluster, rather than to a node address in the cluster, nodes can be added to or removed from the cluster without affecting the SCAN address configuration. The SCAN is a fully qualified name (host name+domain) that is configured to resolve to all the addresses allocated for the SCAN. The addresses resolve using Round Robin DNS either on the DNS server, or within the cluster in a GNS configuration. SCAN
listeners can run on any node in the cluster. SCANs provide location independence for
the databases, so that client configuration does not have to depend on which nodes
run a particular database.
Oracle Database 11g release 2 (11.2) and later instances only register with SCAN
listeners as remote listeners. Upgraded databases register with SCAN listeners as
remote listeners, and also continue to register with all node listeners.

转载于:https://my.oschina.net/huayd/blog/127120

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值