Slave Server Setup
The slave server is your backup server that takes over when the master fails.
What the Installer Does
The slave installer:
- Detects missing software and auto-installs to match master
- Installs Tergum Agent for monitoring
- Sets up Cloudflare Tunnel for public access during failover
- Configures SSH for file sync from master
Running the Installer
From the Initial Setup Wizard:
curl -sSL https://app.tergum.ca/api/install/slave | sudo bash -s -- \
--token YOUR_API_TOKEN \
--server-id YOUR_SERVER_ID \
--master-hostname YOUR_MASTER_TAILSCALE_HOSTNAME
Cloudflare Tunnel Setup
During installation, a browser window opens for Cloudflare authentication:
- Log into your Cloudflare account
- Authorize the tunnel creation
- The installer automatically configures the tunnel
The tunnel allows your slave to receive traffic without opening ports.
Post-Installation Verification
# Check agent is running
systemctl status tergum-agent
# Check tunnel is running
systemctl status cloudflared
# Test SSH to master
ssh root@master-hostname "echo 'Connection successful'"
Next Steps
After slave setup:
- Return to the dashboard wizard
- Proceed to WordPress cloning
- Add your domains →