什么是故障转移群集? (What is a failover cluster?)

SQL Server故障转移群集由一组服务器组成,这些服务器以特殊方式运行启用群集的应用程序以最大程度地减少停机时间。 故障转移是如果一个节点崩溃或变得不可用,而另一个节点接管并自动重新启动应用程序而无需人工干预的过程,

SQL Server故障转移群集提供什么? (What does SQL Server failover clustering provide?)

A SQL Server failover cluster is also known as a High-availability cluster, as it provides redundancy for critical systems. The main concept behind failover clustering it to eliminate a single point of failure by including multiple network connections and shared data storage connected via SAN (Storage area network) or NAS (Network attached storage)

SQL Server故障转移群集也称为高可用性群集,因为它为关键系统提供了冗余。 故障转移背后的主要概念是通过将多个网络连接和通过SAN(存储区域网络)或NAS(网络附加存储)连接的共享数据存储包括在内,将其集群化以消除单点故障

Each node in a cluster environment is monitored all the time via a private network connection called the heartbeat. A system must be able to overcome the situation called “split-brain” which occurs if all heartbeat links go down simultaneously. Then, all other nodes can conclude that one node is down and will try to restart the application on themselves. A failover cluster uses a quorum-based approach to monitor overall cluster health and maximize node-level fault tolerance

群集环境中的每个节点始终通过称为心跳的专用网络连接进行监视。 系统必须能够克服称为“裂脑”的情况,如果所有心跳链接同时中断,就会发生这种情况。 然后,所有其他节点可以得出一个节点已关闭的结论,并尝试自行重启应用程序。 故障转移群集使用基于仲裁的方法来监视整个群集的运行状况并最大化节点级别的容错能力

例 (Example)

A cluster named CLUSTER-01 contains two servers – nodes, named CLUSTER-01-SRV-01, CLUSTER-01-SRV-02. There is one SQL Server instance called SQL-INST-01. Also, there is a shared storage connected to the all three servers

名为CLUSTER-01的群集包含两个服务器–名为CLUSTER-01-SRV-01,CLUSTER-01-SRV-02的节点。 有一个名为SQL-INST-01SQL Server实例。 另外,还有一个共享存储连接到所有三个服务器

When the server CLUSTER-01-SRV-01 crashes, the failover cluster service in CLUSTER-01 is aware of the situation through the heartbeat and automatically starts the SQL Server instance SQL-INST-01 on the CLUSTER-01-SRV-02 server

当服务器CLUSTER-01-SRV-01崩溃时,CLUSTER-01中的故障转移群集服务会通过心跳了解情况,并在CLUSTER-01-SRV-02服务器上自动启动SQL Server实例SQL-INST-01。

In a SQL Server failover cluster, data needs to be on a shared storage. The cluster can move the SQL Server instance if one node is having a problem because all the data is shared. This solution can guarantee higher up-time and redundancy. Because there is only one storage space, regular SQL Server maintenance requirements are still needed. Also, if the shared storage isn’t redundant, after a storage failure, the SQL Server database will be unavailable. For the busy SQL Server environments, where the downtime is measured in seconds, the “falling over” time needs to be considered because the change between nodes isn’t instant

在SQL Server故障转移群集中,数据需要位于共享存储上。 如果一个节点由于共享所有数据而出现问题,则群集可以移动SQL Server实例。 该解决方案可以保证更长的正常运行时间和冗余。 因为只有一个存储空间,所以仍然需要常规SQL Server维护要求。 另外,如果共享存储不是冗余的,则在存储失败后,SQL Server数据库将不可用。 对于繁忙SQL Server环境(其中停机时间以秒为单位),由于节点之间的更改不是即时的,因此需要考虑“掉落”时间

SQL Server故障转移群集配置 (SQL Server failover cluster configurations )

There are four main node configurations available in SQL Server failover clustering: Active/Active (Multi-Instance Failover Cluster), Active/Passive, N+1, and N+M

SQL Server故障转移群集中有四种主要节点配置可用: 主动/主动 (多实例故障转移群集), 主动/被动,N + 1N + M

An active/active failover cluster or multi-instance failover cluster, shares resources between virtual servers. Each node can host two or more virtual servers at the same time. Traffic can be passed onto the second active node or can be load balanced across the remaining nodes if there is more than one node left active

主动/主动故障转移群集或多实例故障转移群集在虚拟服务器之间共享资源。 每个节点可以同时托管两个或多个虚拟服务器。 流量可以传递到第二个活动节点上,或者如果剩余多个活动节点,则可以在其余节点之间实现负载平衡

Active/passive failover clusters have standby nodes that are activated only when the primary node is down. The primary node owns all the resources. In case of a failure, the standby node takes over all the resources and recovers the database from the database files and transaction logs

主动/被动故障转移群集具有备用节点,这些备用节点仅在主节点关闭时才被激活。 主节点拥有所有资源。 如果发生故障,备用节点将接管所有资源,并从数据库文件和事务日志中恢复数据库。

An N+1 failover cluster is based on active/passive nodes where two or more nodes share the same failover node. In the situation where all N nodes fail, the standby node must be capable to take over all load

