Getting around no-migration issue

Discussion in 'Proxmox VE: Installation and configuration' started by mrballcb, Sep 30, 2011.

  1. mrballcb

    mrballcb New Member

    Sep 30, 2011
    Likes Received:
    Hey all. I'd like to figure out a way to (at the very least) manually migrate containers from 1.9 to 2.0 beta. Is there anybody working on an automated way of doing this? If not, and assuming that you have at least two machines to do migrations on, is the following pretty close?

    1. Migrate all containers from VE1 to VE2.
    2. Shut down VE1.
    3. Reinstall with 2.0 beta.
    4. Create a container on new VE1 using the same template with the $CTID of one you want to move back. Don't start it.
    5. rm -rf VE1:/var/lib/vz/{root,private}/$CTID
    6. rsync -av VE2:/var/lib/vz/root/$CTID VE1:/var/lib/vz/root/
    7. rsync -av VE2:/var/lib/vz/private/$CTID VE1:/var/lib/vz/root/
    8. See if it starts up.
    What, if anything, am I missing here? I'm making the assumption that I configure networking identical on new VE1 versus old VE1. I'm also assuming that the layout of containers hasn't changed, is that a valid assumption?

    Comments? Suggestions? Snide remarks?
    #1 mrballcb, Sep 30, 2011
    Last edited: Sep 30, 2011
  2. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Apr 28, 2005
    Likes Received:

    Only the location of the config files has changed from /etc/vz/conf to /etc/pve/openvz/ (now on the cluster file system).
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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