Importing Version 3.1 VMs into a 5.1 Installation

Discussion in 'Proxmox VE: Installation and configuration' started by Drax, Jun 12, 2018 at 22:38.

  1. Drax

    Drax Member

    Joined:
    Jul 21, 2012
    Messages:
    82
    Likes Received:
    2
    Can I directly import my old VMs into my new Proxmox 5.1 nodes? This is a brand new server. I am hoping that I can just bring them all back in via a restore. Please advise.
     
  2. sahostking

    sahostking Member

    Joined:
    Oct 6, 2015
    Messages:
    259
    Likes Received:
    6
    I am busy doing it at this very moment. I see no issues in my migration. I'm using proxmox 3.4.16 for one server and restoring openvz to LXC and restoring the KVM ones into proxmox 5.2.1 fine. No issues atm.
     
  3. Drax

    Drax Member

    Joined:
    Jul 21, 2012
    Messages:
    82
    Likes Received:
    2
    Not sure I understand the references to restoring openvx to LXC then restoring KVM ones into 5.2.1 Please explain when you get a moment the process steps so a neophyte can understand how to do it.
     
  4. wolfgang

    wolfgang Proxmox Staff Member
    Staff Member

    Joined:
    Oct 1, 2014
    Messages:
    3,356
    Likes Received:
    191
    Hi Drax,

    the migration of KVM guest is no problem just make a backup.
    Make it available on the new node whith an NFS or copy it with scp.
    On the new node, you just restore the backup.

    If your guest is an OpenVZ than the way is the same,
    but it depends on the OpenVZ container if the migration works.
     
  5. Drax

    Drax Member

    Joined:
    Jul 21, 2012
    Messages:
    82
    Likes Received:
    2
    I don't understand the term KVM guest and OpenVZ. I have Proxmox 3.1.21 on 2 nodes. I have various Linux and windows VMs created under proxmox. I have a backup for the VMs. I have no idea if they are openVZ containers or not. How would I find that out? I checked out a few VMs, they all indicate KVM hardware virtualization, but I don't see any mention of open VZ. Where would I look for that?
     
  6. wolfgang

    wolfgang Proxmox Staff Member
    Staff Member

    Joined:
    Oct 1, 2014
    Messages:
    3,356
    Likes Received:
    191
    KVM: https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine
    OpenVZ: https://en.wikipedia.org/wiki/OpenVZ

    Then they will be KVM machines.
    Also, OpenVZ container always uses the same kernel as the host.

    The best and easiest test is run on the shell this two commands

    Show all KVM guests:
    Code:
    qm list[\Code]
    
    Show all OpenVZ guests:
    [Code]vzlist list[\Code]
     
  7. Drax

    Drax Member

    Joined:
    Jul 21, 2012
    Messages:
    82
    Likes Received:
    2
    first code produced a list of the VMs Second code vzlist list produced the following message CT ID list is invalid. Please advise.
     
    #7 Drax, Jun 14, 2018 at 22:50
    Last edited: Jun 14, 2018 at 23:04
  8. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    12,825
    Likes Received:
    304
    > vzlist -a
     
  9. Drax

    Drax Member

    Joined:
    Jul 21, 2012
    Messages:
    82
    Likes Received:
    2
    It reports container not found.
     
  10. sahostking

    sahostking Member

    Joined:
    Oct 6, 2015
    Messages:
    259
    Likes Received:
    6
    Maybe you just have VMs.

    Note:

    CT = OpenVZ
    VM = KVM

    If you are administering a server you need to get to know these abbreviations :)
     
  11. Drax

    Drax Member

    Joined:
    Jul 21, 2012
    Messages:
    82
    Likes Received:
    2
    So what impact does container not found have on my original question? Does the absence of them mean I cannot import them directly into 5.2?
     
  12. tom

    tom Proxmox Staff Member
    Staff Member

    Joined:
    Aug 29, 2006
    Messages:
    12,825
    Likes Received:
    304
    the command "vzlist -a" shows all your OpenVZ container on Proxmox VE 3.x.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice