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: tinov...@gmail.com [mailto:tinov...@gmail.com] En nombre de Tino Vazquez
Enviado el: lunes, 18 de julio de 2011 12:17
Para: Juan José Fuentes
CC: users@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.fuen...@sigmaaie.org<mailto:juanjose.fuen...@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-boun...@lists.opennebula.org<mailto:users-boun...@lists.opennebula.org> 
[mailto:users-boun...@lists.opennebula.org<mailto:users-boun...@lists.opennebula.org>]
 En nombre de Amine Ghrab
Enviado el: miércoles, 06 de julio de 2011 12:12
Para: users@lists.opennebula.org<mailto:users@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
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@amine-front:~$occi-server start
Error executing /usr/lib/one/ruby/cloud/occi/occi-server.rb.
oneadmin@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@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@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@lists.opennebula.org<mailto:Users@lists.opennebula.org>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

<<inline: image001.png>>

<<inline: image002.png>>

_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to