You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by "Jens M. Kofoed" <jm...@gmail.com> on 2021/09/09 09:51:15 UTC

How can HAProxy detect if a node is disconneted

Hi

I'm setting up a HAProxy (HAP) in front of our NIFI cluster. Up to now we
have just used DNS round robin, and no load balancing. Therefore we are
looking at HAP.
I can see that HAP can check if each node is available by http response 2xx
and 3xx codes. But if I'm disconnecting a node the web UI is still
available and http listener is also active.

Is it possible via EL to detect if nodes cluster status? If so, I could
create a PG to listen for health check and response a status code depending
on the nodes cluster status.

Kind regards
Jens M. Kofoed