这是scan ip的解析, scan ip 最多可以设置3个,最少是一个,不管有几个node

http://docs.oracle.com/cd/E11882 ... ncepts.htm#BABHEIBD

D.1.3.5 About the SCAN

Oracle Database 11g release 2 clients connect to the database using SCANs. The SCAN and its associated IP addresses provide a stable name for clients to use for connections, independent of the nodes that make up the cluster. SCAN addresses, virtual IP addresses, and public IP addresses must all be on the same subnet.

The SCAN is a virtual IP name, similar to the names used for virtual IP addresses, such as node1-vip. However, unlike a virtual IP, the SCAN is associated with the entire cluster, rather than an individual node, and associated with multiple IP addresses, not just one address.

The SCAN works by being able to resolve to multiple IP addresses in the cluster handling public client connections. When a client submits a request, the SCAN listener listening on a SCAN IP address and the SCAN port is made available to a client. Because all services on the cluster are registered with the SCAN listener, the SCAN listener replies with the address of the local listener on the least-loaded node where the service is currently being offered. Finally, the client establishes connection to the service through the listener on the node where service is offered. All of these actions take place transparently to the client without any explicit configuration required in the client.

During installation listeners are created. They listen on the SCAN IP addresses provided on nodes for the SCAN IP addresses. Oracle Net Services routes application requests to the least loaded instance providing the service. 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 should be configured so that it is resolvable either by using Grid Naming Service (GNS) within the cluster, or by using Domain Name Service (DNS) resolution. For high availability and scalability, Oracle recommends that you configure the SCAN name so that it resolves to three IP addresses. At a minimum, the SCAN must resolve to at least one address.

If you specify a GNS domain, then the SCAN name defaults to clustername-scan.GNS_domain. Otherwise, it defaults to clustername-scan.current_domain. For example, if you start Oracle Grid Infrastructure installation from the server node1, the cluster name is mycluster, and the GNS domain is grid.example.com, then the SCAN Name is mycluster-scan.grid.example.com.

Clients configured to use IP addresses for Oracle Database releases prior to Oracle Database 11g release 2 can continue to use their existing connection addresses; using SCANs is not required. When you upgrade to Oracle Clusterware 11g release 2 (11.2), the SCAN becomes available, and you should use the SCAN for connections to Oracle Database 11g release 2 or later databases. When an earlier version of Oracle Database is upgraded, it registers with the SCAN listeners, and clients can start using the SCAN to connect to that database. The database registers with the SCAN listener through the remote listener parameter in the init.ora file. The REMOTE_LISTENER parameter must be set to SCAN:PORT. Do not set it to a TNSNAMES alias with a single address with the SCAN as HOST=SCAN.

The SCAN is optional for most deployments. However, clients using Oracle Database 11g release 2 and later policy-managed databases using server pools should access the database using the SCAN. This is because policy-managed databases can run on different servers at different times, so connecting to a particular node virtual IP address for a policy-managed database is not possible.

