Skip to main content

16 juillet 2026 Archivé

Configure OpenSearch for Nodes in Secondary Data Center for Omnissa Access

After you use the OVA file exported from the primary data center to create nodes in the secondary data center, you must manually set the cluster.initial\_master\_nodes property value for all the nodes in the secondary cluster to form the OpenSearch cluster for the secondary data center nodes.

Configure each of the nodes in the secondary data center with the same property value that is entered for the first node in the secondary data center.

Procedure

  1. In the first node in the secondary data center, access the file for editing.

    vi /opt/wss/opensearch/config/opensearch.yml

  2. Edit the following line to add the cluster.initial_master_nodes property value as the FQDN of the first node in the secondary data center.

    cluster.initial_master_nodes: firstnode.fqdn.from.secondary.site

  3. Configure each of the nodes in the secondary data center with the same property value.

  4. Restart the OpenSearch services on all the nodes.

    \{ \{service opensearch restart \} \}

  5. Verify that the OpenSearch clustering is set up correctly on all nodes.

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

    This command which verifies the OpenSearch health, should return a result similar to the following.

    { "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 
    }
    

What to do next

Configure the nodes in the secondary data center for OpenSearch replication.

Cette page vous a-t-elle été utile ?

Envoyer un commentaire sur cette rubrique

Cette rubrique vous a-t-elle été utile ?

N'indiquez aucune information personnelle ou confidentielle.

Génération du lien…