Hello,
I am trying to migrate a VM from a my VMWare Server 2 to my ESXi 3.5 Server. I probably should say, that I have just the VMware infrastructure client running in a VMware Server 2 VM running XPPro.
OK, I can create a .ovf-file from the source, but I have problems inserting it into the destination.
I tried it using the VI-Client, but has problem with the envelope, because it can read only version 0.9 files.
So I have to import it using the vi:// option of ovftool. And that is where I have my problems.
I tried the following:
ovftool <ovf-File> vi://user:pass@esxi-host -> Error: Datacenter object not found
ovftool <ovf-File> vi://user:pass@esxi-host/ha-datacenter -> Error: Locator does not refer to an object: vi://root@esxi-host/ha-datacenter (I found that ha-datacenter when I created a VM.)
BTW, the ovftool is running on Linux, I am using the XP just because of the non-existant Linux VI-Client.
I also tried connecting to the VI-Client machine, but the connection gets refused, probably because I don't know, what ports are used, if this is the ciorrect way to go.
Can somebody please tell me, what I am doing wrong. What parameters do I have to pass to ovftool, so it imports the VM to ESXi? Does the VM has to exist in the ESXi-Server before doing the import?
Thanks in advance
Dieter