[one-users] Trouble with VMWare installation and configuration with vmware support
Carlos A.
caralla at upv.es
Mon Jul 18 05:10:12 PDT 2011
Hello,
if you are using VMWare Server, you should change the LIBVIRT_URI to
/LIBVIRT_URI = "gsx://@HOST@/?no_verify=1"/
Regards,
Carlos A.
El 18/07/11 13:37, Juan José Fuentes escribió:
>
> Hi Tino,
>
> I have change the the vmwarerc file setting the creditals, then I
> rebooted OpenNebula, but the error still.
>
> The file vmwarerc is right now:
>
> /# User configurable variables (Ruby syntax)/
>
> /LIBVIRT_URI = "esx://@HOST@/?no_verify=1"/
>
> /QEMU_PROTOCOL = "qemu"/
>
> //
>
> /# Username and password of the VMware hypervisor/
>
> /USERNAME = "oneadmin"/
>
> /PASSWORD = "mypassword"/
>
> //
>
> /# Loading the vmware library for mads/
>
> /# Please leave this uncommented/
>
> /load ENV['ONE_LOCATION'] + "/lib/ruby/vmwarelib.rb"/
>
> //
>
> /ENV['LANG']='C'/
>
> Is everything ok?
>
> Descripción: Descripción: Descripción:
> http://www.gestionuniversitariasigma.com/images/sigma_logoFirma.png
>
>
>
> *Juan José Fuentes**
> Responsable de Sistemas***
>
> Telf +34 902 550 733
>
> Descripción: Descripción: Descripción:
> http://www.gestionuniversitariasigma.com/images/sigma_barraFirma.png
>
> *De:*tinova79 at gmail.com [mailto:tinova79 at gmail.com] *En nombre de
> *Tino Vazquez
> *Enviado el:* lunes, 18 de julio de 2011 12:17
> *Para:* Juan José Fuentes
> *CC:* users at lists.opennebula.org
> *Asunto:* Re: [one-users] Trouble with VMWare installation and
> configuration with vmware support
>
> Hi Juan,
>
> Yes, you need to install VMware Server on the nodes.
>
> About the error, did you edit $ONE_LOCATION/etc/vmwarerc accordingly?
> You need to set the credentials of the VMware Server at least.
>
> Regards,
>
> -Tino
>
>
> --
> Constantino Vázquez Blanco | dsa-research.org/tinova
> <http://dsa-research.org/tinova>
> Virtualization Technology Engineer / Researcher
> OpenNebula Toolkit | opennebula.org <http://opennebula.org>
>
> 2011/7/15 Juan José Fuentes <Juanjose.Fuentes at sigmaaie.org
> <mailto:Juanjose.Fuentes at sigmaaie.org>>
>
> Hi all,
>
> I'm starting configuring OpenNebula and I'm getting some trouble, both
> trying to configure it right and finding documentation, mostly because
> I want to use it with vmware support to still using the vmware server
> virtual machines I already have, at least I hope I could do that, if
> that's not possible I'll stop using OpenNebula.
>
> Until now I have installed OpenNebula 2.2 on a server (sigcloud01), in
> this server I've installed libvirt and the vmware extension
> (vmware-2.2.0.tar.gz). Also I have one host node (sigcloud02) on which
> I've installed VMWare Server 2.0.2. According to the posts/docs I read
> I think it's necessary to install vmware server on the client node or
> it isn't, so I'm not sure.
>
> I also have installed SunStone on the OpenNebula Server.
>
> At this point when I add a host to opennebula it always is in ERR status.
>
> The command I use is: *onehost create sigcloud02 im_vmware vmm_vmware
> tm_vmware*
>
> The oned.log says:
>
> Fri Jul 15 17:55:11 2011 [ReM][D]: HostAllocate method invoked
>
> Fri Jul 15 17:55:18 2011 [ReM][D]: HostPoolInfo method invoked
>
> Fri Jul 15 17:55:18 2011 [InM][I]: Monitoring host sigcloud02 (2)
>
> Fri Jul 15 17:55:18 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
>
> Fri Jul 15 17:55:18 2011 [InM][I]: Command execution fail:
> /var/lib/one/remotes/im/run_probes vmware sigcloud02
>
> Fri Jul 15 17:55:18 2011 [InM][I]: STDERR follows.
>
> Fri Jul 15 17:55:18 2011 [InM][I]: ./vmware.rb:61: undefined method
> `+' for nil:NilClass (NoMethodError)
>
> Fri Jul 15 17:55:18 2011 [InM][I]: Error executing vmware.rb
>
> Fri Jul 15 17:55:18 2011 [InM][I]: ExitCode: 1
>
> Fri Jul 15 17:55:18 2011 [InM][E]: Error monitoring host 2 : MONITOR
> FAILURE 2 Could not monitor host sigcloud02.
>
> Some help will be wellcome!
>
> Thank you in advance,
>
> Juanjo.
>
> *De:*users-bounces at lists.opennebula.org
> <mailto:users-bounces at lists.opennebula.org>
> [mailto:users-bounces at lists.opennebula.org
> <mailto:users-bounces at lists.opennebula.org>] *En nombre de *Amine Ghrab
> *Enviado el:* miércoles, 06 de julio de 2011 12:12
> *Para:* users at lists.opennebula.org <mailto:users at lists.opennebula.org>
> *Asunto:* [one-users] OpenNebula OCCI 1.1
>
> Hi,
>
> I've successfully installed OpenNebula Express, for test purposes,
> using 2 machines.
>
> Now I'm struggling to get the OCCI Server up following this wiki :
> http://dev.opennebula.org/projects/ogf-occi/wiki/Occi_02
> <http://dev.opennebula.org/projects/ogf-occi/wiki/Occi_02>
> and using this file:
> http://dev.opennebula.org/attachments/download/376/ogf-occi-0.2.zip
>
> occi-server.conf and occi-one.conf are similar to :
> http://www.mail-archive.com/users@lists.opennebula.org/msg03257.html
>
> occi-one.conf : http://pastebin.com/nAW16qpc
> occi-server.conf : http://pastebin.com/tLpHB12K
>
> When startin gthe server i get :
>
> oneadmin at amine-front:~$occi-server start
> Error executing /usr/lib/one/ruby/cloud/occi/occi-server.rb.
> oneadmin at amine-front:~$ occi-server stop
> occi-server stopped
>
> The only line of the log is : Error starting server: No VM_TYPE defined.
>
> The other problem is :
>
> oneadmin at amine-frontend:~$ occi-compute --username oneadmin --password
> oneadmin list
> Error connecting to server (Connection refused - connect(2)).
> Server: localhost:4567
>
> The installation is system wide, hence I have the following schema:
>
> oneadmin at amine-front:~$ ls /etc/one/
> auth im_kvm
> occi-server.conf tm_lvm
> defaultrc im_xen
> occi-server.conf.old tm_nfs
> ec2query_templates occi-one.conf
> occi-server.conf.orig tm_ssh
> econe.conf occi-one.conf.old
> occi_templates vmm_ec2
> hm occi_one_templates
> oned.conf vmm_sh
> im_ec2 occi_one_templates.old
> tm_dummy vmm_ssh
>
> Best Regards.
>
> Amine
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110718/3ebd18c3/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 3763 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110718/3ebd18c3/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4169 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110718/3ebd18c3/attachment-0007.png>
More information about the Users
mailing list