Adding new search node to your configuration
Here you can find how to add a new search node to your configuration.
- Take all ingress replicators out of the load balancer rotation.
-
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 tosearch01.yourdomain.com:30000
andsearch02.yourdomain.com:30000
, and that the InQueue metric is0.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}
-
Shut down the ingress replicators:
jive stop ingress-replicator
-
Install the third search service 3 (
search03.yourdomain.com
).For more information, see Installing one or more Search servers. -
Update the ingress replicator settings for the additional search node.
For more information, see Pointing to new search node.
-
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 forCONTENT_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 -
Start search service 3.
jive start search
- Add the third search node to your load balancer.
-
Start up all of the ingress replicators and make sure all of
the search services are running.
jive start ingress-replicator
