Services directory for HA Search

The Search service relies on a file named serviceDirectory.json. This file should be identical for all of the search servers (not the ingress replicators) in your HA configuration.

Here you can find a sample file.
  • All hosts and ports point to load balancer-exposed addresses.
  • The entries for directory and search should all point to the load balancer address for search.
  • The activityIngress, rebuildSearchIndex, and searchIndexManage entries should point to the load balancer address for the ingress replicator.
  • If you are connecting only one Jive instance to your HA search configuration, you do not need to modify the second section of serviceDirectory.json (tenantSpecificServiceDirectory). tenantSpecificServiceDirectory allows you to uniquely configure multiple instances to a shared search service.
{
  "defaultServiceDirectory" : {
    "directory" : {
      "host" : "haproxy.yourdomain.com",
      "port" : 20000
    },
    "search" : {
      "host" : "haproxy.yourdomain.com",
      "port" : 20000
    },
    "searchIndexManage" : {
      "host" : "haproxy.yourdomain.com",
      "port" : 19000
    },
    "rebuildSearchIndex" : {
      "host" : "haproxy.yourdomain.com",
      "port" : 19000
    },
    "activityIngress" : {
      "host" : "haproxy.yourdomain.com",
      "port" : 19000
    }
  }
}

Diagram of the JSON services directory