After you create nodes in the secondary data center by using the OVA file exported from the primary data center, configure the nodes for Elasticsearch replication.

Follow these steps for each node in the secondary data center.


  1. Add the load balancer FQDN of the primary data center cluster to the /usr/local/horizon/conf/ file of each node in the secondary data center cluster.
    1. Edit the /usr/local/horizon/conf/ file.
      vi /usr/local/horizon/conf/
    2. Add this line to the file:
  2. Restart the VMware Identity Manager service on all the nodes.
    service horizon-workspace restart
  3. Verify that the cluster is set up correctly by running the following command on all the nodes in the cluster.

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

    The command, which verifies Elasticsearch 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,
      "active_primary_shards" : 20,
      "active_shards" : 40,
      "relocating_shards" : 0,
      "initializing_shards" : 0,
      "unassigned_shards" : 0,
      "delayed_unassigned_shards" : 0,
      "number_of_pending_tasks" : 0,
      "number_of_in_flight_fetch" : 0