Applicable to:
- SolusVM 2
Question
How to migrate VPS from one SolusVM 2 instance to another?
Answer
There is no such feature in SolusVM 2 that allows migration between two SolusVM 2 infrastructures. The existing migration feature supports transfer between CR nodes that belong to the same SolusVM 2 installation.
An improvement request has been passed to the Development Team - the ID is SIO-2863
As a workaround, apply the following scenario:
Warning: the scenario is not fully tested and not supported. Use at your risk
Note: Assume the VPS is being migrated from Master A (Compute Resource X) to Master B (Compute Resource Y)
- Log in to the SolusVM 2 Master B admin interface
- Create a new VPS with the same parameters as on Master A
- Find the UUID of the needful VPS on Master A:
Get Hypervisor ID of VPS in SolusVM 2 > Virtual Servers:
- Log in to the Compute Resouce X via SSH
- Find on Compute Resouce X the content of VPS that is required to migrate with the below command:
# virsh domblklist <ID>
Target Source
------------------------------------------------
sda /var/lib/libvirt/images/388/468c2ba5ab8b70016908b774297966ef
hdb /usr/local/solus/iso_images/388/config.isoNote: replace <ID> with the actial Hypervisor ID
Here /var/lib/libvirt/images/388/468c2ba5ab8b70016908b774297966ef - path to image file - Transfer the VPS data file (/var/lib/libvirt/images/388/468c2ba5ab8b70016908b774297966ef) from Compute Resouce X to Compute Resouce Y manually using SCP or rsync
Note: In case the white blank page is shown in Master B noVNC console after the migration, apply the article
Comments
0 commentsPlease sign in to leave a comment.