當您使用從主要資料中心匯出的 OVA 檔案,在次要資料中心建立節點之後,請設定這些節點。
執行這項作業的原因和時機
針對次要資料中心中的每個節點遵循下列步驟。
程序
更新 IP 表格。
- 在 /usr/local/horizon/scripts/updateiptables.hzn 檔案中,更新次要資料中心中所有節點的 IP 位址。
vi /usr/local/horizon/scripts/updateiptables.hzn
找到並取代 ALL_IPS
一行。指定以空格分隔的 IP 位址。
ALL_IPS="Node1_IPaddress Node2_IPaddress Node3_IPaddress"
執行下列程式碼以開啟連接埠。
/usr/local/horizon/scripts/updateiptables.hzn
- 設定 Elasticsearch 和 Ehcache 複寫的節點,並確認這些節點皆已正確設定。