<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Aug 19, 2014 at 1:21 PM,  <span dir="ltr">&lt;<a href="mailto:me@tdiehl.org" target="_blank">me@tdiehl.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Hi,<br>
<br>
I am trying to figure out how to do p2v and v2v migrations on a Centos 7 kvm<br>
host. With previous versions there was virt-p2v but that does not seem to exist<br>
with Centos-7.<br>
<br>
I realize that if I am using shared storage, I can do live migrations but<br>
that does not help with p2v migrations.<br>
<br>
Does anyone know what the recommended procedure is for migrating either<br>
physical or virtual machines to Centos-7 is?<br></blockquote><div><br></div><div>While maybe not officially recommended, you could rsync [0] the OS over.</div><div><br></div><div>You have a couple of options if you choose to rsync:</div>

<div>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.</div>

<div>2) set up partitions, install a fresh copy of CentOS7, then rsync everything over top (means you don&#39;t have to sync identical files).</div><div><br></div><div>You&#39;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&#39;ve managed to keep production boxes up and minimized downtime (maybe slightly more latency/delay on the production host, but it wasn&#39;t noticeable).</div>

<div><br></div><div><br></div><div>[0] <a href="https://wiki.archlinux.org/index.php/Full_system_backup_with_rsync">https://wiki.archlinux.org/index.php/Full_system_backup_with_rsync</a></div></div><div><br></div>-- <br>
---~~.~~---<br>
Mike<br>//  SilverTip257  //
</div></div>