Connector catalog › Proxies and load balancing

Proxies and load balancing

HAProxy

HAProxy frontends, backends and servers, through its runtime socket.

Install it from HexaConnect's Connectors view.

In pictures

HAProxy : Backend map
Backend map
HAProxy : A server in DRAIN
A server in DRAIN
HAProxy : Validate, then reload
Validate, then reload
HAProxy : Admin socket console
Admin socket console
Resume the slideshow
Discovery

What you see

  • Process: version, connections, throughput
  • Frontends: sessions, 4xx and 5xx errors
  • Backends and servers: UP, DOWN, DRAIN, MAINT, weight, response time
  • Health checks, stick tables, loaded certificates
  • haproxy.cfg, passwords masked
Pro

Everyday actions

  • Take a server out of the pool (DRAIN), maintenance, back to ready
  • Change a weight, disable a health check
  • Clear a stick table
  • Validate then reload: nothing is reloaded if validation fails

Console

Admin socket in a tab.

Access

Runtime socket over the SSH session; permissions through the haproxy group or a sudo limited to the connector's commands.

Plan

Read with Discovery, actions with Pro or Enterprise.

Available

Driver and license

No third-party driver: Massive Dynamic code.

Documentation

Getting started

  1. Create an HAProxy session attached to an SSH session to the server.
  2. Enter the runtime socket path and the haproxy.cfg file.
  3. Choose the privileges: haproxy group or sudo -n.
  4. For actions: allow changes on the session.

Requirements

HAProxy 2.4 and later, runtime socket at level admin; socat on the server.

Recommended account

haproxy group, or a sudo rule limited to the connector's commands (provided).

Good to know

Nothing is reloaded if “haproxy -c” fails; no Data Plane API.

Connector documentation →

Trademarks mentioned belong to their respective owners; their mention implies neither partnership nor endorsement.