Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-18 Thread Pavel Gashev
Basically, I boot windows in safe mode and remove vmware tools. In this case I 
was able to use old VM if there are issues with conversion. Of course you can 
remove vmware tools before migration.

Linux VMs do not need the convertor. The procedure is much simpler:
1. Make sure you don't use device names in /etc/fstab and grub
2. Make sure initramfs has required drivers:
dracut -f --add-drivers "virtio virtio_net virtio_blk virtio_scsi virtio_pci"
3. Create appropriate VM in oVirt. Disks must be in raw format (default), but 
sparse. NICs must have the same MACs.
4. Hard link vmware and ovirt disk images, and fix permissions (chown 36:36 / 
chmod 0660)
5. Shutdown VM in vmware and immediately start VM in oVirt

On 17/06/16 16:08, "Cam Mac" > 
wrote:

Hi Pavel,

Just to clarify: I've read on the virt-v2v page that you should remove the 
VMware tools from the Windows VM before migration - for step 13 in your list, 
does that apply only to non-windows VMs?

Cheers,

Cam

On Fri, Jun 17, 2016 at 10:54 AM, Cam Mac 
> wrote:
Hi Pavel,

I was testing an import of a Win 7 VM, though there are 2012 ones to import as 
well. Thanks for all those steps, I'll try them out.

Cheers,

Cam

On Thu, Jun 16, 2016 at 7:31 PM, Pavel Gashev 
> wrote:
Cam,

I did import vmware VMs, but it was not an easy procedure. Last time I did it, 
there were the following issues:
* oVirt engine didn't support 32bit VMs. If you have a 32bit VM in vCenter, you 
are not able to see the list VMs to import.
* There were issues if you have a cluster in vCenter. I had to setup a proxy 
server to fix URLs on the fly, but then I've found a better way. See below.
* RHEL/CentOS virt-v2v does't support 2012 and greater. I had to use virt-v2v 
from Fedora.

