Ah yes, cygwin.

As will be obvious to people running the cygwin gmond, multicast is
not supported and does not work. Multicast? Just say no.

And as you discovered, there are also a few little things to be
done for unicast (or maybe just cygwin unicast). I do this:

udp_send_channel {
  host = 10.200.28.50   # Don't use 127.0.0.1
  port = 8649
}

udp_recv_channel {
  port = 8649
}

That is, the headnode explicitly sends its own data to itself or else
you won't see it.

As this means a different gmond.conf for every windows
host, we did a hack where the udp_send_channel host (the headnode) is
overridden (changed) if a certain registry key is present, and our
installation
process sets the registry key to be the real headnode hostname or IP.
My hack is too shameful to publish.

regards,
richard



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Matthew Chambers
Sent: Friday, 24 August 2007 7:50 AM
To: [email protected]
Subject: Re: [Ganglia-developers] [PROPOSAL] Building Gmond on
WindowsDoc...


I could be confused about the way gmond should be working. Does gmond only
keep information about itself in multicast mode?  That is, if I use unicast
mode, do I have to specifically configure a udp_send_channel to match the
udp_recv_channel on that same machine?  I did just that and it fixed the
problem with the Windows gmond, and since I use multicast on my Linux
clusters I may just be confused and it's really working fine.

This is the relevant section of my config:

udp_send_channel {
  host = 10.200.28.50
  port = 8649
  ttl = 1
}

udp_recv_channel {
  bind = 10.200.28.50
  port = 8649
}

Thanks,
Matt

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:ganglia-
> [EMAIL PROTECTED] On Behalf Of Matthew Chambers
> Sent: Thursday, August 23, 2007 4:35 PM
> To: [email protected]
> Cc: 'Rajrajat Naik'
> Subject: Re: [Ganglia-developers] [PROPOSAL] Building Gmond on
> WindowsDoc...
>
> After some more testing and fiddling, it seems that on Windows, gmond will
> never add itself to the cluster.  It will add other Windows gmonds to the
> cluster, which results in each machine having information about every
> other
> machine but itself.  I suppose this could be worked around by running two
> gmonds on at least one of the boxes, with special configs of course.  Oh
> joy. :)
>
> I definitely second the Windows binary distribution, but it'll need the
> Cygwin runtimes as well.  I can confirm that all I needed to do was copy
> cygwin1.dll to the current directory to get gmond.exe and gstat.exe to
> run.
> I couldn't get multicast working, though.
>
> -Matt
>
> > -----Original Message-----
> > From: Brad Nicholes [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 23, 2007 1:31 PM
> > To: [email protected]; Matthew Chambers
> > Cc: Rajrajat Naik
> > Subject: Re: [Ganglia-developers] [PROPOSAL] Building Gmond on
> > WindowsDoc...
> >
> >     Since most Windows users aren't used to building their own binaries,
> I
> > think a windows binary disto would be a good idea.  That is how Apache
> > distributes the httpd server for Windows.  As far as running gmond on
> > Windows goes, I haven't actually done it myself so I really couldn't
> tell
> > you why the gmond data is not getting back to gmetad.  Maybe Rajrajat
> who
> > was the original author of the document, could jump in here with some
> > ideas.
> >
> > Brad
> >
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Ganglia-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-developers


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.484 / Virus Database: 269.12.2/967 - Release Date: 22/08/2007
6:51 PM



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to