設定 Liberty 伺服器叢集
Liberty 可以配置在伺服器叢集中,以取得應用程式高可用性及進行調整。
只有在多伺服器型產品中(例如 WebSphere® Application Server Network Deployment Liberty 和 WebSphere Application Server for z/OS® Liberty),才能使用 collectiveController-1.0 特性及其功能。
在單一伺服器產品中(例如 WebSphere Application Server Liberty 或 WebSphere Application Server Liberty Core),無法使用這項特性。如果您有多伺服器型產品安裝架構,可以使用其 collectiveController-1.0 特性,來處理單一伺服器產品中的群體成員。
Liberty 伺服器叢集由配置在 Liberty 群體內某伺服器叢集中的兩個以上的 Liberty 伺服器組成。
在群體內,Liberty 伺服器叢集有唯一名稱。
collectiveController-1.0 特性透過 ClusterManager MBean 來支援 Liberty 伺服器叢集的若干作業:
- 列出叢集
- 啟動叢集
- 停止叢集
- 列出叢集成員
- 產生叢集外掛程式配置
如果要成為伺服器叢集的一部分,Liberty 必須是 Liberty 群體的成員,還必須配置 clusterMember 特性。
群體成員只能是一個伺服器叢集的成員。 所有叢集成員都必須是相同群體的成員。 在相同群體內,可以配置多個伺服器叢集。 下圖說明這些關係。
圖 1. Liberty 伺服器叢集
