當您使用從主要資料中心匯出的 OVA 檔案,在次要資料中心建立節點之後,請設定這些節點。

執行這項作業的原因和時機

針對次要資料中心中的每個節點遵循下列步驟。

程序

更新 IP 表格。
  1. /usr/local/horizon/scripts/updateiptables.hzn 檔案中,更新次要資料中心中所有節點的 IP 位址。
    1. vi /usr/local/horizon/scripts/updateiptables.hzn

    2. 找到並取代 ALL_IPS一行。指定以空格分隔的 IP 位址。

      ALL_IPS="Node1_IPaddress Node2_IPaddress Node3_IPaddress"

    3. 執行下列程式碼以開啟連接埠。

      /usr/local/horizon/scripts/updateiptables.hzn

  2. 設定 Elasticsearch 和 Ehcache 複寫的節點,並確認這些節點皆已正確設定。

    請參閱修改複寫的主要資料中心中的指示,並將其套用至次要資料中心中的節點。

    請注意,Cron 工作已停用。