Migration from Xen to Proxmox

bonsairack

New Member
May 23, 2014
1
0
1
Hi,


we have a dedicated server with Xen and 2 openvz vm's. We have taken all the space available on the disks for the logical group and logical volumes. We have not enough space left on the disks to take snapshots....


We are uncertain how to resize our vm's without anyrisk of data loss.


Anyhow, we also wan to change to Proxmox.


We were thinking of a few possiblities:


1- Rent another server, install proxmox, import the openvz vm's from proxmox
2- take snapshop on usb disk, format main node, install proxmox, reload openvz vm's


But, can we resize these vm's when importing in proxmox ?


Any comments or ideas would be really appreciated. We are kind of new to the virtual linux thing.


thanks
 
Hello bonsairack,

We are uncertain how to resize our vm's without anyrisk of data loss.


Your vm´s are just the mentioned above openvz containers - right?

1- Rent another server, install proxmox, import the openvz vm's from proxmox


I guess you mean to proxmox.
The safer way.

2- take snapshop on usb disk, format main node, install proxmox, reload openvz vm's


Possible but not recommended. It should be able to verify if restored container works before you delete the original one.

But, can we resize these vm's when importing in proxmox ?


Process it as follows:

- make a backup of you container, stored in a tar.gz archive

- config-file must be in archive in /etc/vzdump/vps.conf

- install proxmox (datastore local must contain "Templates","Containers","Backups")

- create (fresh) containers in proxmox

- copy the previously made backup files to /var/lib/vz/dump

- restore the freshly installed CT from your backup

- change disk-size

kind regards

Mr.Holmes
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!