기본 데이터 센터에서 내보낸 OVA 파일을 사용하여 보조 데이터 센터에서 노드를 생성한 후에 Elasticsearch 복제를 위한 노드를 구성합니다.

보조 데이터 센터의 각 노드에 대해 다음 단계를 따르십시오.

프로시저

  1. 기본 데이터 센터 클러스터의 로드 밸런서 FQDN을 보조 데이터 센터 클러스터에 있는 각 노드의 /usr/local/horizon/conf/runtime-config.properties 파일에 추가합니다.
    1. /usr/local/horizon/conf/runtime-config.properties 파일을 편집합니다.
      vi /usr/local/horizon/conf/runtime-config.properties
    2. 다음 줄을 파일에 추가합니다.
      analytics.replication.peers=https://LB_FQDN_of_primary_cluster
  2. 모든 노드에서 VMware Identity Manager 서비스를 다시 시작합니다.
    service horizon-workspace restart
  3. 클러스터의 모든 노드에서 다음 명령을 실행하여 클러스터가 올바르게 설정되어 있는지 확인합니다.

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

    Elasticsearch 상태를 확인하는 명령은 다음과 유사한 결과를 반환합니다.

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