N + 1故障转移群集基于主动/被动节点,其中两个或更多节点共享同一故障转移节点。 在所有N个节点都发生故障的情况下,备用节点必须能够接管所有负载

An N+M failover cluster has two or more active nodes and two or more standby nodes. It is cheaper for implementation than the N+1 configuration, because the load can be distributed to more than one standby node

N + M故障转移群集具有两个或多个活动节点和两个或多个备用节点。 与N + 1配置相比,它的实现成本更低,因为可以将负载分配给多个备用节点

翻译自: https://www.sqlshack.com/sql-server-failover-clustering/

什么是SQL Server故障转移群集相关推荐

  1. windows故障转移群集和mysql_Windows Server 故障转移群集 (WSFC) 与 SQL Server

    Windows Server 故障转移群集 (WSFC) 与 SQL Server 02/18/2014 本文内容 "Windows Server 故障转移群集"(WSFC) 群集 ...

  2. SQL Server 2005故障转移群集

    SQL Server 2005故障转移群集 SQL Server使用最广的高可用性技术叫做故障转移群集.SQL Server故障转移群集是一项基于Windows故障转移群集的一种技术.SQL Serv ...

  3. sql server 群集_部署SQL Server以使用群集共享卷进行故障转移群集–第1部分

    sql server 群集 Microsoft SQL Server provides us with a wide variety of solutions to architect High av ...

  4. 如何在 SQL Server 2005 故障转移群集中添加或删除节点(安装程序)

    如何在 SQL Server 2005 故障转移群集中添加或删除节点(安装程序) 使用此过程管理 Microsoft SQL Server 2005 故障转移群集实例中的节点. 重要提示: 若要更新或 ...

  5. 项目:SQL server 2008构建群集——环境部署

    网络拓扑图 windows 2008 (1) 操作系统:Microsoft Windows Server 2008 R2 (64) SQL版本 :SQL server 2008 R2 64 位 角色: ...

  6. win2016搭建故障转移群集(sql2016)

    故障转移群集的先决条件: 必须要有共享存储,一台虚拟机至少两个网卡(一个业务,一个心跳),要有AD域 实验环境:在esxi上新建4台2016虚拟机,划共享磁盘给虚拟机,安装sql2016数据库 网络规 ...

  7. 微软故障转移集群服务器,故障转移群集

    故障转移群集 12/15/2008 本文内容 Microsoft SQL Server 2005 中的故障转移群集为整个 SQL Server 实例提供高可用性支持.例如,您可以将故障转移群集的一个节 ...

  8. 故障转移集群服务器 重装系统,安装故障转移群集前的准备工作

    安装故障转移群集前的准备工作 08/24/2016 本文内容 适用于: SQL Server(所有支持的版本) 安装 SQL Server 故障转移群集之前,必须选择运行 SQL Server 的硬件 ...

  9. sql server 2008 故障转移群集

    数据库群集的分类: (1)主动/被动群集(常用模式) 布署简单.比较安全.应用广泛 .资源利用率低 (2)主动/主动群集 没有闲置节点,资源利用率高.安全性差,争抢资源 (3)N+1群集(较好模式) ...

最新文章

  1. 七夕节,阿里云AI发女朋友了
  2. 码上公益首秀,让科技更有温度!
  3. python import from class_Python: import vs from (module) import function(class) 的理解
  4. css3中clip属性
  5. 响应式web(一):什么是响应式web,异步调用,callback的本质,servlet3的异步
  6. delphi 调用浏览器内核_HFL:基于混合模糊测试的Linux内核漏洞挖掘
  7. 牛客网多校联合训练1 J Different Integers(可持久化线段树/莫队)
  8. tortoisegit 还原到某个版本
  9. Machine Learning for Communication Networks
  10. Spring Cloud Alibaba @SentinelResource配置详解
  11. Qt 自定义QWidget中区分鼠标单击和双击
  12. obs多推流地址_如何使用OBS推流直播线上广交会(图文详解) | 文末福利
  13. 对六自由度机械臂的运动控制及python实现(附源码)
  14. 阿里巴巴电话面试(遭到了阿里的完虐,被一顿痛批)
  15. 使用GitHub搭建个人博客
  16. MongoDB启动shutting down with code:100处理
  17. 最详细的原版win8系统安装指南,重装原版系统不再求人!
  18. 什么是https证书,有什么优势?
  19. x264 代码重点详解 详细分析
  20. Python基础 | Miniconda的安装

热门文章

  1. codeblocks 编译java_在CodeBlocks中发布编译程序
  2. python的xlwt库的作用_Python:使用第三方库xlwt来写Excel
  3. IDEA进行远程调试
  4. 开发基于vue前端框架下的系统的UI自动化,记录总结踩的坑
  5. 机器学习实践测试驱动的开发方法pdf
  6. 【习题 7-2 UVA-225】Golygons
  7. javascript 原生事件综合查询
  8. jQuery学习(六)—jQuery对象的创建
  9. JavaScript学习(五十八)—作用域链
  10. 多线程android代码,android入门 — 多线程(一)(示例代码)