天天看點

Hyper-V Server故障轉移群集安裝

1) 建立最多包含64個節點的群集,對企業環境進行擴充,而老版本隻能包含16個節點。

2) 通過對基礎架構進行擴充,每個群集最多可運作8,000個虛拟機,每個節點最多可運作1,024個虛拟機。

3) 具有控制虛拟機群集管理和其他群集角色的功能。

4) 相比Windows Server 2008 R2,增加了對于擴充檔案伺服器的支援。

5) 支援群集感覺更新 (CAU),群集感覺更新 (CAU)是一個自動化的功能,允許更新自動應用于群集伺服器中的主機作業系統,并且更新過程中的可用性損失極小或為零

6) 在運作 Windows Server 2012 R2的群集中,管理者可以配置對同時運作Windows Server 2012 R2的群集虛拟機上的服務進行監視。

7) Microsoft iSCSI Software Target是Windows Server 2012 R2中的一項內建功能。它可通過 TCP/IP 從伺服器提供存儲,包括故障轉移群集中托管的應用程式的共享存儲。在Windows Server 2012 R2中,可使用故障轉移群集管理器或 Windows PowerShell cmdlet将高度可用的iSCSI目标伺服器配置為群集角色。

<a></a>

· 活動目錄伺服器

計算機名:BJ-DC-01

所在域名稱:BJCloud.com

IP位址:192.168.100.1/24

作業系統:Windows Server 2012 R2 Datacenter中文版

已安裝角色:活動目錄服務

· Hyper-V伺服器1—群集節點A

計算機名:BJ-VMHost-01

IP位址1:192.168.100.2/24

IP位址2:192.168.100.3/25

· Hyper-V伺服器2—群集節點B

計算機名:BJ-VMHost-02

IP位址1:192.168.100.4/24

IP位址2:192.168.100.5/24

· 共享存儲伺服器

計算機名:BJ-SS-01

IP位址:192.168.100.10/24

· 192.168.100.6 群集虛拟IP

1. 節點A,B加入AD域

2. 節點A和B能夠通路存儲

3. 節點A和B安裝所有更新檔,最好一緻

4. 防火牆需要打開3260端口,否則ISCSI發起程式無法找到存儲(本實驗環境關閉防火牆)

安裝Windows Server 2012 R2 Datacenter故障轉移群集比較簡單,隻需要在群集節點分别開啟故障轉移群集功能,若是需要多資料路徑通路群集共享,還需要開多路徑I/O功能。下面以群集A節點伺服器BJ-VMHost-01安裝這兩項功能為例

1. 打開伺服器管理器,點選添加角色和功能項

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432648uPyU.png" target="_blank"></a>

2. 出現添加角色和功能向導頁面,閱讀相關資訊後點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432652lOpd.png" target="_blank"></a>

3. 選擇安裝類型,選擇基于角色或基于功能的安裝,點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_14054326546bGF.png" target="_blank"></a>

4. 選擇需要安裝角色或功能的伺服器,點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_14054326595XkW.png" target="_blank"></a>

5. 選擇伺服器角色處保持預設,點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432663trWz.png" target="_blank"></a>

6. 選擇功能處勾選”多路徑I/O”及“故障轉移群集”功能,點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432666LjbC.png" target="_blank"></a>

7. 确認安裝所選内容無誤後勾選”如果需要,自動重新啟動目标伺服器”,點選安裝

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432670dn0M.png" target="_blank"></a>

8. 等待安裝完成

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432674DFO3.png" target="_blank"></a>

9. 重複上述步驟,完成節點B伺服器BJ-VMHost-02功能安裝

配置叢集

1. 點選伺服器管理器,點選工具,選擇“故障轉移群集管理器”

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432677VUFY.png" target="_blank"></a>

2. 右擊“故障轉移群集管理器”,選擇建立群集

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432679Newy.png" target="_blank"></a>

3. 出現建立群集向導,點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432682rVYp.png" target="_blank"></a>

4. 添加群集伺服器。這裡添加A,B兩個節點,然後點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432685FGOP.png" target="_blank"></a>

5. 目前沒有添加存儲,選”否”等添加完存儲後再再驗證群集

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_14054326872pfr.png" target="_blank"></a>

6. 設定群集名稱及群集IP位址

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432688Y5Sh.png" target="_blank"></a>

7. 确認無誤後點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432689drwg.png" target="_blank"></a>

8. 開始建立群集,等待建立完成,但會提示警告,因為目前沒有添加存儲

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432690A3Yi.png" target="_blank"></a>

9. 點選” 完成”,檢視建立的Hyper-V Server群集

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432692dt3P.png" target="_blank"></a>

10. 添加磁盤,右擊磁盤點選添加磁盤(已經在BJ-SS-01中建立好的虛拟磁盤)

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432693fn8b.png" target="_blank"></a>

11. 這裡顯示目前可用的虛拟磁盤,點選确定

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432695aSFl.png" target="_blank"></a>

12. 此時所有可用的虛拟磁盤已加入至磁盤資源池了

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_14054326957xeA.png" target="_blank"></a>

13. 右鍵其中一個磁盤選擇添加到群集共享卷

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432696ij1f.png" target="_blank"></a>

14. 配置仲裁盤(建議劃分1G左右的盤作為仲裁盤),本實驗劃分了2GB的空間作為仲裁盤。右擊叢集,點選“更多的操作”,選擇配置群集仲裁設定

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432698DuTg.png" target="_blank"></a>

15. 仲裁配置向導,點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432699agKL.png" target="_blank"></a>

16. 選擇仲裁方式,選擇選擇仲裁見證,點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432700umKm.png" target="_blank"></a>

17. 配置磁盤見證,點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432701ij8M.png" target="_blank"></a>

18. 選擇合适的磁盤作為仲裁盤,點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_14054327025Q0n.png" target="_blank"></a>

19. 配置資訊确認無誤後點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432703LcPu.png" target="_blank"></a>

20. 配置完成

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432705YzQE.png" target="_blank"></a>

上面已經建立Hyper-V Server叢集,現在驗證叢集是否成功

1. 右擊叢集,點選”驗證叢集”

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432706ueRS.png" target="_blank"></a>

2. 出現叢集驗證向導,點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432707BFzd.png" target="_blank"></a>

3. 選擇運作全部測試,點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_14054327087On4.png" target="_blank"></a>

4. 這裡可以選擇驗證存儲,也可以不選,但建議還是選擇,點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_1405432710U5rj.png" target="_blank"></a>

5. 驗證群集概覽,沒有問題,點選下一步

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_14054327126CKO.png" target="_blank"></a>

6. 驗證群集配置

<a href="http://ericxuting.blog.51cto.com/attachment/201407/15/8995534_14054327133MMi.png" target="_blank"></a>

7. 檢視群集報告,若沒有問題就徹底大功告成。如果有問題根據群集驗證生成的報告逐一解決。

     本文轉自 徐庭 51CTO部落格,原文連結:http://blog.51cto.com/ericxuting/1438638,如需轉載請自行聯系原作者

繼續閱讀