Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Windows Server 集群技術深度解析:NLB、CLB、MSCS 三大架構全景圖

編輯:Windows 2003 常見問題解答

三層式應用對應的集群層級

Microsoft 依三層架構 (前端/中介/後端) 提供三種集群技術:

  • NLB (Network Load Balancing):前端,基於 TCP/IP 的網路流量負載平衡,適用 Web 站點、終端服務、Web 應用。虛擬 IP (VIP) 對外服務,演算法隨機分派請求至節點。
  • CLB (Component Load Balancing):中介層,針對 COM+ 元件動態負載平衡,依當下負載決定由哪節點處理,需購買 Application Center 獨立授權。
  • MSCS (Microsoft Cluster Server):後端,提供容錯移轉,適用 SQL Server、Exchange 等有狀態服務。主/被動節點共享共享存儲,主動掛掉時被動接管 Session 狀態繼續服務。

核心差異對照表

技術層級目標決策機制典型應用授權
NLB前端可用性 + 延展性隨機/演算法分派Web、Terminal Service內建
CLB中介可用性 + 延展性依即時負載分派COM+ 元件應用需 Application Center
MSCS後端可用性 (容錯移轉)Client 決定/共享存儲SQL、Exchange內建 (Enterprise/Datacenter)

選型建議

  • 無狀態 Web 伺服器陣列 → NLB。
  • COM+ 企業級中介層 → CLB (預算允許)。
  • 資料庫、郵件等有狀態關鍵服務 → MSCS。
  • 三者可疊加部署,構建全棧高可用架構。
Copyright © Windows教程網 All Rights Reserved