Create your first pool & Enroll your first member

Create your first pool

Step 1 — Add pool

  1. Go to Pools → Add pool
  2. Choose the HAProxy template
  3. Name the pool (e.g. production-edge)
  4. After create, you land in the pool with a setup banner

Step 2 — Connect DNS (Settings)

ServerCTL needs API access to authoritative DNS to create/update the failover A record.

Cloudflare

cPanel / WHM

You can save reusable Cloudflare credentials under Settings → API providers and link them to pools without re-entering tokens.

Step 3 — Enrol the first member

On Overview → Add member:

Field Notes
Member template
HAProxy balancer
Hostname
Must match JSON hostname from the agent; set BALCTL_HOSTNAME on the VM if OS hostname differs
Allowed source IPs
VM outbound IPv4 to serversctl.com (egress), not necessarily SSH address

After creating, copy the one-shot install command immediately and run it in the HAProxy Server — the enrollment secret is shown once.

The command:

Within a few seconds, the member tab should show a green heartbeat.

Step 4 — Set the public failover hostname

Settings or Managed DNS tab:

Step 6 — Add a standby (High Availability)

Repeat enrollment on a second VM. Enable Automatic failover in Settings when ready for unattended promotion.


Revision #2
Created 2026-06-16 00:47:11 UTC by ServersCTL
Updated 2026-06-19 14:58:28 UTC by ServersCTL