Re: [Libguestfs] Some more Virt-P2V CD results
On Wed, Aug 31, 2011 at 12:56:50PM -0500, Greg Scott wrote:
OK, thanks. I just did a yum install virt-v2v on a Fedora 14 VM - but the man pages don't have anything about how to do physical machines. I already have a p2v CD built with virt-p2v-image-builder a while ago. I boot my source server from that CD - what do I do on the Fedora 14 conversion VM? How do I tell it to get its input from a physical server instead of another VM?
Let's keep this on the upstream mailing list so that discussion benefits everyone. I'm not sure how compatible the protocol was between an old version of the ISO and current versions. Matt will know in detail. However I just pushed virt-p2v-image-builder to F14 quite recently. The version in *F16* is known to be broken, but the version in F14 is worth trying ... https://rwmj.wordpress.com/2011/08/30/virt-p2v-virt-v2v-in-fedora-14/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top
[root@megahost gregs]# sh -v EOCHSP2V.sh date Wed Aug 31 11:53:39 CDT 2011 virt-v2v -ic ssh://10.10.10.127/?no_verify=1 -o libvirt -os EOCHSVMStorage --bridge br0 10.10.10.127 virt-v2v: Failed to connect to ssh://10.10.10.127/?no_verify=1:
OK. I changed the subject line so it fits in with the post I did a few minutes ago to the list. I did my virt-p2v-image-builder on June 28, version virt-p2v 0.8.1 devel.20110628025409. You just released virt-v2v 0.8.3 and I can go grab that and install it on my Fedora 14 VM. It looks like my virt-P2v CD that I burned 2 months ago is still current. But what I still don't get is, how do I set up the conversion server? This is part of what I tried earlier today and it blows up with a bizarre error. I'm guessing I want ssh:// but I haven't found any guidance. libvirt error code: 38, message: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
date Wed Aug 31 11:53:40 CDT 2011 [root@megahost gregs]#
- Greg Scott -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Wednesday, August 31, 2011 1:01 PM To: Greg Scott Cc: Matthew Booth; libguestfs@redhat.com Subject: Re: Some more Virt-P2V CD results On Wed, Aug 31, 2011 at 12:56:50PM -0500, Greg Scott wrote:
OK, thanks. I just did a yum install virt-v2v on a Fedora 14 VM - but the man pages don't have anything about how to do physical machines. I already have a p2v CD built with virt-p2v-image-builder a while ago. I boot my source server from that CD - what do I do on the Fedora 14 conversion VM? How do I tell it to get its input from a physical server instead of another VM?
Let's keep this on the upstream mailing list so that discussion benefits everyone. I'm not sure how compatible the protocol was between an old version of the ISO and current versions. Matt will know in detail. However I just pushed virt-p2v-image-builder to F14 quite recently. The version in *F16* is known to be broken, but the version in F14 is worth trying ... https://rwmj.wordpress.com/2011/08/30/virt-p2v-virt-v2v-in-fedora-14/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top
[root@megahost gregs]# sh -v EOCHSP2V.sh date Wed Aug 31 11:53:39 CDT 2011 virt-v2v -ic ssh://10.10.10.127/?no_verify=1 -o libvirt -os EOCHSVMStorage --bridge br0 10.10.10.127 virt-v2v: Failed to connect to ssh://10.10.10.127/?no_verify=1:
The conversion server has to be running virt-p2v-server (which is part of the virt-p2v package on Fedora). So the same system that you made the virt-p2v-image on will be your conversion server. RHEL 6.1 doesn't yet support virt-p2v, that won't be added until 6.2 at the earliest. On the virt-p2v conversion server, you need to configure a virt-v2v.conf file in the same way you would if you were doing a v2v conversion. -----Original Message----- From: libguestfs-bounces@redhat.com [mailto:libguestfs-bounces@redhat.com] On Behalf Of Greg Scott Sent: Wednesday, August 31, 2011 2:37 PM To: Richard W.M. Jones Cc: libguestfs@redhat.com Subject: Re: [Libguestfs] Trying to use virt-p2v OK. I changed the subject line so it fits in with the post I did a few minutes ago to the list. I did my virt-p2v-image-builder on June 28, version virt-p2v 0.8.1 devel.20110628025409. You just released virt-v2v 0.8.3 and I can go grab that and install it on my Fedora 14 VM. It looks like my virt-P2v CD that I burned 2 months ago is still current. But what I still don't get is, how do I set up the conversion server? This is part of what I tried earlier today and it blows up with a bizarre error. I'm guessing I want ssh:// but I haven't found any guidance. libvirt error code: 38, message: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
date Wed Aug 31 11:53:40 CDT 2011 [root@megahost gregs]#
- Greg Scott -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Wednesday, August 31, 2011 1:01 PM To: Greg Scott Cc: Matthew Booth; libguestfs@redhat.com Subject: Re: Some more Virt-P2V CD results On Wed, Aug 31, 2011 at 12:56:50PM -0500, Greg Scott wrote:
OK, thanks. I just did a yum install virt-v2v on a Fedora 14 VM - but the man pages don't have anything about how to do physical machines. I already have a p2v CD built with virt-p2v-image-builder a while ago. I boot my source server from that CD - what do I do on the Fedora 14 conversion VM? How do I tell it to get its input from a physical server instead of another VM?
Let's keep this on the upstream mailing list so that discussion benefits everyone. I'm not sure how compatible the protocol was between an old version of the ISO and current versions. Matt will know in detail. However I just pushed virt-p2v-image-builder to F14 quite recently. The version in *F16* is known to be broken, but the version in F14 is worth trying ... https://rwmj.wordpress.com/2011/08/30/virt-p2v-virt-v2v-in-fedora-14/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
[root@megahost gregs]# sh -v EOCHSP2V.sh date Wed Aug 31 11:53:39 CDT 2011 virt-v2v -ic ssh://10.10.10.127/?no_verify=1 -o libvirt -os EOCHSVMStorage --bridge br0 10.10.10.127 virt-v2v: Failed to connect to ssh://10.10.10.127/?no_verify=1:
Oh man, so close! [root@f14ptov ~]# yum list available | grep p2v rubygem-virt-p2v.noarch 0.8.1-2.fc14 updates rubygem-virt-p2v-doc.noarch 0.8.1-2.fc14 updates virt-p2v-image-builder.noarch 0.8.1-2.fc14 updates [root@f14ptov ~]# So is rubygem-virt-p2v the piece I'm missing? - Greg -----Original Message----- From: Brian Gold [mailto:bgold@simons-rock.edu] Sent: Wednesday, August 31, 2011 1:44 PM To: Greg Scott; 'Richard W.M. Jones' Cc: libguestfs@redhat.com Subject: RE: [Libguestfs] Trying to use virt-p2v The conversion server has to be running virt-p2v-server (which is part of the virt-p2v package on Fedora). So the same system that you made the virt-p2v-image on will be your conversion server. RHEL 6.1 doesn't yet support virt-p2v, that won't be added until 6.2 at the earliest. On the virt-p2v conversion server, you need to configure a virt-v2v.conf file in the same way you would if you were doing a v2v conversion. -----Original Message----- From: libguestfs-bounces@redhat.com [mailto:libguestfs-bounces@redhat.com] On Behalf Of Greg Scott Sent: Wednesday, August 31, 2011 2:37 PM To: Richard W.M. Jones Cc: libguestfs@redhat.com Subject: Re: [Libguestfs] Trying to use virt-p2v OK. I changed the subject line so it fits in with the post I did a few minutes ago to the list. I did my virt-p2v-image-builder on June 28, version virt-p2v 0.8.1 devel.20110628025409. You just released virt-v2v 0.8.3 and I can go grab that and install it on my Fedora 14 VM. It looks like my virt-P2v CD that I burned 2 months ago is still current. But what I still don't get is, how do I set up the conversion server? This is part of what I tried earlier today and it blows up with a bizarre error. I'm guessing I want ssh:// but I haven't found any guidance. libvirt error code: 38, message: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
date Wed Aug 31 11:53:40 CDT 2011 [root@megahost gregs]#
- Greg Scott -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Wednesday, August 31, 2011 1:01 PM To: Greg Scott Cc: Matthew Booth; libguestfs@redhat.com Subject: Re: Some more Virt-P2V CD results On Wed, Aug 31, 2011 at 12:56:50PM -0500, Greg Scott wrote:
OK, thanks. I just did a yum install virt-v2v on a Fedora 14 VM - but the man pages don't have anything about how to do physical machines. I already have a p2v CD built with virt-p2v-image-builder a while ago. I boot my source server from that CD - what do I do on the Fedora 14 conversion VM? How do I tell it to get its input from a physical server instead of another VM?
Let's keep this on the upstream mailing list so that discussion benefits everyone. I'm not sure how compatible the protocol was between an old version of the ISO and current versions. Matt will know in detail. However I just pushed virt-p2v-image-builder to F14 quite recently. The version in *F16* is known to be broken, but the version in F14 is worth trying ... https://rwmj.wordpress.com/2011/08/30/virt-p2v-virt-v2v-in-fedora-14/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
On Wed, Aug 31, 2011 at 01:52:04PM -0500, Greg Scott wrote:
Oh man, so close!
[root@f14ptov ~]# yum list available | grep p2v rubygem-virt-p2v.noarch 0.8.1-2.fc14 updates rubygem-virt-p2v-doc.noarch 0.8.1-2.fc14 updates virt-p2v-image-builder.noarch 0.8.1-2.fc14 updates [root@f14ptov ~]#
So is rubygem-virt-p2v the piece I'm missing?
Sorry I meant to try all this out today but I got sidetracked. I'm definitely going to look at virt-p2v and/or fix it tomorrow. Hopefully Matt will be able to help us too. As a side note, latest version should be 0.8.3. See: https://rwmj.wordpress.com/2011/08/30/virt-p2v-virt-v2v-in-fedora-14/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
Well, progress but I'm not there yet. Here are the steps: On my RHEL6.1 host - I set up a 250 GB logical volume and put an ext4 filesystem on it and set it up as an NFS share. I mounted it in the F14 guest, so now I have somewhere to put the stuff from the F14 guest point of view. The resulting VM images will end up as files in a filesystem instead of LVM LVs, but I can live with that. On the F14 VM, I did yum install rubygem-virt-p2v and yum install rubygem-virt-p2v-doc. And now man virt-p2v-server has some text. On my Windows server, booted from the virt-p2v CD - I connected to the Fedora VM at IP Address 10.10.10.104 and passed the root credentials. This time it logged in, but immediately complained there are no profiles in virt-v2v.conf. So back to the virt-p2v-server man pages, I inserted these lines near the bottom: <profile name='Temp2003'> <method>libvirt</method> <storage /mnt/EOCHSTemp2003 format='raw' allocation='sparse'>default</storage> <network type='bridge' name='br0'> </network> </profile> Back to my source server, Connect to the conversion server, and . . . it hangs. The mouse cursor moves, but now everything is greyed out, no files are being created, and the only network traffic is me watching with iptraf. -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Wednesday, August 31, 2011 2:26 PM To: Greg Scott Cc: Brian Gold; libguestfs@redhat.com Subject: Re: [Libguestfs] Trying to use virt-p2v On Wed, Aug 31, 2011 at 01:52:04PM -0500, Greg Scott wrote:
Oh man, so close!
[root@f14ptov ~]# yum list available | grep p2v rubygem-virt-p2v.noarch 0.8.1-2.fc14 updates rubygem-virt-p2v-doc.noarch 0.8.1-2.fc14 updates virt-p2v-image-builder.noarch 0.8.1-2.fc14 updates [root@f14ptov ~]#
So is rubygem-virt-p2v the piece I'm missing?
Sorry I meant to try all this out today but I got sidetracked. I'm definitely going to look at virt-p2v and/or fix it tomorrow. Hopefully Matt will be able to help us too. As a side note, latest version should be 0.8.3. See: https://rwmj.wordpress.com/2011/08/30/virt-p2v-virt-v2v-in-fedora-14/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
It's not very clear visually, but you should be able to select "temp2003" from the destination profile dropdown. Once you've done that you can fill in the name, # of cpus, memory, etc. Are you able to get far enough that you even get this screen? http://i.imgur.com/TGggl.jpg -----Original Message----- From: Greg Scott [mailto:GregScott@Infrasupport.com] Sent: Wednesday, August 31, 2011 3:44 PM To: Richard W.M. Jones Cc: Brian Gold; libguestfs@redhat.com Subject: RE: [Libguestfs] Trying to use virt-p2v Well, progress but I'm not there yet. Here are the steps: On my RHEL6.1 host - I set up a 250 GB logical volume and put an ext4 filesystem on it and set it up as an NFS share. I mounted it in the F14 guest, so now I have somewhere to put the stuff from the F14 guest point of view. The resulting VM images will end up as files in a filesystem instead of LVM LVs, but I can live with that. On the F14 VM, I did yum install rubygem-virt-p2v and yum install rubygem-virt-p2v-doc. And now man virt-p2v-server has some text. On my Windows server, booted from the virt-p2v CD - I connected to the Fedora VM at IP Address 10.10.10.104 and passed the root credentials. This time it logged in, but immediately complained there are no profiles in virt-v2v.conf. So back to the virt-p2v-server man pages, I inserted these lines near the bottom: <profile name='Temp2003'> <method>libvirt</method> <storage /mnt/EOCHSTemp2003 format='raw' allocation='sparse'>default</storage> <network type='bridge' name='br0'> </network> </profile> Back to my source server, Connect to the conversion server, and . . . it hangs. The mouse cursor moves, but now everything is greyed out, no files are being created, and the only network traffic is me watching with iptraf. -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Wednesday, August 31, 2011 2:26 PM To: Greg Scott Cc: Brian Gold; libguestfs@redhat.com Subject: Re: [Libguestfs] Trying to use virt-p2v On Wed, Aug 31, 2011 at 01:52:04PM -0500, Greg Scott wrote:
Oh man, so close!
[root@f14ptov ~]# yum list available | grep p2v rubygem-virt-p2v.noarch 0.8.1-2.fc14 updates rubygem-virt-p2v-doc.noarch 0.8.1-2.fc14 updates virt-p2v-image-builder.noarch 0.8.1-2.fc14 updates [root@f14ptov ~]#
So is rubygem-virt-p2v the piece I'm missing?
Sorry I meant to try all this out today but I got sidetracked. I'm definitely going to look at virt-p2v and/or fix it tomorrow. Hopefully Matt will be able to help us too. As a side note, latest version should be 0.8.3. See: https://rwmj.wordpress.com/2011/08/30/virt-p2v-virt-v2v-in-fedora-14/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
Holy moley, there's a destination profile dropdown???? It just hangs and everything goes grey. -----Original Message----- From: Brian Gold [mailto:bgold@simons-rock.edu] Sent: Wednesday, August 31, 2011 2:52 PM To: Greg Scott; 'Richard W.M. Jones' Cc: libguestfs@redhat.com Subject: RE: [Libguestfs] Trying to use virt-p2v It's not very clear visually, but you should be able to select "temp2003" from the destination profile dropdown. Once you've done that you can fill in the name, # of cpus, memory, etc. Are you able to get far enough that you even get this screen? http://i.imgur.com/TGggl.jpg -----Original Message----- From: Greg Scott [mailto:GregScott@Infrasupport.com] Sent: Wednesday, August 31, 2011 3:44 PM To: Richard W.M. Jones Cc: Brian Gold; libguestfs@redhat.com Subject: RE: [Libguestfs] Trying to use virt-p2v Well, progress but I'm not there yet. Here are the steps: On my RHEL6.1 host - I set up a 250 GB logical volume and put an ext4 filesystem on it and set it up as an NFS share. I mounted it in the F14 guest, so now I have somewhere to put the stuff from the F14 guest point of view. The resulting VM images will end up as files in a filesystem instead of LVM LVs, but I can live with that. On the F14 VM, I did yum install rubygem-virt-p2v and yum install rubygem-virt-p2v-doc. And now man virt-p2v-server has some text. On my Windows server, booted from the virt-p2v CD - I connected to the Fedora VM at IP Address 10.10.10.104 and passed the root credentials. This time it logged in, but immediately complained there are no profiles in virt-v2v.conf. So back to the virt-p2v-server man pages, I inserted these lines near the bottom: <profile name='Temp2003'> <method>libvirt</method> <storage /mnt/EOCHSTemp2003 format='raw' allocation='sparse'>default</storage> <network type='bridge' name='br0'> </network> </profile> Back to my source server, Connect to the conversion server, and . . . it hangs. The mouse cursor moves, but now everything is greyed out, no files are being created, and the only network traffic is me watching with iptraf. -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Wednesday, August 31, 2011 2:26 PM To: Greg Scott Cc: Brian Gold; libguestfs@redhat.com Subject: Re: [Libguestfs] Trying to use virt-p2v On Wed, Aug 31, 2011 at 01:52:04PM -0500, Greg Scott wrote:
Oh man, so close!
[root@f14ptov ~]# yum list available | grep p2v rubygem-virt-p2v.noarch 0.8.1-2.fc14 updates rubygem-virt-p2v-doc.noarch 0.8.1-2.fc14 updates virt-p2v-image-builder.noarch 0.8.1-2.fc14 updates [root@f14ptov ~]#
So is rubygem-virt-p2v the piece I'm missing?
Sorry I meant to try all this out today but I got sidetracked. I'm definitely going to look at virt-p2v and/or fix it tomorrow. Hopefully Matt will be able to help us too. As a side note, latest version should be 0.8.3. See: https://rwmj.wordpress.com/2011/08/30/virt-p2v-virt-v2v-in-fedora-14/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
Here is a pointer to a screenshot from my KVM over IP switch: http://www.infrasupport.com/deleteme/virt-v2v-hang.jpg. - Greg -----Original Message----- From: Brian Gold [mailto:bgold@simons-rock.edu] Sent: Wednesday, August 31, 2011 2:52 PM To: Greg Scott; 'Richard W.M. Jones' Cc: libguestfs@redhat.com Subject: RE: [Libguestfs] Trying to use virt-p2v It's not very clear visually, but you should be able to select "temp2003" from the destination profile dropdown. Once you've done that you can fill in the name, # of cpus, memory, etc. Are you able to get far enough that you even get this screen? http://i.imgur.com/TGggl.jpg -----Original Message----- From: Greg Scott [mailto:GregScott@Infrasupport.com] Sent: Wednesday, August 31, 2011 3:44 PM To: Richard W.M. Jones Cc: Brian Gold; libguestfs@redhat.com Subject: RE: [Libguestfs] Trying to use virt-p2v Well, progress but I'm not there yet. Here are the steps: On my RHEL6.1 host - I set up a 250 GB logical volume and put an ext4 filesystem on it and set it up as an NFS share. I mounted it in the F14 guest, so now I have somewhere to put the stuff from the F14 guest point of view. The resulting VM images will end up as files in a filesystem instead of LVM LVs, but I can live with that. On the F14 VM, I did yum install rubygem-virt-p2v and yum install rubygem-virt-p2v-doc. And now man virt-p2v-server has some text. On my Windows server, booted from the virt-p2v CD - I connected to the Fedora VM at IP Address 10.10.10.104 and passed the root credentials. This time it logged in, but immediately complained there are no profiles in virt-v2v.conf. So back to the virt-p2v-server man pages, I inserted these lines near the bottom: <profile name='Temp2003'> <method>libvirt</method> <storage /mnt/EOCHSTemp2003 format='raw' allocation='sparse'>default</storage> <network type='bridge' name='br0'> </network> </profile> Back to my source server, Connect to the conversion server, and . . . it hangs. The mouse cursor moves, but now everything is greyed out, no files are being created, and the only network traffic is me watching with iptraf. -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Wednesday, August 31, 2011 2:26 PM To: Greg Scott Cc: Brian Gold; libguestfs@redhat.com Subject: Re: [Libguestfs] Trying to use virt-p2v On Wed, Aug 31, 2011 at 01:52:04PM -0500, Greg Scott wrote:
Oh man, so close!
[root@f14ptov ~]# yum list available | grep p2v rubygem-virt-p2v.noarch 0.8.1-2.fc14 updates rubygem-virt-p2v-doc.noarch 0.8.1-2.fc14 updates virt-p2v-image-builder.noarch 0.8.1-2.fc14 updates [root@f14ptov ~]#
So is rubygem-virt-p2v the piece I'm missing?
Sorry I meant to try all this out today but I got sidetracked. I'm definitely going to look at virt-p2v and/or fix it tomorrow. Hopefully Matt will be able to help us too. As a side note, latest version should be 0.8.3. See: https://rwmj.wordpress.com/2011/08/30/virt-p2v-virt-v2v-in-fedora-14/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
I tried installing the 0.8.3.1 stuff, but the first RPM I tried had a couple of dependencies and I ran out of time to chase those down. I am under the gun on this one - I have to get this system migrated and back at the colo site. It was supposed to be turned around by this afternoon so now I'm very late and won't get it back until tomorrow afternoon. I gave up on virt-p2v for this one and I'm doing by hand with an old-fashioned Windows backup and restore to a fresh VM. - Greg -----Original Message----- From: libguestfs-bounces@redhat.com [mailto:libguestfs-bounces@redhat.com] On Behalf Of Greg Scott Sent: Wednesday, August 31, 2011 3:09 PM To: Brian Gold; Richard W.M. Jones Cc: libguestfs@redhat.com Subject: Re: [Libguestfs] Trying to use virt-p2v Here is a pointer to a screenshot from my KVM over IP switch: http://www.infrasupport.com/deleteme/virt-v2v-hang.jpg. - Greg -----Original Message----- From: Brian Gold [mailto:bgold@simons-rock.edu] Sent: Wednesday, August 31, 2011 2:52 PM To: Greg Scott; 'Richard W.M. Jones' Cc: libguestfs@redhat.com Subject: RE: [Libguestfs] Trying to use virt-p2v It's not very clear visually, but you should be able to select "temp2003" from the destination profile dropdown. Once you've done that you can fill in the name, # of cpus, memory, etc. Are you able to get far enough that you even get this screen? http://i.imgur.com/TGggl.jpg -----Original Message----- From: Greg Scott [mailto:GregScott@Infrasupport.com] Sent: Wednesday, August 31, 2011 3:44 PM To: Richard W.M. Jones Cc: Brian Gold; libguestfs@redhat.com Subject: RE: [Libguestfs] Trying to use virt-p2v Well, progress but I'm not there yet. Here are the steps: On my RHEL6.1 host - I set up a 250 GB logical volume and put an ext4 filesystem on it and set it up as an NFS share. I mounted it in the F14 guest, so now I have somewhere to put the stuff from the F14 guest point of view. The resulting VM images will end up as files in a filesystem instead of LVM LVs, but I can live with that. On the F14 VM, I did yum install rubygem-virt-p2v and yum install rubygem-virt-p2v-doc. And now man virt-p2v-server has some text. On my Windows server, booted from the virt-p2v CD - I connected to the Fedora VM at IP Address 10.10.10.104 and passed the root credentials. This time it logged in, but immediately complained there are no profiles in virt-v2v.conf. So back to the virt-p2v-server man pages, I inserted these lines near the bottom: <profile name='Temp2003'> <method>libvirt</method> <storage /mnt/EOCHSTemp2003 format='raw' allocation='sparse'>default</storage> <network type='bridge' name='br0'> </network> </profile> Back to my source server, Connect to the conversion server, and . . . it hangs. The mouse cursor moves, but now everything is greyed out, no files are being created, and the only network traffic is me watching with iptraf. -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Wednesday, August 31, 2011 2:26 PM To: Greg Scott Cc: Brian Gold; libguestfs@redhat.com Subject: Re: [Libguestfs] Trying to use virt-p2v On Wed, Aug 31, 2011 at 01:52:04PM -0500, Greg Scott wrote:
Oh man, so close!
[root@f14ptov ~]# yum list available | grep p2v rubygem-virt-p2v.noarch 0.8.1-2.fc14 updates rubygem-virt-p2v-doc.noarch 0.8.1-2.fc14 updates virt-p2v-image-builder.noarch 0.8.1-2.fc14 updates [root@f14ptov ~]#
So is rubygem-virt-p2v the piece I'm missing?
Sorry I meant to try all this out today but I got sidetracked. I'm definitely going to look at virt-p2v and/or fix it tomorrow. Hopefully Matt will be able to help us too. As a side note, latest version should be 0.8.3. See: https://rwmj.wordpress.com/2011/08/30/virt-p2v-virt-v2v-in-fedora-14/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
On 31/08/11 19:36, Greg Scott wrote:
OK. I changed the subject line so it fits in with the post I did a few minutes ago to the list.
I did my virt-p2v-image-builder on June 28, version virt-p2v 0.8.1 devel.20110628025409. You just released virt-v2v 0.8.3 and I can go grab that and install it on my Fedora 14 VM. It looks like my virt-P2v CD that I burned 2 months ago is still current.
Looking at git, I think this version should be ok. Matt -- Matthew Booth, RHCA, RHCSS Red Hat Engineering, Virtualisation Team GPG ID: D33C3490 GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
Sigh... Sometimes nothing goes right. For my workaround, I used ntbackup on the source Windows machine to make Windows savesets on the target Windows VM. And then the plan was to restore those savesets and system state on top of another newly built Windows VM. The virtual equivalent of a Microsoft bare metal restore. The first try - I was using the libvirt default Realtech NIC driver on my target VM and the backup estimate was around 20, count 'em, 20 hours for about 230GB. After around 9 hours, about 2AM, it failed when my target Win2008R2 VM went offline. So I took the opportunity to change virtual NICs and set up my target Win2008 VM with the Virtio driver. And - as long as everything was down anyway - I also added a br1 bridge to my RHEL host and 2nd Virtio NIC to the target VM. It's going to need a private connection for its backups at the colo site. Brought it up and started backing up again. This time, running ntbackup for only the system drive and again for the data drive, instead of a monolithic saveset with both. By around 3AM I couldn't hold my eyes open anymore and went to bed. And the backup died around 4AM when my target VM went offline AGAIN! This time, the only way to fix it was disable the 2nd virtio NIC, then disable the first Virtio NIC and re-enable it again. And now it's back online and I started up another ntbackup. This time, instead of 20+ hours to backup 280 GB, it's projecting about 5 hours to backup 158 GB. So the good news is, the Virtio NIC driver is definitely faster. Bad news is, it apparently is not stable, at least when there's a 2nd one and doing a bulk copy. - Greg Scott -----Original Message----- From: Matthew Booth [mailto:mbooth@redhat.com] Sent: Thursday, September 01, 2011 3:35 AM To: Greg Scott Cc: Richard W.M. Jones; libguestfs@redhat.com Subject: Re: [Libguestfs] Trying to use virt-p2v On 31/08/11 19:36, Greg Scott wrote:
OK. I changed the subject line so it fits in with the post I did a few minutes ago to the list.
I did my virt-p2v-image-builder on June 28, version virt-p2v 0.8.1 devel.20110628025409. You just released virt-v2v 0.8.3 and I can go grab that and install it on my Fedora 14 VM. It looks like my virt-P2v CD that I burned 2 months ago is still current.
Looking at git, I think this version should be ok. Matt -- Matthew Booth, RHCA, RHCSS Red Hat Engineering, Virtualisation Team GPG ID: D33C3490 GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
On 31/08/11 19:01, Richard W.M. Jones wrote:
On Wed, Aug 31, 2011 at 12:56:50PM -0500, Greg Scott wrote:
OK, thanks. I just did a yum install virt-v2v on a Fedora 14 VM - but the man pages don't have anything about how to do physical machines. I already have a p2v CD built with virt-p2v-image-builder a while ago. I boot my source server from that CD - what do I do on the Fedora 14 conversion VM? How do I tell it to get its input from a physical server instead of another VM?
Let's keep this on the upstream mailing list so that discussion benefits everyone.
I'm not sure how compatible the protocol was between an old version of the ISO and current versions. Matt will know in detail.
I made an incompatible change in virt-p2v 0.8.1. Since then it's fine, though.
However I just pushed virt-p2v-image-builder to F14 quite recently. The version in *F16* is known to be broken, but the version in F14 is worth trying ...
https://rwmj.wordpress.com/2011/08/30/virt-p2v-virt-v2v-in-fedora-14/
The version in F14 is known to work. It's the only Fedora version I've tested on. I'm about to fix F15, though. The F16 problem Rich reported looks like the upstream kickstart syntax changed again. Matt -- Matthew Booth, RHCA, RHCSS Red Hat Engineering, Virtualisation Team GPG ID: D33C3490 GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
On 01/09/11 09:30, Matthew Booth wrote:
On 31/08/11 19:01, Richard W.M. Jones wrote:
On Wed, Aug 31, 2011 at 12:56:50PM -0500, Greg Scott wrote:
OK, thanks. I just did a yum install virt-v2v on a Fedora 14 VM - but the man pages don't have anything about how to do physical machines. I already have a p2v CD built with virt-p2v-image-builder a while ago. I boot my source server from that CD - what do I do on the Fedora 14 conversion VM? How do I tell it to get its input from a physical server instead of another VM?
Let's keep this on the upstream mailing list so that discussion benefits everyone.
I'm not sure how compatible the protocol was between an old version of the ISO and current versions. Matt will know in detail.
I made an incompatible change in virt-p2v 0.8.1. Since then it's fine, though.
Sorry, that should have been 0.8.2. Matt -- Matthew Booth, RHCA, RHCSS Red Hat Engineering, Virtualisation Team GPG ID: D33C3490 GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
participants (4)
-
Brian Gold -
Greg Scott -
Matthew Booth -
Richard W.M. Jones