Info about exporting from vSphere

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&Cons? - 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

On Thu, Feb 8, 2018 at 4:20 PM, Gianluca Cecchi <gianluca.cecchi@gmail.com> 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&Cons?
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. I'm importing ~600 VM using mode 1. 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 , <lorenzetto.luca@gmail.com>

On Thu, Feb 8, 2018 at 4:28 PM, Luca 'remix_tj' Lorenzetto < lorenzetto.luca@gmail.com> wrote:
On Thu, Feb 8, 2018 at 4:20 PM, Gianluca Cecchi <gianluca.cecchi@gmail.com> 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&Cons?
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=s... 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?

On Thu, Feb 8, 2018 at 4:34 PM, Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
Thanks Luca. I asked because I see this inside the gui. https://drive.google.com/file/d/12vI9RUq9t4J--jlkqSxvG2jqylGfD2sP/view?usp=s...
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 , <lorenzetto.luca@gmail.com>

On Thu, Feb 8, 2018 at 4:38 PM, Luca 'remix_tj' Lorenzetto < lorenzetto.luca@gmail.com> wrote:
On Thu, Feb 8, 2018 at 4:34 PM, Gianluca Cecchi <gianluca.cecchi@gmail.com> 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

On Fri, Feb 9, 2018 at 11:46 AM, Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
On Thu, Feb 8, 2018 at 4:38 PM, Luca 'remix_tj' Lorenzetto < lorenzetto.luca@gmail.com> wrote:
On Thu, Feb 8, 2018 at 4:34 PM, Gianluca Cecchi <gianluca.cecchi@gmail.com> 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

On Fri, Feb 9, 2018 at 11:46 AM, Gianluca Cecchi <gianluca.cecchi@gmail.com> 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 <gianluca.cecchi@gmail.com> 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 , <lorenzetto.luca@gmail.com>
participants (2)
-
Gianluca Cecchi
-
Luca 'remix_tj' Lorenzetto