Move from VirtFusion or Virtualizor
NexoVirt can take over a hosting business that runs on VirtFusion or Virtualizor, with WHMCS for billing. You connect the old panel, scan it, map it onto your NexoVirt hosts and move the servers in batches. Your customers notice one planned stop per server. Nothing about the old side is changed or deleted by NexoVirt, except stopping the server that is being moved and keeping it from starting again (see What NexoVirt changes on the old side).
The steps are the same for both panels. What differs for Virtualizor is in Virtualizor.
Open it under Settings > Migration, card Move from another panel, button Open (list Panel
migrations). Connecting and scanning needs the settings.write permission, moving servers needs hosts.manage
and Finish migration needs users.manage.
What moves and what does not
Section titled “What moves and what does not”| Moves | Does not move |
|---|---|
| Customers (matched by email, existing customers are linked, not duplicated) | Customer passwords (everybody gets a “set your new password” mail) |
| SSH keys the customer stored in the old panel | Firewall rules, backups, snapshots, reverse DNS and sub-users (listed under Not moved) |
| Servers with all their disks, the MAC and the IP | Old invoices and payment history (they stay in WHMCS) |
| Packages as NexoVirt products, with the price and cycle from WHMCS | Running Stripe or PayPal subscriptions (customers pay again or renew from balance) |
| Next due date, billing cycle and add-ons per server | Customer self-service settings (hourly billing, resource packs) |
| Account credit, as one balance booking per customer | Ceph, StorPool or remote-file disks (shown as a blocker) |
| Suspended servers: “Suspended servers cannot be moved yet. Unsuspend or delete it in VirtFusion first.” (Virtualizor the same) |
Only servers on local file disks (qcow2 or raw) move from VirtFusion in this version, and KVM servers on plain LVM or file storage from Virtualizor. Windows servers are moved on a best-effort basis and are flagged in the preview.
Before you start
Section titled “Before you start”- A VirtFusion API token (Configuration > API in VirtFusion). NexoVirt reads users, their SSH keys, packages, servers, OS templates, hypervisors and IP blocks, and it stops (and, on failure, starts) a server through the API. If you restrict the token to IP addresses, add your NexoVirt server’s address.
- WHMCS API credentials (identifier and secret) and your NexoVirt server’s IP address on the WHMCS API allowed IP list. WHMCS is optional: without it only the panel data moves and nothing is billed.
- Root SSH to every VirtFusion hypervisor (key or password). Only
rootis accepted. NexoVirt reads the disks and checks the server is really off. - The target nodes are onboarded in NexoVirt with a current agent, with a storage that holds disk images and a bridge. See Hosts.
- The customer portal is switched on (the “set your new password” links need it).
- IP routing is your job. A server keeps its IP only if the target node has a bridge in that IP’s subnet. If you must move the addresses upstream (routed or failover IPs), do it yourself. The preview tells you per range. For everything else pick New IP from a NexoVirt IP zone.
- Your NexoVirt shop currency must match the WHMCS currency of the customers.
Step 1: Connect
Section titled “Step 1: Connect”Choose Connect a panel.
- Under Source panel pick the Panel (VirtFusion or Virtualizor) and enter the Panel address and the API token (Virtualizor: API key and API pass). If the panel uses a self-signed certificate, the first scan shows its fingerprint. Copy it into Certificate fingerprint (SHA-256) and save again. NexoVirt never pins a certificate on its own.
- Under Billing pick the Billing system (WHMCS or none) and enter the WHMCS address, API identifier and API secret.
- Under SSH access to the nodes add one row per hypervisor. The host key is pinned on first connect.
A Panel address or WHMCS address with plain http is only accepted on a private network address (10.x,
172.16-31.x, 192.168.x, 100.64.0.0/10); use https for anything public.
Saving asks for a fresh proof of identity. The secrets are stored encrypted and are never shown again. Leave a field empty to keep what is stored.
Step 2: Scan
Section titled “Step 2: Scan”Press Scan (Scan now, later Scan again). The scan runs in the background. The page shows a spinner and updates itself. Nothing on the old side changes. You can scan as often as you like. Servers that are already moving or moved are never overwritten.
Step 3: Map
Section titled “Step 3: Map”After the scan the page has the tabs Servers, Customers, Packages, Nodes, IP ranges and Connection.
- Packages: Map package to an existing NexoVirt product, or let NexoVirt create a new one at Finish. The price and cycle always come from WHMCS, per server (see below). The VirtFusion API does not name the package of a server, so NexoVirt takes the package whose cores, memory, disk and traffic equal the server’s. A server that was resized, or whose size fits several packages, shows the blocker Map package of this server. Press Package on that server row, pick one of the scanned packages of this import and save; the blocker is gone.
- Nodes: Map node to a Proxmox node, with a Storage for the disks and a Bridge.
- IP ranges: Map IP range to an IP zone. Per range or per server choose Keep IP or New IP (Take the new addresses from a zone). New IPs need cloud-init in the guest.
- Customers: matched by email. A customer that is an admin or reseller in NexoVirt is a blocker. A customer that WHMCS bills in another currency is a blocker too.
- Servers: every server shows its blocker, if any (unsupported disk or virtualization type, missing mapping or SSH, not enough free space on the target, IP not reachable from the target node). You can Skip a server. The card Not moved lists what is left behind.
Fix every blocker before you move the server.
Step 4: Move
Section titled “Step 4: Move”Select servers on the Servers tab and press Start batch. The dialog shows how many are ready, how many are left out and an estimate of the data and the downtime. Per server NexoVirt:
- Reserves the IP and creates the NexoVirt record. The server is not started yet.
- Stops the old server through the old panel, confirms on the hypervisor that it is off and that nothing holds its disks, and turns off its start-on-boot flag, so a reboot or watchdog never brings it back next to the copy.
- Copies the disks from node to node over SSH with a temporary key, and compares a SHA-256 of both sides.
- Imports the disks into the mapped storage, applies the MAC and IP (or the new IP through cloud-init) and starts the server in Proxmox.
- Waits until it answers (guest agent or ping, up to 10 minutes) and removes the temporary files and keys.
Moves run one at a time per source node by default. The live page of each move shows the steps and a log line at least once a minute. A failed server can be started again with Try again.
Silent period
Section titled “Silent period”Until you finish, the migration is silent. Moved customers are created as inactive accounts: they cannot sign in and they receive no mail from NexoVirt. Moved servers carry a marker. They are not alerted on, not suspended by the plan enforcer, not throttled for traffic and not renewed. WHMCS keeps billing as before.
The old server guard
Section titled “The old server guard”While a server moves, the old copy must never run next to the new one.
- The start-on-boot flag of the old server is turned off before the copy and put back if the move fails.
- NexoVirt keeps watching moved servers until you finish (every 5 minutes). If an old copy is running again, it is powered off through the old panel and a critical alert is raised (inbox, email and webhook).
- If something fails after the old server was stopped, NexoVirt removes its half-built target, starts the old server again and pauses that source node. The Nodes tab shows Paused. Look at why it failed, then press Resume moves.
- If you changed your mind, Start on the old node starts a failed server on its old node again.
Step 5: Finish
Section titled “Step 5: Finish”When every server is moved or skipped, open Finish migration. It lists blockers, what will happen and a preview of the mail The mail customers get. Finish needs the customer portal and email sending switched on; with email sending off it is refused with “Turn on email sending first (Settings > Email): every customer gets the link to choose a password by mail.” Type the migration name to confirm. Finish does this:
- Reads WHMCS one last time (due dates, prices, credit). If WHMCS cannot be read, nothing is changed.
- Creates the products you left unmapped.
- Writes the shop rows for the moved servers and switches on the customers that own one. Other customers stay off and silent and are listed as Not switched on.
- Books each customer’s WHMCS credit once as an adjustment with the note “Migrated balance”.
- Sends one “set your new password” mail per new account in batches. Customers whose server got a new IP are told the new address.
Prices and billing dates
Section titled “Prices and billing dates”Every customer keeps exactly what they pay in WHMCS, per server, even if the mapped product costs something else. Add-ons are folded into that server’s price. The price is locked, so renewals keep it. If the customer later changes plan, normal prices apply, and so they do if an admin changes the plan.
- Monthly, quarterly, semi-annual and annual cycles map to NexoVirt billing periods. Two and three year cycles become yearly at the same price per year (flagged in the preview).
- The paid-until date is the next WHMCS due date. A service that is already overdue gets Finish + 7 days.
- A service that is cancelled or gone in WHMCS is not billed and listed under it. One-time and free services move without renewals.
- New orders use the NexoVirt product prices.
After Finish: your checklist
Section titled “After Finish: your checklist”The tool never does these for you. The finish page lists them under Your checklist.
- Switch off the WHMCS automation (invoices, suspensions, terminations) for the moved clients, so they are not billed twice.
- Cancel the old subscriptions and payment agreements of these clients in WHMCS and at your payment provider.
- Check the servers under Check these servers.
- Delete the old servers in VirtFusion or Virtualizor once you are happy. They stay stopped until you do.
- Virtualizor: delete the API key pair you made for the migration.
Virtualizor
Section titled “Virtualizor”What moves from Virtualizor
Section titled “What moves from Virtualizor”| Moves | Does not move (blocker on the server) |
|---|---|
| KVM servers on plain LVM storage (raw disks) | Thin LVM, ZFS, Ceph and other block storages: “Disks on … storage cannot be moved yet. Only plain LVM and file disks are supported.” |
| KVM servers on file storage (qcow2 or raw) | OpenVZ containers on Proxmox: “OpenVZ containers on Proxmox cannot be moved.” |
| Virtualizor servers on Proxmox (KVM and LXC): adopted in place | |
| Users as customers, their SSH keys, plans as packages | OpenVZ containers, Xen servers and Virtualizor LXC containers |
| IP pools as IP ranges | Customers of resellers: “Customers of resellers are moved by hand later.” |
Servers whose libvirt name is not v<1000 + vpsid> (imported or re-created ones): “This server’s name does not follow Virtualizor’s naming. Move it by hand.” |
A server takes the package of its Virtualizor plan. A server made without a plan gets a package of its size; when that
size matches none of your packages, it shows Map package of this server: pick its package on the server row as
described under Map. With WHMCS, a service of the Virtualizor WHMCS module is
matched by its vpsid first (only when the service’s WHMCS server is this Virtualizor master, because vpsids are per
master), then by IP and hostname as for VirtFusion.
Adopt in place (Virtualizor on Proxmox)
Section titled “Adopt in place (Virtualizor on Proxmox)”Servers that Virtualizor runs on a Proxmox node are not copied. They stay where they are, and NexoVirt takes them over on that node: no downtime, nothing is stopped, started or copied, and they keep their VMID, MAC and IP addresses.
- Add the Proxmox node to NexoVirt (with the agent and SSH access), like any other node.
- In the migration’s Nodes tab, Map node and pick that Proxmox node (NexoVirt suggests the node that holds most of the VMIDs). Storage and bridge are not asked for.
- Hand over node (type the Proxmox node name to confirm): NexoVirt stops and disables the Virtualizor services on that node and parks its cron jobs, so Virtualizor can no longer start or change the servers there. The servers keep running. The column Copy path / hand-over shows Adopt in place with Handed over, Hand-over incomplete or Not handed over.
- Move the servers in a batch as usual. The batch dialog says None (adopted in place) for the downtime. Each server is checked on the node (it exists with the right type and MAC), linked to its customer, and gets the event “Adopted from Virtualizor”. A new IP cannot be chosen: “Adopted servers keep their IP addresses.”
Until a node is handed over, its servers show “Hand over node X to NexoVirt first (Nodes tab).”. The node that runs the Virtualizor panel is handed over last: while other nodes still have servers to move it is refused (“Move or skip the servers of the other nodes first. Their moves still need the Virtualizor API on this node.”). Give back to Virtualizor undoes a hand-over: only the services that were enabled or running before are enabled and started again, and the cron files are put back. Hand-over needs an Enterprise licence; giving back works in every edition.
After Finish, the checklist reminds you to remove Virtualizor from every adopted node. The adopted servers keep running there.
API key pair
Section titled “API key pair”Create an API key pair in Virtualizor under Configuration > API Credentials and allow these rights (the connect form lists them too):
act_vs, act_users, act_plans, act_ips, act_ippool, act_servers, act_storage, act_stopvs,
act_poweroffvs, act_startvs, act_editvs
Make a new key pair just for the migration and delete it in Virtualizor after Finish migration. Virtualizor takes the key and pass in the address of every API call, so they end up in its web server’s access log.
If you restrict the pair to IP addresses, add your NexoVirt server’s address. The Panel address is the admin
address with port 4085, for example https://panel.example.com:4085. Virtualizor uses a self-signed certificate by
default: the first scan shows its fingerprint, compare it with the one on the panel, copy it into Certificate
fingerprint (SHA-256) and save again.
SSH to the nodes
Section titled “SSH to the nodes”Add one row under SSH access to the nodes for every Virtualizor KVM node, signed in as root. The master node
is reached at the address of the panel. NexoVirt reads the disks and the libvirt domain of every server there and,
when a server moves, streams its disk to Proxmox.
What NexoVirt changes on the old side
Section titled “What NexoVirt changes on the old side”Per moved server, and only that server:
- Power: it is stopped through the Virtualizor API (a graceful stop first, a power off if it does not stop), and NexoVirt checks on the node that the domain is really off.
- Start on boot: Virtualizor’s disable_autostart setting of the server is set to 1 (only when it was 0) and the libvirt autostart link of the server on the node is removed, so a node reboot never starts the old copy next to the new one. NexoVirt never suspends the server (in Virtualizor a suspend only pauses it).
If the move fails after the stop, or you press Start on the old node, NexoVirt puts disable_autostart back to what it was and starts the server again through the API. Virtualizor then writes the autostart link itself. A server whose disable_autostart was already 1 but had a hand-made autostart link gets that link back.
Disk-usage check
Section titled “Disk-usage check”Virtualizor’s own cron mounts stopped disks for a short time to read their disk usage. While it does, the move log shows “Waiting for Virtualizor to release the disk…” and NexoVirt waits (up to 15 minutes) before it copies. If the disk stays busy, the move stops, nothing runs on Proxmox and the server is started again on its old node.
Delete and purge
Section titled “Delete and purge”Deleting a migration before Finish removes everything it created in the panel, including accounts that were never switched on. It is refused while a server is moved, a move is running, or a failed move got as far as stopping its old server (press Start on the old node first). A move that failed before the stop (for example not enough free space or no SSH) touched nothing on the old side and does not block it. Thirty days after Finish the personal data (customer names and emails, scanned IPs) and all stored credentials are purged automatically. The log, the counts and the report stay. Delete on a finished migration purges at once.
Editions
Section titled “Editions”| Community | Enterprise | |
|---|---|---|
| Connect, scan, preview | Yes | Yes |
| Start batch, Try again | No | Yes |
| Finish migration | No | Yes |
NexoVirt is developed and designed by Nucez Software, your partner for custom software and web design.