GCP - Running Windows Server Failover Clustering Step by Ste
手把手介紹如何在 Google Platform 上面建立 Windows Server 容錯移轉叢集並達到IIS Web Application HA 的效果。此篇為下集從叢集容錯管理設定到如何在 GCP 中達成 IIS 的請求移轉。 本篇架構參考 Google 官方文件的 Running Windows Server Failover Clustering。主要針對整體操作完整的手把手教學並針對細節描述。而針對讀者在閱讀上更能融入整體教學,稍微調整了原文的順序。 在上篇已建置完 GCP 主機並加入至 AD 內做管理,這邊將接手完成叢集容錯的安裝與設定 Setting up failover clustering接著在 wsfc-1 與 wsfc-2 完成以下動作
首先完成 Failover Clustering 安裝: 接著開始加入節點: 完成後即可看到當前節點出現兩台新增的主機與當前配置狀態(Assigned Vote 與 Current Vote): 詳細步驟可以參考微軟官方的 Create a Failover Cluster.aspx#Validate%20the%20configuration) Creating the file share witness而當成將兩台主機都加入叢集內作為可使用節點時,我們需要透過一個公平的投票機制選出誰為當前主要運作節點接手服務處理,為此我們需要建立一個 quorum 制度來做仲裁。 這部分很簡單的透過一個sharefolder的方式來傳給 AD ,告知當前哪一台主機離線則需要將判斷是否要將工作交給另外一台接手。 GCP 目前是相信可透過 Live Migration 與 automatic restart 來提供可信賴的 Share Witness 服務。 這邊透過以下步驟可以透過檔案分享建立起見證機制來控制當前叢集處理的角色分配: 建立檔案分享路徑
在叢集容錯處理中加入見證判斷的分享檔案配置
(编辑:ASP站长网) |