Skip to main content

2026 年 7 月 16 日

修改複寫的主要資料中心

在您設定次要資料中心之前,請先為叢集間的 OpenSearch 複寫設定主要資料中心。

OpenSearch 是一個內嵌在 Omnissa Access 虛擬應用裝置中的搜尋和分析引擎,可用於稽核、報告和目錄同步記錄等作業。

先決條件

您已在主要資料中心中設定 Omnissa Access 叢集。

程序

請在主要資料中心叢集的所有節點中進行這些變更。

  1. 將次要資料中心叢集的負載平衡器 FQDN 新增至主要資料中心叢集中各個節點的 /usr/local/horizon/conf/runtime-config.properties 檔案。

  2. 編輯 /usr/local/horizon/conf/runtime-config.properties 檔案。

    vi /usr/local/horizon/conf/runtime-config.properties

  3. 將此行新增至檔案中:

    analytics.replication.peers=https://LB\_FQDN\_of\_second\_cluster

  4. 在所有節點上重新啟動 Omnissa Access 服務。

    service horizon-workspace restart

  5. 在叢集中的所有節點上執行下列命令,以確認叢集已正確設定。

    curl 'http://localhost:9200/_cluster/health?pretty'

    用來確認 OpenSearch 健全狀況的命令應該會傳回如下的結果。

    {
      "cluster_name" : "horizon",
      "status" : "green",
      "timed_out" : false,
      "number_of_nodes" : 3,
      "number_of_data_nodes" : 3,
      "discovered_master" : true,
      "active_primary_shards" : 90,
      "active_shards" : 180,
      "relocating_shards" : 0,
      "initializing_shards" : 0,
      "unassigned_shards" : 0,
      "delayed_unassigned_shards" : 0,
      "number_of_pending_tasks" : 0,
      "number_of_in_flight_fetch" : 0,
      "task_max_waiting_in_queue_millis" : 0,
      "active_shards_percent_as_number" : 100.0
    }
    

後續步驟

若要驗證主要資料中心內的叢集是否設定正確,請檢閱主控台的 [監控] > [復原能力] 頁面中的儀表板。

此頁面對您有幫助嗎?

針對本主題提供意見回饋

本主題對您有幫助嗎?

請勿填寫任何個人或機密資訊。

正在產生連結…