Adding new search node to your configuration

Here you can find how to add a new search node to your configuration.

  1. Take all ingress replicators out of the load balancer rotation.
  2. Wait for all ingress replicators to deliver pending activities. To do this, from the command line run: curl http://ir0x.yourdomain.com:29000/logging/metric/listCounters | grep InQueue
    This should return something like the following, which indicates that you are replicating to search01.yourdomain.com:30000 and search02.yourdomain.com:30000, and that the InQueue metric is 0.0, which means that all activities have been delivered:
    {"key":"counter>com.jivesoftware.service.activity.stream.replicator.ActivityStreamReplicator>search01.yourdomain.com_30000>InQueue","metric":0.0},
                        {"key":"counter>com.jivesoftware.service.activity.stream.replicator.ActivityStreamReplicator>search02.yourdomain.com_30000>InQueue","metric":0.0}
  3. Shut down the ingress replicators:
    jive stop ingress-replicator
  4. Install the third search service 3 (search03.yourdomain.com).
    For more information, see Installing one or more Search servers.
  5. Update the ingress replicator settings for the additional search node.
    For more information, see Pointing to new search node.
  6. Rebuild the search index. You can use one of the following ways:
    Option Description
    If the index is large (multiple gigabytes) It's faster to copy the active search index from search service 1 or 2 to the new search service 3. You can find the active search index by looking in /usr/local/jive/services/search-service/main-args.properties file for CONTENT_SEARCH_HOME_DIRECTORY=var/data/contentSearch/. This property lists the location of the search indexes.
    If the index is small (less than two gigabytes) or you do not care how long the rebuild takes
    1. Complete Steps 7-9.
    2. Start a rebuild in the Admin Console at Admin Console: System > Settings > Search.
  7. Start search service 3.
    jive start search
  8. Add the third search node to your load balancer.
  9. Start up all of the ingress replicators and make sure all of the search services are running.
    jive start ingress-replicator

Diagram of HA On-prem Search: How to add or remove a Search node