Show Table of Contents
2.2. 三層式的 keepalived Load Balancer 配置
〈圖形 2.2, “三層式的 Load Balancer 配置”〉顯示了典型的三層式 Keepailved Load Balancer 拓樸。在此範例中,active LVS 路由器會將來自網際網路的路由請求導向到真實伺服器集區。接下來,真實伺服器的每台伺服器皆會透過網路存取共享的資料來源。

圖形 2.2. 三層式的 Load Balancer 配置
這項配置適用於繁忙的 FTP 伺服器,要存取的資料都儲存在單一、高可用性的伺服器上,由每個實體伺服器透過 NFS 或 Samba 來存取。這個拓樸也適用於存取單一、高可用性資料庫的網站。除此之外,使用 Load Balancer 外掛程式的「動態-動態」(active-active)設定,使用者可以設定一個高可用性的叢集,為其他類似情形提供服務。
上述範例的第三層並不一定要使用 Load Balancer 外掛程式,但不使用高可用性的解決方案可能會嚐到單點失效的苦果。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.