Migrate 2 VMs from local pve to cluster

PointPubMedia

Active Member
Aug 3, 2017
27
1
43
Hey folks...

Got a little issue, or a little challenge ;)

We got back a pve from a customer running 2 VMs (around 10TB) in a LVM on a local SAS array of 20TB. What we would need it's to "migrate" them on our PVE cluster without having to backup on a local storage and after that restore on the cluster from the local storage (like an USB disk).

Is there a way, we can migrate over ethernet without having this pve converted to a node on our cluster ?

And as the VMs are not in use anymore in production, we need to keep it for a while (legally) so we don't have any time restriction about doing the migration "LIVE" or in a short period of time to avoid a downtime.

thanks!
 
Hey folks...

Got a little issue, or a little challenge ;)

We got back a pve from a customer running 2 VMs (around 10TB) in a LVM on a local SAS array of 20TB. What we would need it's to "migrate" them on our PVE cluster without having to backup on a local storage and after that restore on the cluster from the local storage (like an USB disk).

Is there a way, we can migrate over ethernet without having this pve converted to a node on our cluster ?

And as the VMs are not in use anymore in production, we need to keep it for a while (legally) so we don't have any time restriction about doing the migration "LIVE" or in a short period of time to avoid a downtime.

thanks!

Is there anyway you can introduce your storage from your PVE cluster to this node with the two VM's? Then you could use disk migrate from the GUI to get the job done. Just a thought.
 
We are using iscsi, so the plan will be to "activate" the iscsi storage on the "standalone pve" , do a storage migration on it. But after that, what will be the plan to migrate the VM config on the cluster?
 
We are using iscsi, so the plan will be to "activate" the iscsi storage on the "standalone pve" , do a storage migration on it. But after that, what will be the plan to migrate the VM config on the cluster?

Its just a flat text file which resides in /etc/pve/nodes/hostname/qemu-server/. You can scp from the old server to one of your cluster nodes.

- Note, hostname is actually the hostname of your node

You may need to change a couple lines within the VM config to point to the newly migrated disk.

Here is a rough example

virtio0: OS:vm-100-disk-1,size=300G

The above disk resides in the Volume Group called "OS" and is called vm-100-disk-1. You might also need to change your VM config number if that number allready exists on your cluster.