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 =

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

Best regards

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