[one-users] Hosts not monitored

Valentin Bud valentin.bud at gmail.com
Thu Oct 6 03:30:50 PDT 2011


On Thu, Oct 6, 2011 at 1:09 PM, Alexandru - Florian Antonescu <
florinantonescu at gmail.com> wrote:

> Hello,
>
> I have recently installed OpenNebula 3.0 (from source) and noticed that the
> added hosts are not being monitored, they just remain in INIT state. In
> var/oned.log I see entries like these:
> Thu Oct  6 08:01:51 2011 [InM][I]: Monitoring host zrhs69 (2)
> Thu Oct  6 08:01:51 2011 [InM][I]: Monitoring host zrhs6a (3)
> Thu Oct  6 08:02:06 2011 [ReM][D]: HostPoolInfo method invoked
> oneadmin user is able to ssh into the hosts without a password.
>
> After looking in etc/im_kvm folder I saw that it is empty. Is this normal?
> How are hosts being monitored in OpenNebula 3.0 ?
>
> Can anyone give me a hint on how to proceed?
>
> Best regards,
> Florian
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
Hello Florian,

 In /etc/one/oned.conf at the "  KVM Information Driver Manager
Configuration " section:
IM_MAD = [
      name       = "im_kvm",
      executable = "one_im_ssh",
      arguments  = "-r 0 -t 15 kvm" ]

The executable one_im_ssh is located in /usr/lib/one/mads
or $ONE_LOCATION/lib/mads, depends if you installed OpenNebula self
contained on in root (/).
The one_im_ssh script sets $MAD_LOCATION and
executes $MAD_LOCATION/one_im_exec $*. Maybe you can find out what happens
following the logic found in those scripts.

The monitoring part works for me. I have ONE3.0 on Debian Squeeze (6.0.2) as
frontend. The nodes are also Debian 6.0.2 with qemu-kvm 0.12.5 and libvirt
0.8.3-5.

Have a great day,
v


-- 
network warrior
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111006/3fa9e4d8/attachment-0003.htm>


More information about the Users mailing list