Seafile cluster and Elastic search

Dear all,

we plan a Seafile cluster with three nodes but without real time backup at the moment.
I searched all single point of failure in the concept.

Which is the best way to install Elasticsearch? Should I setup an external cluster or are the internal instances in seafile better for a cluster configuration? If I setup an external Elasticsearch cluster is it possible to configure multiple es_hosts in the seafevents.conf like that?

es_host = 192.168.1.101 192.168.1.102 192.168.1.103

Or do I need to setup a HAProxy for Elasticsearch, which knows the status of the elasticsearch nodes and if Elasticsearch crashs on 192.168.1.101 HAProxy will only forward the traffic to the other nodes. In this config seafevents.conf knows only the HAProxy IP like 192.168.1.100.

Best regards
Wiesel82

I think you need the latter - using haproxy to load balance among multiple ES servers.