Hi, I am trying to figure out how to do p2v and v2v migrations on a Centos 7 kvm host. With previous versions there was virt-p2v but that does not seem to exist with Centos-7. I realize that if I am using shared storage, I can do live migrations but that does not help with p2v migrations. Does anyone know what the recommended procedure is for migrating either physical or virtual machines to Centos-7 is? I have tried searching for the answer but my google foo is not being helpful. Regards, -- Tom me at tdiehl.org Spamtrap address me123 at tdiehl.org
Hi I do this last week, and I use CloneZilla to generate a file image from a phisical server running Ubuntu and after that, used Clonezilla to restore into KVM hypervisor with no tears... Very smoothly... Cheers 2014-08-19 14:21 GMT-03:00 <me at tdiehl.org>:> Hi, > > I am trying to figure out how to do p2v and v2v migrations on a Centos 7 > kvm > host. With previous versions there was virt-p2v but that does not seem to > exist > with Centos-7. > > I realize that if I am using shared storage, I can do live migrations but > that does not help with p2v migrations. > > Does anyone know what the recommended procedure is for migrating either > physical or virtual machines to Centos-7 is? > > I have tried searching for the answer but my google foo is not being > helpful. > > Regards, > > -- > Tom me at tdiehl.org Spamtrap address > me123 at tdiehl.org > _______________________________________________ > CentOS-virt mailing list > CentOS-virt at centos.org > http://lists.centos.org/mailman/listinfo/centos-virt >-- Obrigado Cordialmente Gilberto Ferreira Konnecta TI Tecnologia - Sistemas de Virtualiza??o, Solu??es de Armazenamento de Dados, Cria??o de SAN/NAS, Zimbra Mail Server, Implanta??o de Linux e Windows server. Funda??o Softville Rua Otto Boehm, 48 (47) 9676-7530 Skype: gilberto.nunes36 www.konnectati.com.br blog.konnectati.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20140819/a1a35f90/attachment-0006.html>
On Tue, 19 Aug 2014, Gilberto Nunes wrote:> Hi > > I do this last week, and I use CloneZilla to generate a file image from a > phisical server running Ubuntu and after that, used Clonezilla to restore > into KVM hypervisor with no tears...Thanks for the info. I was kinda hoping for a solution using tools that are supplied with Centos but this sounds feasible so I will give it a try. -- Tom me at tdiehl.org Spamtrap address me123 at tdiehl.org> 2014-08-19 14:21 GMT-03:00 <me at tdiehl.org>: > >> Hi, >> >> I am trying to figure out how to do p2v and v2v migrations on a Centos 7 >> kvm >> host. With previous versions there was virt-p2v but that does not seem to >> exist >> with Centos-7. >> >> I realize that if I am using shared storage, I can do live migrations but >> that does not help with p2v migrations. >> >> Does anyone know what the recommended procedure is for migrating either >> physical or virtual machines to Centos-7 is? >> >> I have tried searching for the answer but my google foo is not being >> helpful. >> >> Regards, >> >> -- >> Tom me at tdiehl.org Spamtrap address >> me123 at tdiehl.org >> _______________________________________________ >> CentOS-virt mailing list >> CentOS-virt at centos.org >> http://lists.centos.org/mailman/listinfo/centos-virt >> > > > >
On Tue, Aug 19, 2014 at 1:21 PM, <me at tdiehl.org> wrote:> Hi, > > I am trying to figure out how to do p2v and v2v migrations on a Centos 7 > kvm > host. With previous versions there was virt-p2v but that does not seem to > exist > with Centos-7. > > I realize that if I am using shared storage, I can do live migrations but > that does not help with p2v migrations. > > Does anyone know what the recommended procedure is for migrating either > physical or virtual machines to Centos-7 is? >While maybe not officially recommended, you could rsync [0] the OS over. You have a couple of options if you choose to rsync: 1) set up partitions, mount them in a rescue environment, and rsync most everything (certain items from /dev/ can be excluded and everything from /sys/ and /proc/, not to mention NFS mount points, etc). Then tweak fstab, chroot to install grub, and possibly rebuild the initrd/initramfs with proper modules (might need virtio, etc). There are other nuances like MAC addresses on interfaces (if HWADDR is defined in your network-scripts files), but those would be a possible gotcha even if you used Clonezilla. 2) set up partitions, install a fresh copy of CentOS7, then rsync everything over top (means you don't have to sync identical files). You'll need knowledge of a bunch to do the manual operations (that otherwise would be automated by anaconda) for the rsync method. But the upside is I've managed to keep production boxes up and minimized downtime (maybe slightly more latency/delay on the production host, but it wasn't noticeable). [0] https://wiki.archlinux.org/index.php/Full_system_backup_with_rsync -- ---~~.~~--- Mike // SilverTip257 // -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20140821/3d0143cf/attachment-0006.html>
On Thu, Aug 21, 2014 at 7:25 PM, SilverTip257 <silvertip257 at gmail.com> wrote:> On Tue, Aug 19, 2014 at 1:21 PM, <me at tdiehl.org> wrote: >> >> Hi, >> >> I am trying to figure out how to do p2v and v2v migrations on a Centos 7 >> kvm >> host. With previous versions there was virt-p2v but that does not seem to >> exist >> with Centos-7. >> >> I realize that if I am using shared storage, I can do live migrations but >> that does not help with p2v migrations. >> >> Does anyone know what the recommended procedure is for migrating either >> physical or virtual machines to Centos-7 is? > > > While maybe not officially recommended, you could rsync [0] the OS over.If you go this route, boot with a Live DVD and make a tarball, or use "star" to make an SELinux aware tarball. That way, you have a copy to store, label, and unpack into a chroot cage and edit and propagate elsewhere, as needed. Rsync can be efficient, but transmitting and uncompressing a tarball is *much faster*. Put it in the swap partition temporarily, if you need to.