How to migrate VPS from one SolusVM 2 instance to another?

Have more questions? Submit a request

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)

  1. Log in to the SolusVM 2 Master B admin interface
  2. Create a new VPS with the same parameters as on Master A
  3. Find the UUID of the needful VPS on Master A:

    Get Hypervisor ID of VPS in SolusVM 2 > Virtual Servers:

     
  4. Log in to the Compute Resouce X via SSH
  5. 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.iso

    Note: replace <ID> with the actial Hypervisor ID

    Here /var/lib/libvirt/images/388/468c2ba5ab8b70016908b774297966ef - path to image file
  6. 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

 

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.