SolusVM 2 Migration Guide: Fix Agents, License & WHMCS
Today's hands-on work log: migrating a live SolusVM 2 Management Server to a new VPS without touching running Compute Resource VMs, fixing the license IP lock, debugging RabbitMQ and solus-agent start/stop/create failures, and restoring WHMCS automation.
If you run KVM virtualization infrastructure with SolusVM 2, moving the control panel cleanly between servers without disturbing live customer virtual machines is one of those infrastructure tasks that looks simple on paper and hides real operational subtleties once you execute it in production.
Today I completed a full SolusVM 2 Master and Slave topology migration for a hosting environment where the SolusVM 2 Management Server (what longtime SolusVM v1 administrators call the Master) had to move from an older VPS node onto a fresh, faster VPS without causing any interruption to the active KVM Compute Resources (the Slave hypervisor nodes running live customer workloads).
On the compute side, customer virtual machines stayed online without dropping a single packet. On the new Management VPS, however, two classic post-migration issues appeared right after the backup restore and DNS cutover: first, the SolusVM 2 license lock rejected the new server IP until reissued and reactivated; second, all VM Start, Stop, and Create Server actions failed or hung after restoring, even though the web panel itself loaded normally!
Here is my step-by-step Daily Work Log documenting every command I ran to migrate the SolusVM 2 management server, fix the license, trace the Docker Swarm workers, API, and solus_rabbitmq broker, resolve the solus-agent failure across all Compute Resources (CRs), and update WHMCS server IPs and API tokens so automated billing and provisioning worked flawlessly again.
How SolusVM 2 Master and Compute Resource Architecture Protects Uptime
Before touching a terminal during a SolusVM 2 master slave migration, it helps to keep one architectural fact clear: your customer VPS instances run on the Compute Resource (CR) hypervisors via KVM/libvirt, not inside the Management Server VPS.
Inside the SolusVM 2 Management Server itself, control-plane components run as a Docker Swarm stack named solus containing:
solus_nginxandsolus_apihandling admin UI requests, client panel logins, and WHMCS REST API calls.solus_postgres,solus_redis, and InfluxDB storing VM inventory, IPv4/IPv6 IPAM pools, usage metrics, and OS templates.solus_workerexecuting asynchronous background tasks.solus_rabbitmqbrokering AMQP task queues between the Management Server and every remote Compute Resource runningsolus-agent.
Because KVM guests are managed locally by libvirtd on each Compute Resource, taking the old Management Server briefly into maintenance or moving it to a new IP address does not reboot or pause live customer VMs. Where things break after migration is the RabbitMQ message channel, licensing validation, and WHMCS automation API, which is exactly what happened today.
| Migration Stage | Target Infrastructure | Action Executed | Verification Signal |
|---|---|---|---|
| 1. State Snapshot | Old Management VPS | /usr/local/solus/bin/installer -backup | .tar.zst archive created & rsynced safely |
| 2. Panel Restore | New Management VPS | Fresh SolusVM 2 install + -restore + -reconfigure | https://panel-host loads with migrated VMs & users |
| 3. License Fix | Client Portal + New Admin | Reissue license IP lock + Activate in Settings | License badge turns active for new VPS IP |
| 4. Fix Start/Stop/Create | Management Stack + Every CR | Audit solus_worker/solus_rabbitmq + systemctl restart solus-agent | RabbitMQ shows active CR consumers; VMs boot & provision |
| 5. Fix WHMCS | SolusVM 2 + WHMCS Admin | New Admin API Token + update Server IP in WHMCS | Test Connection passes & order actions succeed |
Phase 1: Backing Up the Source SolusVM 2 Management VPS
First, I connected via SSH to the source SolusVM 2 Management VPS and generated a consistent full snapshot using SolusVM 2's built-in installer binary rather than trying to dump Docker volumes manually.
# On the OLD SolusVM 2 Management Server
/usr/local/solus/bin/installer -backup
Wait until the command finishes and prints the exact backup file path inside /usr/local/solus/backup/, for example:
INFO[2026-11-19 10:14:22] Save backup "/usr/local/solus/backup/management_node_2.0.0-xxxxx_2026-11-19T10:14:22Z.tar.zst"
That .tar.zst archive packages PostgreSQL dumps, Redis state, InfluxDB metrics, RabbitMQ definitions, /usr/local/solus/config/config.yml, TLS state, and license metadata. Next, verify the archive checksum on the source node and transfer it cleanly over SSH (rsync or scp) to /root/ on the new destination VPS:
# Check archive size and SHA-256 hash on the source VPS
ls -lh /usr/local/solus/backup/*.tar.zst
sha256sum /usr/local/solus/backup/management_node_*.tar.zst
# Copy securely to the new Management VPS
rsync -avP /usr/local/solus/backup/management_node_*.tar.zst root@NEW_MASTER_IP:/root/
Lower the DNS TTL (300 seconds) on your panel hostname (solus.yourdomain.com) beforehand so Compute Resource nodes and WHMCS pick up the new Management IP quickly during cutover.
Phase 2: Restoring and Reconfiguring on the New Management VPS
On the clean destination VPS (with Docker/prerequisites ready and ports 80, 443, and the AMQP/RabbitMQ port open cleanly in your firewall only for trusted IPs/Compute Resources), perform a base SolusVM 2 Management Server installation, verify the installer binary exists, and run -restore against the transferred .tar.zst archive:
# On the NEW SolusVM 2 Management Server
# Verify transferred archive hash first, then restore state
sha256sum /root/management_node_*.tar.zst
/usr/local/solus/bin/installer -restore /root/management_node_2.0.0-xxxxx_2026-11-19T10:14:22Z.tar.zst
Once the restore finishes, check /usr/local/solus/config/config.yml to verify that host: reflects your panel FQDN cleanly, point your DNS A record for the SolusVM 2 panel hostname to the new VPS IP address, confirm global resolution, and run -reconfigure so SolusVM 2 updates its Docker Swarm environment and SSL certificates for the new host:
# Inspect restored configuration and verify DNS points to the new server IP
grep -E "host:|ip:" /usr/local/solus/config/config.yml
dig +short solus.yourdomain.com
# Reconfigure stack services and TLS certificates for the new VPS
/usr/local/solus/bin/installer -reconfigure
At this stage, every Compute Resource record, KVM guest entry, IP block, and client account appeared cleanly inside the new panel interface, and zero customer VMs on the Compute Resource nodes experienced any downtime.
Phase 3: Fixing the SolusVM 2 License on the New Server IP
Right after logging into the migrated Management Server UI, the panel displayed the expected licensing mismatch error because SolusVM 2 licenses are bound strictly to the Management Server's public IPv4 address. Moving from OLD_MASTER_IP to NEW_MASTER_IP triggers a license validation lock until you release the old IP binding.
Here is the exact sequence that resolves the SolusVM 2 license issue cleanly:
- Log in to your SolusVM / WHMCS Client Area (wherever your SolusVM 2 license was purchased, or ask your license reseller if it is an external partner license).
- Open Licenses then My Licenses and select the active SolusVM 2 license key.
- Click Reissue License to clear the stored IP address and hardware fingerprint from the old VPS.
- Open your new SolusVM 2 Admin Panel at
https://solus.yourdomain.com. - Navigate to Settings then Licensing, click Activate License, paste your activation key, and click Activate.
Once activated against the new server IP, verify from the Management VPS CLI that no old license validation errors remain in the API container logs.
Phase 4: Troubleshooting Why Start, Stop & Create Server Failed After Migration
Even after the panel loaded and the license showed active, testing VM operations failed immediately: clicking Start, Stop, Restart, or Create Server either timed out, failed, or sat stuck in task queues. On a live virtualization platform, fixing control-plane actions before billing renewals or customer tickets pile up is top priority.
Rather than guessing or rebooting anything blindly (never reboot a Compute Resource node carrying live customer KVM machines!), I systematically inspected Docker Swarm services, worker logs, API endpoints, RabbitMQ queues, and the remote solus-agent daemons.
Step 4.1: Check Every Service in the solus Docker Swarm Stack
First, I confirmed all control-plane replicas on the new Management VPS were actually 1/1 running:
# Verify every microservice in the SolusVM 2 Docker Swarm stack
docker stack services solus
Every critical container (solus_api, solus_nginx, solus_worker, solus_rabbitmq, solus_postgres, and solus_redis) reported 1/1 active replicas. Next, I tailed the worker and API logs while clicking Restart on a test VM to see where task execution stalled:
# Inspect real-time logs for background task workers, API gateway, and RabbitMQ
docker service logs --tail 100 solus_worker
docker service logs --tail 100 solus_api
docker service logs --tail 100 solus_rabbitmq
Look closely at what appeared: solus_api accepted the HTTP request and dispatched the VM power job to RabbitMQ, and solus_worker remained healthy, yet tasks targeting the Compute Resources were never picked up by any agent!
Step 4.2: Inspect Active Consumers Inside solus_rabbitmq
To prove whether any Compute Resource (solus-agent) was actually connected to the new Management VPS's message broker, I entered the running solus_rabbitmq container directly and listed both queues and client connections:
# Find running RabbitMQ container ID and inspect AMQP queues, unacked messages & consumers
RMQ_ID=$(docker ps -q -f name=solus_rabbitmq)
docker exec -it "$RMQ_ID" rabbitmqctl list_queues name messages_ready messages_unacknowledged consumers
docker exec -it "$RMQ_ID" rabbitmqctl list_connections peer_host port state
That diagnostic answered the mystery in five seconds: Compute Resource queues showed 0 active consumers (or stale ghost entries), and rabbitmqctl list_connections showed the CRs were not connected to the new broker!
Why? Even after DNS switched over, long-running solus-agent processes on the remote KVM Compute Resource nodes were still holding stale TCP sockets or cached resolution pointing to the old Management VPS IP (OLD_MASTER_IP), or stuck in a backoff retry state after the management node moved.
If solus_rabbitmq itself shows wedged Erlang/broker sockets right after a .tar.zst restore, you can bounce the broker container cleanly on the Management Server before refreshing agents:
# Optional clean RabbitMQ service recycle on the new Management Server
docker service scale solus_rabbitmq=0
sleep 3
docker service scale solus_rabbitmq=1
Step 4.3: Verify DNS & Restart solus-agent on Every Compute Resource (CR)
Next, I SSHed into each Compute Resource (CR) hypervisor one by one. Remember: restarting solus-agent only restarts the control daemon communicating with SolusVM 2; it does NOT stop, reboot, or disturb running KVM virtual machines managed by libvirtd!
On each Compute Resource node, verify local DNS resolution and /etc/solus/agent.json, check whether /etc/hosts hardcoded the old Management IP anywhere, and restart solus-agent:
# On EACH Compute Resource (CR) hypervisor node:
# 1. Inspect configured panel hostname/API endpoint and check for hardcoded old IP in /etc/hosts
grep -E "host|api|rabbit" /etc/solus/agent.json
grep -i "solus" /etc/hosts
# 2. Flush stale systemd DNS cache if systemd-resolved is active and verify new IP resolves
resolvectl flush-caches 2>/dev/null || true
getent hosts solus.yourdomain.com
# 3. Restart solus-agent (safe for running KVM VMs!) and inspect live logs
systemctl restart solus-agent
systemctl status solus-agent --no-pager
journalctl -u solus-agent -n 40 --no-pager
Within seconds of running systemctl restart solus-agent across all Compute Resources, journalctl -u solus-agent showed clean TLS/AMQP authentication with the new Management VPS, and running rabbitmqctl list_queues back on the Management VPS immediately confirmed every Compute Resource queue had 1 active consumer!
To confirm everything truly worked end to end, I ran three real operational tests from the new SolusVM 2 panel:
- Stop & Start an existing test VPS: status transitioned cleanly in under 5 seconds.
- Reboot verification + VNC/noVNC console load check.
- Create Server test provisioning: KVM disk image cloned, cloud-init network applied, IPv4 assigned, and new VM booted cleanly without queue stalls!
Phase 5: Fixing WHMCS Server IP & API Token Automation
Once SolusVM 2 itself could start, stop, and provision servers flawlessly across every Compute Resource, one critical piece remained: WHMCS billing and provisioning automation.
When you move the SolusVM 2 Management Server to a new IP address and restore/reissue credentials, existing WHMCS server entries either point at the old server IP or fail API authentication with Connection Failed / Invalid API Token when clients click Boot, Shutdown, Reinstall, or when new orders auto-provision.
Here is how I restored WHMCS integration cleanly:
Step 5.1: Generate a Fresh Administrator API Token in SolusVM 2
- Log in to the new SolusVM 2 Admin Panel.
- Go to Account (top-right profile menu or sidebar) then API Tokens.
- Click Generate API Token, give it a clear label such as
WHMCS Billing Automation - New Master, and verify the user account holds full Administrator permissions (non-admin tokens fail server create/suspend actions in WHMCS). - Copy the newly generated token immediately (SolusVM 2 only displays the secret once at creation time).
Step 5.2: Update WHMCS Server IP, API Token & Firewall Rules
Next, check connectivity from your WHMCS web server to the new SolusVM 2 Management VPS over HTTPS (443), making sure CSF, Imunify360, or nftables allows the WHMCS server's outbound IP on the new Management VPS:
# Quick test from your WHMCS server SSH shell to confirm port 443 and TLS reach the new SolusVM 2 VPS
curl -Isv https://solus.yourdomain.com/api/v1/servers 2>&1 | grep -E "Connected to|SSL certificate|HTTP/"
Then update the server entry inside WHMCS Admin:
- Navigate to System Settings (wrench icon) then Products/Services then Servers.
- Click Edit on your SolusVM 2 server entry.
- Update Hostname (ensure it matches the panel FQDN) and IP Address to the new Management VPS IP.
- Scroll to Server Details (
SolusVM 2module), clear the old API Token / Access Hash, and paste the new Administrator API Token. - Click Test Connection and save changes once WHMCS reports success.
Finally, open an active WHMCS client service (Products/Services inside an internal test client profile) and run a quick Status Refresh, Stop, and Start test directly from WHMCS to verify bidirectional API calls before closing out the work log.
Complete Post-Migration Checklist for SolusVM 2
Whenever I migrate a SolusVM 2 Master (Management Node) to a new VPS for a hosting provider, I sign off only after every item on this list is verified green:
- Full
/usr/local/solus/bin/installer -backup.tar.zstarchived safely off-box before shutting down the old VPS. - Destination VPS restored cleanly via
-restore,/usr/local/solus/config/config.ymlupdated, DNS pointed cleanly, and-reconfigurecompleted with valid SSL. - SolusVM 2 license reissued in Client Area and activated against the new server IP under Settings then Licensing.
- All Docker Swarm stack services (
solus_api,solus_worker,solus_rabbitmq,solus_postgres,solus_redis) verified healthy viadocker stack services solus. - Every Compute Resource checked for
/etc/hostsoverrides, stale DNS cache flushed, andsystemctl restart solus-agentexecuted across all CRs until RabbitMQ shows active consumers and Start/Stop/Create Server pass live. - New Admin API Token generated in SolusVM 2 and updated alongside the new Management VPS IP in WHMCS Servers, with
Test Connectionand module commands verified. - Old Management VPS Firewall/Docker services disabled after 48 hours of clean monitoring so no CR or cron accidentally calls back to the retired IP.
Migrating live virtualization management servers cleanly takes careful ordering: keep your Compute Resources untouched for 100% guest uptime, diagnose the RabbitMQ consumer layer instead of rebooting hypervisors, and test every billing hook from WHMCS before calling it done. For deeper virtualization and billing guides, check out my SolusVM 2 KVM virtual machine recovery walkthrough, WHMCS client area and module notes, and the official SolusVM 2 Administrator Documentation. If your hosting company needs help migrating a SolusVM 2 Management Server, troubleshooting stuck KVM tasks or RabbitMQ workers, or fixing broken WHMCS automation, feel free to reach out via the Contact page.