• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

ElasticSearch cluster with master failure...

#1
I have elasticsearch setup and working with 2 nodes, everything works great. However if I shut down the master (and the 2nd node takes over as master) -- the enhanced search doesn't recognize the new master. I'm new to this but I assume there needs to be a way to specify multiple elasticsearch servers so in case the master goes down, the other node takes over.

I don't see the ability to enter multiple ES servers in the search options...

How does XenForo need to be setup to have redundant elasticsearch service?
 

Mike

XenForo developer
Staff member
#2
The failover would have to happen outside of XenForo. Elasticsearch is built entirely over HTTP, so essentially you could handle high availability with any sort of HTTP proxy. (You can actually use elasticsearch itself on localhost, assuming you're not using that already, and have that effectively be a proxy with node.client enabled).
 
#3
Got ya, great suggestion. Thanks. I think I will simply set up a legitimate proxy with hardware failover. In fact, we already do this with snapt/haproxy.