lazy

  • Thread starter Thread starter ansanto
  • Start date Start date
A

ansanto

Guest
I've to transfer some VMs between two PVE-DRBD clusters, since I'm lazy I'd like a fast solution like the one in the migration page of the wiki.
In few words, presuming to transfer VM-101:

at the node_A of the 'new' PVE-DRBD cluster which will host VM-101 (the receiver):
> netcat -w30 -vvnlp 3333 |gzip -dc > /dev/drbdvg/vm-101-disk-1

at the node of PVE-DRBD cluster which hosts VM-101 (the sender):
> dd if=/dev/drbdvg/vm-101-disk-1 | gzip -c | nc -w30 -vvn <IP-of-node_A> 3333

Before I go in troubles, could it work?

Thanks
 
Last edited by a moderator: