[one-users] Add ESX host to OpenNebula 3.2
Tino Vazquez
tinova at opennebula.org
Fri Feb 17 06:17:56 PST 2012
Dear Rafa,
did you configure oned.conf accordingly? (Please see [1], OpenNebula
Daemon (oned.conf)).
About the storage, you can use directly the SOURCE attribute in a VM
template (ie, you don't need to add the images to the Image
repository), but only if you are oneadmin or your user belongs to
oneadmin group.
Regards,
-Tino
[1] http://opennebula.org/documentation:rel3.2:evmwareg#vmware_configuration
--
Constantino Vázquez Blanco, MSc | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula - The Open-Source Solution for Data Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula
On Fri, Feb 17, 2012 at 9:46 AM, Rafael Arco Arredondo <rafaarco at ugr.es> wrote:
> 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
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
More information about the Users
mailing list