Nodes & IP pool
A node is a server that runs the WasFor agent and hosts customer workloads. Nodes are registered once, report health continuously and receive sites according to capacity and package rules.
Register a node
- Install the agent on the server — see Installation.
- In the admin panel open Nodes → Register node.
- Copy the join token into the agent configuration.
- Verify the node reports
healthybefore scheduling sites.
| Field | Meaning |
|---|---|
| Name | Human label, e.g. fra-01 |
| Region | Used for placement and reporting |
| Public IP | Address used for DNS and certificates |
| Capacity | CPU, memory, disk available to tenants |
| Labels | Free-form selectors, e.g. ssd, php83 |
Health and capacity
The agent reports every 30 seconds:
- CPU, memory, disk and network counters
- Service status for web, PHP, database and mail
- Installed PHP versions and extensions
- Container count and per-container usage
- Certificate and backup job status
Three missed reports mark the node degraded. Degraded nodes stop receiving new sites; existing sites keep running. A node that misses ten reports is marked offline and triggers an alert.
| State | Scheduling | Alert |
|---|---|---|
| Healthy | Yes | No |
| Degraded | No | Yes |
| Offline | No | Critical |
| Maintenance | No | No |
Containers
Each customer runs in an isolated systemd-nspawn container. Containers share the kernel but have their own filesystem, users, services and network namespace.
# Inspect from the node shell
machinectl list
machinectl status acme
journalctl -M acme -n 100 --no-pagerContainers restart automatically after a reboot. Their configuration is reconciled from the control plane, so manual changes inside a container can be overwritten on the next sync.
Maintenance mode
Drain a node before kernel upgrades or hardware work:
- Nodes → node → Maintenance.
- New scheduling stops immediately.
- Running sites continue until you choose to migrate them.
- Migrate selected accounts, or accept a short outage.
- Exit maintenance and confirm health.
Migration copies files, databases and mail, then flips DNS only if you use panel-managed DNS. Otherwise update DNS at your provider after verification.
IP pool
Addresses are inventoried centrally and assigned to nodes or directly to sites.
| Status | Meaning |
|---|---|
| Free | Available for assignment |
| Reserved | Held for a node or customer |
| Assigned | In use by a site or service |
| Quarantined | Blocked after abuse; not reusable until cleared |
Add addresses under IP Pool → Add range, then bind them to a node. A site can use the node's primary address or a dedicated address for its own certificate and reputation.
Keep at least one free IPv4 address per node for failover and new sites. Running out of addresses blocks provisioning even when capacity remains.
Storage and backups
Node-level storage is reported per mount point. Backups can target local disk or S3-compatible object storage; remote targets are strongly recommended so a node loss does not take backups with it.
Local: /var/lib/wasfor/backups fast restore, node-bound
Remote: s3://acme-backups/fra-01 survives node lossDecommission a node
- Drain it and migrate every account.
- Verify each migrated site over HTTPS.
- Remove the node from DNS or load balancing.
- Revoke the agent token.
- Delete the node record — the audit log keeps the history.
Never delete a node that still has assigned accounts; the panel blocks it and lists what must move first.