The following should be performed to manually migrate KVM VPS from one node to another:
- Stop the required VPS in SolusVM > Virtual Servers > VPS > Shutdown. Note VMID of VPS, for example, it is kvm101
Connect to the source slave node over SSH.
Find a logical volume of the VPS:
Create a copy of the logical volume:
Transfer the copy to the target slave node, for example using the following command on the source node:
- Connect to the target server over SSH.
Create a logical volume with the same size and name:
Restore the copy to the created logical volume:
Connect to your Master node over SSH:
Update Master node database with the new location of VPS
where ID - ID of the migrated VPS, can be seen in column ID in SolusVM > Virtual Servers; NEWNODEID - ID of the target node, can be seen in SolusVM > Nodes.
- Reboot VPS via SolusVM > Virtual Server > migrated VPS > Reboot for changes to take effect and verify that it is working.
After verifying correct work of VPS - remove logical volume and the VPS directory on the source server: