[one-users] Add ESX host to OpenNebula 3.2

Rafael Arco Arredondo rafaarco at ugr.es
Fri Feb 17 01:46:56 PST 2012


Hi everyone:

I am having a few issues with OpenNebula 3.2 and VMWare hypervisors.
Particularly, I am getting this error with onehost create:

oneadmin at myhost:~$ onehost create myvmwarehost im_vmware vmm_vmware tm_vmware dummy
ID: 1
oneadmin at myhost:~$ onehost list
  ID NAME               RVM   TCPU   FCPU   ACPU   TMEM   FMEM   AMEM   STAT
   1 myvmwarehost         0      0      0    100     0K     0K     0K    err

oned.log shows:

Fri Feb 17 09:46:38 2012 [InM][I]: Monitoring host myvmwarehost (1)
Fri Feb 17 09:46:38 2012 [InM][E]: Could not find information driver im_vmware
Fri Feb 17 09:46:41 2012 [ReM][D]: GroupPoolInfo method invoked
Fri Feb 17 09:46:48 2012 [ReM][D]: UserPoolInfo method invoked
Fri Feb 17 09:46:49 2012 [ReM][D]: AclInfo method invoked
Fri Feb 17 09:46:53 2012 [ReM][D]: VirtualMachinePoolInfo method invoked
Fri Feb 17 09:46:53 2012 [InM][I]: Monitoring host myvmwarehost (1)
Fri Feb 17 09:46:53 2012 [InM][E]: Could not find information driver im_vmware

I can successfully connect to the VMWare machine with virsh:

oneadmin at myhost:~$ virsh -c esx://myvmwarehost/?no_verify=1
Ingrese un nombre de usuario para myvmwarehost [root]: 
Ingrese la contraseña de root para myvmwarehost: 
Bienvenido a virsh, la terminal de virtualización interactiva.

Ingrese: 'help' para obtener ayuda con los comandos
       'quit' para salir

virsh # 

And my etc/vmwarerc contains:

# Libvirt configuration
:libvirt_uri: "esx://@HOST@/?no_verify=1"

# Username and password of the VMware hypervisor
:username: "root"
:password: "password"

# VMotion configuration attributes
:datacenter: "ha-datacenter"
:vcenter:

By the way, is it necessary to define a location to store the VM images?
I don't need that, I just want to access the machines previously defined
in the hypervisor.

Probably I am doing something wrong, since I am new to OpenNebula, but I
don't know what it is. Any help is appreciated.

Thanks in advance,

Rafa






More information about the Users mailing list