SQLServerAlwayson搭建四:故障转移集群配置

  1. 确定仲裁模式
    配置故障转移集群的时候,如果集群节点是奇数,那么使用多数节点;如果集群节点是偶数,那么使用多数节点和文件共享 (配置一个共享文件夹,各个节点都能访问这个共享文件夹)
    SQL Server Alwayson搭建四:故障转移集群配置
    因为是偶数节点(sql01和sql02),因此选择多数节点和文件共享模式
    2.安装故障转移集群,sql01和sql02都安装(可用域账号登录安装,如果是本地账户,安装完成后用域账号重新登录)
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    勾选Failover Clustering
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    勾选必要时重启
    SQL Server Alwayson搭建四:故障转移集群配置
  2. 配置故障转移集群
    SQL Server Alwayson搭建四:故障转移集群配置
    点击Failover Cluster Manager
    SQL Server Alwayson搭建四:故障转移集群配置
    点击Validate Configuration...
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    点击Browse...
    SQL Server Alwayson搭建四:故障转移集群配置
    点击Advanced...
    SQL Server Alwayson搭建四:故障转移集群配置
    点击Find Now
    SQL Server Alwayson搭建四:故障转移集群配置
    选择SQL01,SQL02
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    验证完成后点击Finish,如下
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    输入集群名称:sqlalwayson,配置IP:192.168.0.110
    SQL Server Alwayson搭建四:故障转移集群配置
    去掉勾选 Add all eligible storage to the cluster
    SQL Server Alwayson搭建四:故障转移集群配置
    点击Finish,集群创建成功,如下
    SQL Server Alwayson搭建四:故障转移集群配置
  3. 配置仲裁
    配置前先创建共享文件夹:在DC创建quorumshare文件夹,并设置共享
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    sql01与sql02验证访问和读写
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    仲裁配置,More Actions->Configure Cluster Quorum Settings...
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    选择 Select the quorum witness
    SQL Server Alwayson搭建四:故障转移集群配置
    选择 Configure a file share witness
    SQL Server Alwayson搭建四:故障转移集群配置
    输入共享路径:\SQLDC\quorumshare
    SQL Server Alwayson搭建四:故障转移集群配置
    SQL Server Alwayson搭建四:故障转移集群配置
    点击 Finish
    至此,故障转移集群配置完成

新闻名称:SQLServerAlwayson搭建四:故障转移集群配置
URL分享:http://pwwzsj.com/article/jjceep.html