Thus, if you want to convert it manually, the procedure is the following:
1. Install vdsm-hook-nestedvt on ovirt nodes, and reboot
2. Setup a VM with latest Fedora, install virt-v2v.
3. Mount your NFS storage inside v2v VM.
4. Move windows VMs to the same NFS storage.
5. Connect to vcenter using the following command:
virsh -c vpx://vcenter/Folder/Datacenter/Cluster/server?no_verify=1
6. Find windows VM using 'list' command, and dump config using 'dumpxml 
VMNAME/ID'
7. Edit the xml providing full path to vmdk images (see «source file=»)
8. Create appropriate VM in oVirt
9. Find new VM IDs using ovirt-shell
10. Make sure the source VM is stopped
11. Execute virt-v2v (make sure:
virt-v2v -v -x -i libvirtxml VM.xml -o vdsm -of qcow2 -os 
/nfs/b1b74392-8f46-4a25-aeef-5344ac692c73 --vdsm-image-uuid 
368487a5-d7f2-43d2-bd61-d15abbc5c482 --vdsm-vol-uuid 
2f56c6cd-a212-44e6-a792-447787f5b073 --vdsm-vm-uuid 
421e93a8-33d2-fc0e-4cfc-ac45a35db8c9
12. Fix resulting disk pemissions (chown 36:36 / chmod 0660)
13. Now you can start VM in oVirt. Remove vmware tools, and install oVirt tools 
and drivers.

I hope this helps.

On 15/06/16 20:41, "users-boun...@ovirt.org on 
behalf of Cam Mac"  on 
behalf of iuco...@gmail.com> wrote:

Hi,

I haven't had any luck using the oVirt GUI or virt-v2v (see earlier email), and 
I need to find a way to migrate quite a few Windows hosts (Windows 7, 2012, 
2008, 2k3 etc) into my test oVirt cluster as a PoC so I can make a compelling 
case for getting rid of VMware. Using OVF files looks like a lot more manual 
work as compared to the GUI or virt-v2v, with their nice conversion features.

Any suggestions?

Thanks,

Cam


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-17 Thread Cam Mac
Hi Pavel,

Just to clarify: I've read on the virt-v2v page that you should remove the
VMware tools from the Windows VM before migration - for step 13 in your
list, does that apply only to non-windows VMs?

Cheers,

Cam

On Fri, Jun 17, 2016 at 10:54 AM, Cam Mac  wrote:

> Hi Pavel,
>
> I was testing an import of a Win 7 VM, though there are 2012 ones to
> import as well. Thanks for all those steps, I'll try them out.
>
> Cheers,
>
> Cam
>
> On Thu, Jun 16, 2016 at 7:31 PM, Pavel Gashev  wrote:
>
>> Cam,
>>
>>
>>
>> I did import vmware VMs, but it was not an easy procedure. Last time I
>> did it, there were the following issues:
>>
>> * oVirt engine didn't support 32bit VMs. If you have a 32bit VM in
>> vCenter, you are not able to see the list VMs to import.
>>
>> * There were issues if you have a cluster in vCenter. I had to setup a
>> proxy server to fix URLs on the fly, but then I've found a better way. See
>> below.
>>
>> * RHEL/CentOS virt-v2v does't support 2012 and greater. I had to use
>> virt-v2v from Fedora.
>>
>>
>>
>> Thus, if you want to convert it manually, the procedure is the following:
>>
>> 1. Install vdsm-hook-nestedvt on ovirt nodes, and reboot
>>
>> 2. Setup a VM with latest Fedora, install virt-v2v.
>>
>> 3. Mount your NFS storage inside v2v VM.
>>
>> 4. Move windows VMs to the same NFS storage.
>>
>> 5. Connect to vcenter using the following command:
>>
>> virsh -c vpx://vcenter/Folder/Datacenter/Cluster/server?no_verify=1
>>
>> 6. Find windows VM using 'list' command, and dump config using 'dumpxml
>> VMNAME/ID'
>>
>> 7. Edit the xml providing full path to vmdk images (see «source file=»)
>>
>> 8. Create appropriate VM in oVirt
>>
>> 9. Find new VM IDs using ovirt-shell
>>
>> 10. Make sure the source VM is stopped
>>
>> 11. Execute virt-v2v (make sure:
>>
>> virt-v2v -v -x -i libvirtxml VM.xml -o vdsm -of qcow2 -os
>> /nfs/b1b74392-8f46-4a25-aeef-5344ac692c73 --vdsm-image-uuid
>> 368487a5-d7f2-43d2-bd61-d15abbc5c482 --vdsm-vol-uuid
>> 2f56c6cd-a212-44e6-a792-447787f5b073 --vdsm-vm-uuid
>> 421e93a8-33d2-fc0e-4cfc-ac45a35db8c9
>>
>> 12. Fix resulting disk pemissions (chown 36:36 / chmod 0660)
>>
>> 13. Now you can start VM in oVirt. Remove vmware tools, and install oVirt
>> tools and drivers.
>>
>>
>>
>> I hope this helps.
>>
>>
>>
>> On 15/06/16 20:41, "users-boun...@ovirt.org on behalf of Cam Mac" <
>> users-boun...@ovirt.org on behalf of iuco...@gmail.com> wrote:
>>
>>
>>
>> Hi,
>>
>>
>>
>> I haven't had any luck using the oVirt GUI or virt-v2v (see earlier
>> email), and I need to find a way to migrate quite a few Windows hosts
>> (Windows 7, 2012, 2008, 2k3 etc) into my test oVirt cluster as a PoC so I
>> can make a compelling case for getting rid of VMware. Using OVF files looks
>> like a lot more manual work as compared to the GUI or virt-v2v, with their
>> nice conversion features.
>>
>>
>>
>> Any suggestions?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Cam
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-17 Thread Cam Mac
Hi Pavel,

I was testing an import of a Win 7 VM, though there are 2012 ones to import
as well. Thanks for all those steps, I'll try them out.

Cheers,

Cam

On Thu, Jun 16, 2016 at 7:31 PM, Pavel Gashev  wrote:

> Cam,
>
>
>
> I did import vmware VMs, but it was not an easy procedure. Last time I did
> it, there were the following issues:
>
> * oVirt engine didn't support 32bit VMs. If you have a 32bit VM in
> vCenter, you are not able to see the list VMs to import.
>
> * There were issues if you have a cluster in vCenter. I had to setup a
> proxy server to fix URLs on the fly, but then I've found a better way. See
> below.
>
> * RHEL/CentOS virt-v2v does't support 2012 and greater. I had to use
> virt-v2v from Fedora.
>
>
>
> Thus, if you want to convert it manually, the procedure is the following:
>
> 1. Install vdsm-hook-nestedvt on ovirt nodes, and reboot
>
> 2. Setup a VM with latest Fedora, install virt-v2v.
>
> 3. Mount your NFS storage inside v2v VM.
>
> 4. Move windows VMs to the same NFS storage.
>
> 5. Connect to vcenter using the following command:
>
> virsh -c vpx://vcenter/Folder/Datacenter/Cluster/server?no_verify=1
>
> 6. Find windows VM using 'list' command, and dump config using 'dumpxml
> VMNAME/ID'
>
> 7. Edit the xml providing full path to vmdk images (see «source file=»)
>
> 8. Create appropriate VM in oVirt
>
> 9. Find new VM IDs using ovirt-shell
>
> 10. Make sure the source VM is stopped
>
> 11. Execute virt-v2v (make sure:
>
> virt-v2v -v -x -i libvirtxml VM.xml -o vdsm -of qcow2 -os
> /nfs/b1b74392-8f46-4a25-aeef-5344ac692c73 --vdsm-image-uuid
> 368487a5-d7f2-43d2-bd61-d15abbc5c482 --vdsm-vol-uuid
> 2f56c6cd-a212-44e6-a792-447787f5b073 --vdsm-vm-uuid
> 421e93a8-33d2-fc0e-4cfc-ac45a35db8c9
>
> 12. Fix resulting disk pemissions (chown 36:36 / chmod 0660)
>
> 13. Now you can start VM in oVirt. Remove vmware tools, and install oVirt
> tools and drivers.
>
>
>
> I hope this helps.
>
>
>
> On 15/06/16 20:41, "users-boun...@ovirt.org on behalf of Cam Mac" <
> users-boun...@ovirt.org on behalf of iuco...@gmail.com> wrote:
>
>
>
> Hi,
>
>
>
> I haven't had any luck using the oVirt GUI or virt-v2v (see earlier
> email), and I need to find a way to migrate quite a few Windows hosts
> (Windows 7, 2012, 2008, 2k3 etc) into my test oVirt cluster as a PoC so I
> can make a compelling case for getting rid of VMware. Using OVF files looks
> like a lot more manual work as compared to the GUI or virt-v2v, with their
> nice conversion features.
>
>
>
> Any suggestions?
>
>
>
> Thanks,
>
>
>
> Cam
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-16 Thread Brett I. Holcomb
I wasn't either and was beating my head against the wall trying to get 
it to work and finally found a post that mentioned it.  In hindsight it 
makes sense because the vdsm account is what it runs under but nowhere 
in any document I've found from RH or oVirt on conversion does it 
mention running as vdsm.  I guess the poster of that site had the same 
problem.


Good luck.


On 06/16/2016 07:26 AM, Cam Mac wrote:

Hi Brett,

Thanks for the reply. Yes, I tried the GUI, and it failed (the 
original email is at: 
http://lists.ovirt.org/pipermail/users/2016-June/040298.html, which 
includes log files). I wasn't aware that virt-v2v doesn't like being 
run as root, so I will try it as user vdsm. I will try your other 
suggestions too, and post the results.


Cheers,

Cam

On Wed, Jun 15, 2016 at 9:29 PM, Brett I. Holcomb 
> wrote:




On 06/15/2016 01:41 PM, Cam Mac wrote:

Hi,

I haven't had any luck using the oVirt GUI or virt-v2v (see
earlier email), and I need to find a way to migrate quite a few
Windows hosts (Windows 7, 2012, 2008, 2k3 etc) into my test oVirt
cluster as a PoC so I can make a compelling case for getting rid
of VMware. Using OVF files looks like a lot more manual work as
compared to the GUI or virt-v2v, with their nice conversion features.

Any suggestions?

Thanks,

Cam


___
Users mailing list
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users


Are you getting errors?

Here's what I have in my notes but you may already have tried it
and the GUI doesn't seem to have a way to do it. I migrated from
both ESXi6 and VMwareWorkstation 11. First I exported as ova.

**  Make sure the export directory is mounted.
*  virt-v2v doesn't like being run as root so run it as vdsm user
and you need to specify the shell.

  su - vdsm -s /bin/bash

For Export storage located on another computer remote to the one
running virt-v2v use the host:/export format

  virt-v2v -i ova -of raw -o rhev -os
ovhost1:/srv/exports/ovirt/export1 --network VLAN100 -oa sparse
-on  

For Export storage located on a server that is doing exporting use
this format with local directory path for -os

  virt-v2v -i ova -of raw -o rhev -os /srv/exports/ovirt/export1
-oa sparse --network VLAN100 -on   /path/

I moved my ova files to my host (I run hosted engine deployment). 
Then I su'd and ran the second command since my host exports the

oVirt Export directory.

Once the command completes I run the oVirt admin import and select
the VMs from the list and move them over.  I have to change the
location of the storage since it defaults to the Engine storage
and not my iSCSI storage.

I've done it on mainly Linux and a Win 7 VM and it worked.  I
haven't tried any servers yet.



*

___
Users mailing list
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-16 Thread Pavel Gashev
Cam,

I did import vmware VMs, but it was not an easy procedure. Last time I did it, 
there were the following issues:
* oVirt engine didn't support 32bit VMs. If you have a 32bit VM in vCenter, you 
are not able to see the list VMs to import.
* There were issues if you have a cluster in vCenter. I had to setup a proxy 
server to fix URLs on the fly, but then I've found a better way. See below.
* RHEL/CentOS virt-v2v does't support 2012 and greater. I had to use virt-v2v 
from Fedora.

Thus, if you want to convert it manually, the procedure is the following:
1. Install vdsm-hook-nestedvt on ovirt nodes, and reboot
2. Setup a VM with latest Fedora, install virt-v2v.
3. Mount your NFS storage inside v2v VM.
4. Move windows VMs to the same NFS storage.
5. Connect to vcenter using the following command:
virsh -c vpx://vcenter/Folder/Datacenter/Cluster/server?no_verify=1
6. Find windows VM using 'list' command, and dump config using 'dumpxml 
VMNAME/ID'
7. Edit the xml providing full path to vmdk images (see «source file=»)
8. Create appropriate VM in oVirt
9. Find new VM IDs using ovirt-shell
10. Make sure the source VM is stopped
11. Execute virt-v2v (make sure:
virt-v2v -v -x -i libvirtxml VM.xml -o vdsm -of qcow2 -os 
/nfs/b1b74392-8f46-4a25-aeef-5344ac692c73 --vdsm-image-uuid 
368487a5-d7f2-43d2-bd61-d15abbc5c482 --vdsm-vol-uuid 
2f56c6cd-a212-44e6-a792-447787f5b073 --vdsm-vm-uuid 
421e93a8-33d2-fc0e-4cfc-ac45a35db8c9
12. Fix resulting disk pemissions (chown 36:36 / chmod 0660)
13. Now you can start VM in oVirt. Remove vmware tools, and install oVirt tools 
and drivers.

I hope this helps.

On 15/06/16 20:41, "users-boun...@ovirt.org on 
behalf of Cam Mac"  on 
behalf of iuco...@gmail.com> wrote:

Hi,

I haven't had any luck using the oVirt GUI or virt-v2v (see earlier email), and 
I need to find a way to migrate quite a few Windows hosts (Windows 7, 2012, 
2008, 2k3 etc) into my test oVirt cluster as a PoC so I can make a compelling 
case for getting rid of VMware. Using OVF files looks like a lot more manual 
work as compared to the GUI or virt-v2v, with their nice conversion features.

Any suggestions?

Thanks,

Cam
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-16 Thread Nir Soffer
On Thu, Jun 16, 2016 at 2:21 PM, Cam Mac  wrote:
> Hi Nir,
>
> I have tried the import vm feature, but with no luck. Here is the original
> email I sent, which
> includes logs attached of the errors when using this tool:
>
> http://lists.ovirt.org/pipermail/users/2016-June/040298.html

You wrote:

> I can access via http a list of VMs at the following URL:

> https://nssesxi-mgmt/folder?dcPath=North%2520Sutton%2520Street=nssesxi%252dc2%252dr10%252dlun2

> Below is the URI to the vm itself (once shutdown, it gets the name 'vm2_1'):

> https://nssesxi-mgmt/folder/wvm2_1?dcPath=North%2520Sutton%2520Street=nssesxi%252dc1%252dr10%252dlun2

Smells like vmware bug, double-escaping %20 to %2520.

Did you check with vmware support?

I would eliminate the spaces in the data center name to avoid such issues.

Nir

>
> Kind regards,
>
> Cam
>
> On Wed, Jun 15, 2016 at 8:23 PM, Nir Soffer  wrote:
>>
>> On Wed, Jun 15, 2016 at 8:41 PM, Cam Mac  wrote:
>> > Hi,
>> >
>> > I haven't had any luck using the oVirt GUI or virt-v2v (see earlier
>> > email),
>> > and I need to find a way to migrate quite a few Windows hosts (Windows
>> > 7,
>> > 2012, 2008, 2k3 etc) into my test oVirt cluster as a PoC so I can make a
>> > compelling case for getting rid of VMware. Using OVF files looks like a
>> > lot
>> > more manual work as compared to the GUI or virt-v2v, with their nice
>> > conversion features.
>> >
>> > Any suggestions?
>>
>> I think the best way is use our import external vm feature.
>>
>> Can you point us to the mail about this?
>>
>> Nir
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-16 Thread Cam Mac
Hi Shahar,

The details of my attempts, including the log, are at:
http://lists.ovirt.org/pipermail/users/2016-June/040298.html. The version
of VMware vCenter and vSphere is 6.0.

Please let me know if you need any further information.

Cheers,

Cam

On Thu, Jun 16, 2016 at 7:00 AM, Shahar Havivi  wrote:

> On 15.06.16 22:23, Nir Soffer wrote:
> > On Wed, Jun 15, 2016 at 8:41 PM, Cam Mac  wrote:
> > > Hi,
> > >
> > > I haven't had any luck using the oVirt GUI or virt-v2v (see earlier
> email),
> > > and I need to find a way to migrate quite a few Windows hosts (Windows
> 7,
> > > 2012, 2008, 2k3 etc) into my test oVirt cluster as a PoC so I can make
> a
> > > compelling case for getting rid of VMware. Using OVF files looks like
> a lot
> > > more manual work as compared to the GUI or virt-v2v, with their nice
> > > conversion features.
> How did you try to import via oVirt/virt-v2v?
> Please specify the steps as well as the version of vmware (do you use a
> cluster), the version of the vdsm hosts and logs will be nice.
>
> Thanks,
>   Shahar.
> > >
> > > Any suggestions?
> >
> > I think the best way is use our import external vm feature.
> >
> > Can you point us to the mail about this?
> >
> > Nir
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-16 Thread Cam Mac
Hi Brett,

Thanks for the reply. Yes, I tried the GUI, and it failed (the original
email is at: http://lists.ovirt.org/pipermail/users/2016-June/040298.html,
which includes log files). I wasn't aware that virt-v2v doesn't like being
run as root, so I will try it as user vdsm. I will try your other
suggestions too, and post the results.

Cheers,

Cam

On Wed, Jun 15, 2016 at 9:29 PM, Brett I. Holcomb 
wrote:

>
>
> On 06/15/2016 01:41 PM, Cam Mac wrote:
>
> Hi,
>
> I haven't had any luck using the oVirt GUI or virt-v2v (see earlier
> email), and I need to find a way to migrate quite a few Windows hosts
> (Windows 7, 2012, 2008, 2k3 etc) into my test oVirt cluster as a PoC so I
> can make a compelling case for getting rid of VMware. Using OVF files looks
> like a lot more manual work as compared to the GUI or virt-v2v, with their
> nice conversion features.
>
> Any suggestions?
>
> Thanks,
>
> Cam
>
>
> ___
> Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>
> Are you getting errors?
>
> Here's what I have in my notes but you may already have tried it and the
> GUI doesn't seem to have a way to do it.  I migrated from both ESXi6 and
> VMwareWorkstation 11.  First I exported as ova.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> **  Make sure the export directory is mounted. *  virt-v2v doesn't like
> being run as root so run it as vdsm user and you need to specify the shell.
>   su - vdsm -s /bin/bash For Export storage located on another computer
> remote to the one running virt-v2v use the host:/export format   virt-v2v
> -i ova -of raw -o rhev -os ovhost1:/srv/exports/ovirt/export1 --network
> VLAN100 -oa sparse -on   For Export storage
> located on a server that is doing exporting use this format with local
> directory path for -os   virt-v2v -i ova -of raw -o rhev -os
> /srv/exports/ovirt/export1 -oa sparse --network VLAN100 -on 
> /path/ I moved my ova files to my host (I run hosted
> engine deployment).  Then I su'd and ran the second command since my host
> exports the oVirt Export directory. Once the command completes I run the
> oVirt admin import and select the VMs from the list and move them over.  I
> have to change the location of the storage since it defaults to the Engine
> storage and not my iSCSI storage. I've done it on mainly Linux and a Win 7
> VM and it worked.  I haven't tried any servers yet. *
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-16 Thread Cam Mac
Hi Nir,

I have tried the import vm feature, but with no luck. Here is the original
email I sent, which
includes logs attached of the errors when using this tool:

http://lists.ovirt.org/pipermail/users/2016-June/040298.html

Kind regards,

Cam

On Wed, Jun 15, 2016 at 8:23 PM, Nir Soffer  wrote:

> On Wed, Jun 15, 2016 at 8:41 PM, Cam Mac  wrote:
> > Hi,
> >
> > I haven't had any luck using the oVirt GUI or virt-v2v (see earlier
> email),
> > and I need to find a way to migrate quite a few Windows hosts (Windows 7,
> > 2012, 2008, 2k3 etc) into my test oVirt cluster as a PoC so I can make a
> > compelling case for getting rid of VMware. Using OVF files looks like a
> lot
> > more manual work as compared to the GUI or virt-v2v, with their nice
> > conversion features.
> >
> > Any suggestions?
>
> I think the best way is use our import external vm feature.
>
> Can you point us to the mail about this?
>
> Nir
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-16 Thread Shahar Havivi
On 15.06.16 22:23, Nir Soffer wrote:
> On Wed, Jun 15, 2016 at 8:41 PM, Cam Mac  wrote:
> > Hi,
> >
> > I haven't had any luck using the oVirt GUI or virt-v2v (see earlier email),
> > and I need to find a way to migrate quite a few Windows hosts (Windows 7,
> > 2012, 2008, 2k3 etc) into my test oVirt cluster as a PoC so I can make a
> > compelling case for getting rid of VMware. Using OVF files looks like a lot
> > more manual work as compared to the GUI or virt-v2v, with their nice
> > conversion features.
How did you try to import via oVirt/virt-v2v?
Please specify the steps as well as the version of vmware (do you use a
cluster), the version of the vdsm hosts and logs will be nice.

Thanks,
  Shahar.
> >
> > Any suggestions?
> 
> I think the best way is use our import external vm feature.
> 
> Can you point us to the mail about this?
> 
> Nir
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-15 Thread Brett I. Holcomb



On 06/15/2016 01:41 PM, Cam Mac wrote:

Hi,

I haven't had any luck using the oVirt GUI or virt-v2v (see earlier 
email), and I need to find a way to migrate quite a few Windows hosts 
(Windows 7, 2012, 2008, 2k3 etc) into my test oVirt cluster as a PoC 
so I can make a compelling case for getting rid of VMware. Using OVF 
files looks like a lot more manual work as compared to the GUI or 
virt-v2v, with their nice conversion features.


Any suggestions?

Thanks,

Cam


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Are you getting errors?

Here's what I have in my notes but you may already have tried it and the 
GUI doesn't seem to have a way to do it.  I migrated from both ESXi6 and 
VMwareWorkstation 11.  First I exported as ova.


**  Make sure the export directory is mounted.
*  virt-v2v doesn't like being run as root so run it as vdsm user and 
you need to specify the shell.


  su - vdsm -s /bin/bash

For Export storage located on another computer remote to the one running 
virt-v2v use the host:/export format


  virt-v2v -i ova -of raw -o rhev -os 
ovhost1:/srv/exports/ovirt/export1 --network VLAN100 -oa sparse -on name> 


For Export storage located on a server that is doing exporting use this 
format with local directory path for -os


  virt-v2v -i ova -of raw -o rhev -os /srv/exports/ovirt/export1 -oa 
sparse --network VLAN100 -on   /path/


I moved my ova files to my host (I run hosted engine deployment). Then I 
su'd and ran the second command since my host exports the oVirt Export 
directory.


Once the command completes I run the oVirt admin import and select the 
VMs from the list and move them over.  I have to change the location of 
the storage since it defaults to the Engine storage and not my iSCSI 
storage.


I've done it on mainly Linux and a Win 7 VM and it worked.  I haven't 
tried any servers yet.




*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] best way to migrate VMs from VMware to oVirt

2016-06-15 Thread Nir Soffer
On Wed, Jun 15, 2016 at 8:41 PM, Cam Mac  wrote:
> Hi,
>
> I haven't had any luck using the oVirt GUI or virt-v2v (see earlier email),
> and I need to find a way to migrate quite a few Windows hosts (Windows 7,
> 2012, 2008, 2k3 etc) into my test oVirt cluster as a PoC so I can make a
> compelling case for getting rid of VMware. Using OVF files looks like a lot
> more manual work as compared to the GUI or virt-v2v, with their nice
> conversion features.
>
> Any suggestions?

I think the best way is use our import external vm feature.

Can you point us to the mail about this?

Nir
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users