Your first Enhance app server fills up. Disk is at 78 percent, mail queues are spiky during business hours, and one customer just asked for a WordPress site that does 1.2 million pageviews a month. The textbook answer is “add a node.” The non-textbook answer is everything you have to decide before you press the button: where does the new traffic land, how does the new IP get exposed to DNS, do customers move or do you only place new accounts on it, do you share storage between nodes or accept per-node home directories, and what happens when one of those nodes goes down on a Saturday.
What’s happening
Enhance’s scale-out story is genuinely two-tier. The orchestrator already manages multiple app servers — it’s not a hack, it’s the model. Adding a second app server is one form. From the orchestrator UI, you generate an enrollment token, run the installer on the new node with ROLE=app-server, and within minutes the new server shows up under Servers as Connected. That part is easy. The decisions live elsewhere:
Traffic placement. By default, customer sites are pinned to a specific app server. The orchestrator does not move them. If you want round-robin placement of new accounts, you set Server Groups and a placement policy — the panel picks the least-loaded eligible server when you provision a new website. Round-robin at the DNS level is the wrong layer; the customer’s site only exists on one app server’s disk, and a request that lands on the wrong IP gets a 404. Front the cluster with a load balancer that knows which node hosts which hostname (HAProxy with SNI, NGINX with a hostname map, or your cloud’s L7 LB pointed at an Enhance-aware backend). A common pattern: one floating public IP per app server, DNS records per customer-domain pointed at the right node, and a panel-managed ACME for TLS.
Storage. Enhance assumes per-node storage by default — each app server has its own /var/lib/docker and customer home directories. If you want any-server-can-serve-any-site, you need a shared filesystem under the customer data path. GlusterFS, CephFS, JuiceFS over S3, or NFS with a strong consistency story all work; pick one based on workload size. Shared storage is not free — POSIX-over-network adds latency that WordPress feels on every wp_options lookup. Most Enhance operators run per-node storage and accept that sites are pinned, then handle node failure by restoring from backup onto a sibling node, not by hoping the disk magically follows.
Failure mode. If app-server-02 dies, the sites it was hosting are down. The orchestrator does not auto-migrate them — it isn’t a Kubernetes scheduler. Recovery means either (a) restoring the node from a snapshot, or (b) restoring the affected customer accounts onto another app server from Enhance’s account-level backup. The runbook for that is the same as a cPanel transfer in spirit, but driven via the Enhance API.
How to verify
After adding a new app server, the orchestrator should list it under Servers with role app-server and state Connected. From the new node:
enhance-cli status
# Server role: app-server
# Joined orchestrator: orchestrator.example.internal
# State: connected
# Last heartbeat: 3s ago
docker ps --format 'table {{.Names}}\t{{.Status}}' | head
# enhance-nginx Up 12 minutes
# enhance-apache Up 12 minutes
# enhance-dovecot Up 12 minutes
# enhance-postfix Up 12 minutes
# enhance-mariadb Up 12 minutes
Confirm the orchestrator can place a test account on the new node:
# From the orchestrator
curl -fsS https://orchestrator.example.internal/api/v3/customers/<id>/websites \
-H "Authorization: Bearer <admin-token>" \
-H "Content-Type: application/json" \
-d '{"domain":"placement-test.example.com","app_server_id":"<new-server-id>","php_version":"8.3"}'
If you fronted the cluster with a load balancer, check that SNI is reaching the right backend:
curl -sI --resolve placement-test.example.com:443:<lb-public-ip> https://placement-test.example.com/
# X-Served-By: app-server-02
For shared-storage deployments, run a write-replicate-read test from each app server against the same path:
ssh app-server-01 'echo "from-01" > /home/customers/test/shared.txt'
ssh app-server-02 'cat /home/customers/test/shared.txt'
ssh app-server-03 'cat /home/customers/test/shared.txt'
# Each should print: from-01
A delay longer than a second means the shared filesystem will be a problem under WordPress load.
The fix
Stand up the second app server with the same installer used for the first (see enhance-debian-12-deploy). Once Connected, configure Server Groups and a placement policy in the orchestrator: Settings → Servers → Groups → New Group “production-pool,” then add both app servers to it. Set the group’s placement strategy to least-loaded so new sites land where there’s headroom.
Front the cluster with HAProxy in SNI passthrough mode if you want TLS terminated on the app server (panel-managed ACME continues to work), or in SNI-aware termination mode if you want the LB to hold the certificates. The passthrough config is simpler:
frontend https-in
bind :443
mode tcp
option tcplog
tcp-request inspect-delay 5s
tcp-request content accept if { req_ssl_hello_type 1 }
use_backend app-server-01 if { req_ssl_sni -m end app1.example.com }
use_backend app-server-02 if { req_ssl_sni -m end app2.example.com }
default_backend app-server-01
backend app-server-01
mode tcp
server a1 10.20.0.11:443 check
backend app-server-02
mode tcp
server a2 10.20.0.12:443 check
In practice, you do not enumerate every customer domain in HAProxy — you generate the SNI map from the orchestrator’s API and reload HAProxy on a five-minute cron. That keeps placement and routing in sync.
For shared storage — only if you actually need cross-node site portability — mount the same path on every app server before joining them. CephFS on three or more nodes with replication factor three works well; GlusterFS replicated volumes work but get slow at scale; NFS over a single appliance is a single point of failure that you should plan around. Mount the share at /home/customers on each app server before the Enhance installer runs, set the mount options for low-latency metadata (noatime,_netdev), and verify a customer’s home directory survives a node reboot before you call it production.
When a node fails, drain the placement group (mark the node as not eligible for new sites), restore the affected customer accounts onto a sibling node from the most recent Enhance backup, and update DNS for those accounts to point at the new node’s IP. The cutover window equals the DNS TTL plus the restore time — keep TTLs at 300 seconds on customer-managed DNS so you do not pay for an hour of stale routing on top of the restore.
Multi-server Enhance with the orchestrator backed up, the LB SNI map in sync, and node-failure runbooks rehearsed runs under Managed Cloud Ops — and the capacity planning for the next node comes out of cloud compute scoping. Plan your scale-out and we’ll size the next two app servers with you.