How to remove KVM VPS on the source server manually after migration?

Have more questions? Submit a request

Applicable to:

  • SolusVM

Question

 How to remove KVM VPS on the source server manually after the migration?

Answer

  1. Connect to Source node via SSH
  2. Get the path to VPS image(LVM):

    # virsh domblklist kvm101
    Target Source
    ------------------------------------------------
    hda /dev/solusvm/kvm101_img
    hdc -

  3. Shutdown the VPS if it is running:

    # virsh destroy kvm101

  4. Remove the directory containing VPS configuration files:

    # rm -rf /home/kvm/kvm101

  5. Remove the VPS image(logical volume) from step 2:

    # lvremove /dev/solusvm/kvm101_img

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.