為確保外部部署中 Platform Services Controller的高可用性,您必須在 vCenter Single Sign-On 網域中至少安裝或部署兩個已加入的Platform Services Controller 執行個體。當您使用第三方負載平衡器時,可確保在不停機的情況下自動進行容錯移轉。

含負載平衡器的 Platform Services Controller

圖 1. Platform Services Controller執行個體的負載平衡配對範例
兩個已加入的 Platform Services Controller 執行個體已連線到負載平衡器。兩個 vCenter Server 執行個體也已連線到同一負載平衡器。

您可以在每個站台上均使用第三方負載平衡器,用以設定Platform Services Controller高可用性,以便對此站台進行自動容錯移轉。如需負載平衡器容許的 Platform Services Controller執行個體數目上限的相關資訊,請參閱《組態上限》說明文件。

重要: 若要在負載平衡器後方設定 Platform Services Controller高可用性, Platform Services Controller 執行個體必須為相同作業系統類型。負載平衡器不支援混合作業系統 Platform Services Controller執行個體。

vCenter Server執行個體已連線到負載平衡器。當 Platform Services Controller執行個體停止回應時,負載平衡器會在不停機的情況下於其他正常運作的 Platform Services Controller 執行個體之間自動散佈負載。

含跨 vCenter Single Sign-On 站台之負載平衡器的 Platform Services Controller

圖 2. 跨兩個站台之 Platform Services Controller執行個體的兩個負載平衡配對範例
兩個已加入的 Platform Services Controller 執行個體配對。每個 Platform Services Controller 配對均位於獨立站台中。每個配對均已連線到負載平衡器。每個負載平衡器均已連線到兩個 vCenter Server 執行個體。

您的 vCenter Single Sign-on 網域可能跨多個站台。為確保在整個網域中使用自動容錯移轉實現 Platform Services Controller高可用性,您必須在每個站台中設定獨立負載平衡器。

不含負載平衡器的 Platform Services Controller

圖 3. 不含負載平衡器的兩個已加入的 Platform Services Controller執行個體範例
兩個複寫的 Platform Services Controller 執行個體。每個 Platform Services Controller 執行個體均連線到兩個 vCenter Server 執行個體。

在同一站台中加入兩個或更多不含負載平衡器的 Platform Services Controller執行個體時,您需要設定 Platform Services Controller 高可用性,以對此站台進行手動容錯移轉。

備註: 如果 vCenter Single Sign-On 網域包括三個或更多 Platform Services Controller執行個體,您可以手動建立環形拓撲。環形拓撲可確保當其中一個執行個體發生故障時 Platform Services Controller的可靠性。若要建立環形拓撲,請針對您所部署的第一個和最後一個 Platform Services Controller執行個體執行 /usr/lib/vmware-vmdir/bin/vdcrepadmin -f createagreement 命令。

不含負載平衡器且跨 vCenter Single Sign-On 站台的 Platform Services Controller

圖 4. 兩個已加入的不含負載平衡器且跨兩個站台之 Platform Services Controller執行個體的配對範例
兩個複寫的 Platform Services Controller 執行個體配對。每個配對均位於獨立站台中且每個配對已連線到 vCenter Server 執行個體。
重要: 不支援在站台與網域之間重新指向 vCenter Server。如果站台中沒有任何正常運作的 Platform Services Controller執行個體,您必須在此站台中部署或安裝新的 Platform Services Controller 執行個體。這個新的 Platform Services Controller執行個體會成為現有 Platform Services Controller 執行個體的複寫合作夥伴。