mysql集群需要几个ip_rac集群3组机器,scan到底需要几个IP?相关推荐

  1. MySQL中间件之ProxySQL(13):ProxySQL集群

    返回ProxySQL系列文章:http://www.cnblogs.com/f-ck-need-u/p/7586194.html ProxySQL有原生的集群功能,但是这个原生的集群功能还正在试验阶段 ...

  2. mysql cluster 宕机 恢复_mysql cluster 集群恢复不起来,还请大神赐教?报错-问答-阿里云开发者社区-阿里云...

    mysql cluster 集群原本使用的几乎全是内存表,后来随着数据的增长,把大的内存表迁移到磁盘表了,之后集群出现6050错误,整个集群挂掉:之后重新启动集群一直启动不起来... ----以下是集 ...

  3. MySQL主从架构、读写分离、集群相关面试问题

    文章目录 一.MySQL主从同步原理 二.MySQL主从集群面试相关问题 1.全库同步与部分同步 2.GTID同步集群 3.集群扩容与MySQL数据迁移 4.理解半同步复制 5.主从集群与读写分离 6 ...

  4. mysql脑裂_如何防止HA集群的脑裂

    luozhaode:博主这篇有关脑裂的文章是我看到过的理解的最透彻的.真是学习了,不过在实际工作中还是对脑裂存在着疑惑,恳请博主释疑一下.谢谢! 我们熟知的脑裂问题一般表现形式是: 在mysql主备上 ...

  5. mysql的集群和分布式区别_集群和分布式,你知道其中的区别吗?

    经常听到MySql集群.Redis集群.分布式系统等概念,但是,很少有机会深究,到底什么集群,什么是分布式?在概念上这俩个词很接近,难道不需要区分?其实,非常有必要区分这两个概念,帮助我们对计算机的理 ...

  6. mysql多主集群_mysql galera多主集群

    1.特性 基于行复制的完全并行同步复制 实时多主架构,任意节点可读写 无延迟复制,事务零丢失,可靠健壮的读写体验. 自动化节点关系控制:节点故障自动摘除,节点加入自动协调 接近原生的MySQL数据库连 ...

  7. 4.2.5 Kafka集群与运维(集群的搭建、监控工具 Kafka Eagle)

    Kafka集群与运维 文章目录 Kafka集群与运维 1.集群的搭建 1.1 搭建zookeeper集群 1.1.1 上传JDK到linux,安装并配置JDK 1.1.2. Linux 安装Zooke ...

  8. Elastic:集群相关知识点总结(一)数据流 Data Stream、索引生命周期 ILM、可搜索快照 searchable snapshots、跨集群搜索 CCS、跨集群复制 CCR

    0.引言 集群管理是ES的核心重点,因此相关的知识点至关重要,本期主要针对数据流.索引生命周期.可搜索快照.跨集群搜索.跨集群复制进行讲解 1.数据流 Data Stream 官方文档:Data st ...

  9. 细细品味Hadoop_Hadoop集群精华文档合集

    为什么80%的码农都做不了架构师?>>>    细细品味Hadoop_Hadoop集群精华文档合集 Hadoop作为开源的云计算平台,已引起了学术界和企业的普遍兴趣.本文集整理了Ha ...

最新文章

  1. Code Valley团队拟在澳洲建立一座价值5000万美元的BCH科技园
  2. 百度 Java 后端三轮面试题,这些你会吗?
  3. python 计算过程图片_[Python图像处理]九.图像形态学相关运算
  4. 坚实原则:Liskov替代原则
  5. json套json_JSON –拯救杰克逊
  6. Python datetime astimezone()方法与示例
  7. The7主题-汉化绿色版/免key导入demo/安装插件[更至v9.10.1]
  8. linux软件包管理学习归档-2020-0624
  9. arch linux 进入黑屏,无法从Arch Linux进入Beaglebone Black
  10. java web 对cookie技术、session技术进行小结
  11. 2021届成都高考一诊成绩查询,2021届成都一诊来了!你想知道的,都在这儿!(附2020年985/211高校在川调档线及位次)...
  12. 2022年java学习路线指南
  13. [易飞]关于应付账款明细帐余额余总账不平解决方案
  14. php经典实例读后感,读卡耐基《人性的弱点》章节之读后感
  15. Pr播放视频没声音,音频硬件显示不工作怎么办?
  16. springcloud如何制作一个物联网产品
  17. 计算机硬件系统维护经验与体会,计算机操作系统维护与优化的实训报告心得体会.docx...
  18. 浅谈上海装修设计公司吊顶安装的注意要点
  19. Vue缓存路由(keep-alive)以及新的生命周期
  20. 求解答:UKF对路面附着系数估计报错

热门文章

  1. 再谈全局网HBase八大应用场景
  2. 在 Kubernetes 集群中使用 MetalLB 作为 Load Balancer(上)
  3. 拿来就能用!行,这本 Python 书彻底火了!
  4. 反转!美光、英特尔等多家美企恢复对华为供货;首例云服务器存储侵权案改判,阿里云不担责;英国政府拟严格审查Libra……...
  5. Kubernetes API 与 Operator:不为人知的开发者战争
  6. 北京计算机一级2020,2020北京市一级计算机基础及MS Office应用考试在线自测试题库(不限设备,登陆即可做题)...
  7. hasp运行不成功_提问:程序无报错或警告,但总是运行不成功,会卡住没反应...
  8. 如何实现input输入框自带清除按钮
  9. (vue基础试炼_02)使用vue.js实现隔2秒显示不同内容
  10. 解决“Failure to find com.oracle:ojdbc6:jar”,手动安装ojdbc的jar包到maven私仓