Master Server Setup
The master server is your primary WordPress server—the one currently serving your live website.
What the Installer Does
When you run the master installer script, it:
- Installs Tergum Agent - Monitors server health and executes commands
- Configures MySQL for Replication - Enables binary logging
- Sets up SSH Keys - For secure communication with slave
- Registers with Tergum - Connects to your dashboard
Running the Installer
The Initial Setup Wizard provides the exact command. It looks like:
curl -sSL https://app.tergum.ca/api/install/master | sudo bash -s -- \
--token YOUR_API_TOKEN \
--server-id YOUR_SERVER_ID
Post-Installation Verification
After installation, verify:
# Check agent is running
systemctl status tergum-agent
# Check MySQL binary logging
mysql -e "SHOW MASTER STATUS;"
# Test Tailscale connectivity
tailscale ping your-slave-hostname
MySQL Configuration Changes
The installer modifies /etc/mysql/mysql.conf.d/mysqld.cnf (or equivalent):
[mysqld]
server-id = 1
log_bin = /var/log/mysql/mysql-bin.log
binlog_format = ROW
binlog_do_db = your_wordpress_db
A MySQL restart is required and performed automatically.
Next Steps
Once the master is configured: