Re: [ovirt-users] Info about exporting from vSphere

2018-02-09 Thread Luca 'remix_tj' Lorenzetto
On Fri, Feb 9, 2018 at 11:46 AM, Gianluca Cecchi
 wrote:
>>
>> When using that function you'll point to a specific host connected to
>> the given vcenter, in the given datacenter, inside a given cluster.
>> Import function will contact vcenter and ask for all vms in shutdown
>> status on that host, then allows you to continue with the wizard.
>
>
> Which "function" are you referring to?

VMware import source.


On Fri, Feb 9, 2018 at 11:51 AM, Gianluca Cecchi
 wrote:
[cut]
>
> Sorry again for the rumor
>


No problem.

If you need i can provide you some python-sdk code. I've build an
entire migration tool that interacts with VMware and oVirt to
orchestrate the migration of vms.

Once completed the migration and some cleanup, we'll release it. At
the moment is just a bunch home made libraries connected each other
through a main function that's called through python-rq.

Luca

-- 
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Info about exporting from vSphere

2018-02-09 Thread Gianluca Cecchi
On Fri, Feb 9, 2018 at 11:46 AM, Gianluca Cecchi 
wrote:

> On Thu, Feb 8, 2018 at 4:38 PM, Luca 'remix_tj' Lorenzetto <
> lorenzetto.l...@gmail.com> wrote:
>
>> On Thu, Feb 8, 2018 at 4:34 PM, Gianluca Cecchi
>>  wrote:
>> >
>> > Thanks Luca.
>> > I asked because I see this inside the gui.
>> > https://drive.google.com/file/d/12vI9RUq9t4J--jlkqSxvG2jqylG
>> fD2sP/view?usp=sharing
>> >
>> > Probably you do it via api and you don't need to provide ESXi
>> credentials?
>> > Did you try also from web admin gui leaving empty the fields related to
>> > ESXi?
>> >
>>
>> If you're not used to libvirt connection to vmware, all that fields
>> could scare. Anyway you need to fill out all the values, because are
>> needed to locate the vm you want to migrate.
>>
>
> So you are confirming that using "VMware" import option all fields are
> needed, ESXi hostname and credentials comprised.
> In fact if I don't fill and click "Load", in the ESXi fileds I get the
> popup notice that "this filed can't be empty"...
>


Oooops, sorry!

I misread the window ;-(
The "password" field is under ESXi field, but it is related to vSphere
credentials, not ESXi
In fact inside the window there is only one "password" field.

I just tried and it works. in the sense that with "Load" I see the VMs
inside the DC/Cluster

Sorry again for the rumor
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Info about exporting from vSphere

2018-02-09 Thread Gianluca Cecchi
On Thu, Feb 8, 2018 at 4:38 PM, Luca 'remix_tj' Lorenzetto <
lorenzetto.l...@gmail.com> wrote:

> On Thu, Feb 8, 2018 at 4:34 PM, Gianluca Cecchi
>  wrote:
> >
> > Thanks Luca.
> > I asked because I see this inside the gui.
> > https://drive.google.com/file/d/12vI9RUq9t4J--
> jlkqSxvG2jqylGfD2sP/view?usp=sharing
> >
> > Probably you do it via api and you don't need to provide ESXi
> credentials?
> > Did you try also from web admin gui leaving empty the fields related to
> > ESXi?
> >
>
> If you're not used to libvirt connection to vmware, all that fields
> could scare. Anyway you need to fill out all the values, because are
> needed to locate the vm you want to migrate.
>

So you are confirming that using "VMware" import option all fields are
needed, ESXi hostname and credentials comprised.
In fact if I don't fill and click "Load", in the ESXi fileds I get the
popup notice that "this filed can't be empty"...



> When using that function you'll point to a specific host connected to
> the given vcenter, in the given datacenter, inside a given cluster.
> Import function will contact vcenter and ask for all vms in shutdown
> status on that host, then allows you to continue with the wizard.
>

Which "function" are you referring to?

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


Re: [ovirt-users] Info about exporting from vSphere

2018-02-08 Thread Luca 'remix_tj' Lorenzetto
On Thu, Feb 8, 2018 at 4:34 PM, Gianluca Cecchi
 wrote:
>
> Thanks Luca.
> I asked because I see this inside the gui.
> https://drive.google.com/file/d/12vI9RUq9t4J--jlkqSxvG2jqylGfD2sP/view?usp=sharing
>
> Probably you do it via api and you don't need to provide ESXi credentials?
> Did you try also from web admin gui leaving empty the fields related to
> ESXi?
>

If you're not used to libvirt connection to vmware, all that fields
could scare. Anyway you need to fill out all the values, because are
needed to locate the vm you want to migrate.
When using that function you'll point to a specific host connected to
the given vcenter, in the given datacenter, inside a given cluster.
Import function will contact vcenter and ask for all vms in shutdown
status on that host, then allows you to continue with the wizard.

Luca



-- 
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Info about exporting from vSphere

2018-02-08 Thread Gianluca Cecchi
On Thu, Feb 8, 2018 at 4:28 PM, Luca 'remix_tj' Lorenzetto <
lorenzetto.l...@gmail.com> wrote:

> On Thu, Feb 8, 2018 at 4:20 PM, Gianluca Cecchi
>  wrote:
> > Hello,
> > I have this ind of situation.
> [cut]
> > I see in my oVirt 4.1.9 that I can import from:
> >
> > 1) VMware
> >
> > 2) VMware Virtual Appliance
> [cut]
> > - what is the best between the 2 methods if I can chose? Their Pros?
> >
>
> Mode 1 imports directly from the vcenter, method 2 required you to
> export vm to OVA and then copy to some path and import to RHV
>
> Mode 1 requires an user on vcenter only. Any operation you'll do will
> go through vcenter.
>

Thanks Luca.
I asked because I see this inside the gui.
https://drive.google.com/file/d/12vI9RUq9t4J--jlkqSxvG2jqylGfD2sP/view?usp=sharing

Probably you do it via api and you don't need to provide ESXi credentials?
Did you try also from web admin gui leaving empty the fields related to
ESXi?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Info about exporting from vSphere

2018-02-08 Thread Gianluca Cecchi
Hello,
I have this ind of situation.

Source env:
It is vSphere 6.5 (both vCenter Server appliance and ESXi hosts) where I
have an admin account to connect to, but currently only to vCenter and not
to the ESXi hosts

The VM to be migrated is Windows 2008 R2 SP1 with virtual hw version 8
(ESXi 5.0 and later) and has one boot disk 35Gb and one data disk 250Gb.
The SCSI controller is LSI logic sas and network vmxnet3
It has no snapshots at the moment

I see in my oVirt 4.1.9 that I can import from:

1) VMware

2) VMware Virtual Appliance

and found also related documentations in RHEV 4.1 Virtual Machine
Management pdf
Some doubts:

- what is the best between the 2 methods if I can chose? Their Pros?

- Does 1) imply that I also need the ESXi account? Currently my windows
domain account that gives me access to vcenter doesn't work connecting to
ESXi hosts

- also it seems that 1) is more intrusive, while for 2) I only need to put
the ova file into some nfs share...

Thanks in advance,

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