[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] vmware, vcenter, clusterComputeResource error.



Hello dear libvirt users.

I am trying to make some migration from a VMWare esx to another.
I am using ubuntu, and the last version found (my install script is http://dl.dropbox.com/u/7494462/libvirt/install.sh )

The configuration is the following:
192.168.18.5 is the first esx
172.28.2.7 is the vcenter. The vcenter has been added the esx and manages it. The DRS is activated on that vcenter.
The esx is running one VM, created from the vcenter.

Using libvirt, I can connect to the esx
# /opt/libvirt/bin/virsh -c "esx://192.168.18.5?no_verify=1"
Enter username for 192.168.18.5 [root]:
Enter root's password for 192.168.18.5:
Welcome to virsh, the virtualization interactive terminal.

I cannot however connect to the esx, specifying to use the vcenter :
# /opt/libvirt/bin/virsh -c "esx://192.168.18.5?vcenter=*&no_verify=1"
Enter username for 192.168.18.5 [root]:
Enter root's password for 192.168.18.5:
Enter username for 172.28.2.7 [administrator]: administrateur
Enter administrateur's password for 172.28.2.7:
error: internal error Invalid lookup from 'ClusterComputeResource'
error: failed to connect to the hypervisor

I have the same error for the following commands:
# /opt/libvirt/bin/virsh -c "vpx://172.28.2.7/Entropy-VMW/Demo/192.168.18.5?no_verify=1"
# /opt/libvirt/bin/virsh -c "esx://192.168.18.5?vcenter=172.28.2.7&no_verify=1"

I have a different error when I use bad resource names for datacenter, cluster :
# /opt/libvirt/bin/virsh -c "vpx://172.28.2.7/badDatacenter/Demo/dsl_18.120?no_verify=1"
error: internal error Could not find datacenter 'badDatacenter'
# /opt/libvirt/bin/virsh -c "vpx://172.28.2.7/Entropy-VMW/badCluster/dsl_18.120?no_verify=1"
error: internal error Could not find compute resource 'badCluster'

My questions are : what am I missing ? What is a ClusterComputeResource ? Do I need to activate or configurate some tools on the vcenter ?

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]