I'm not letting Matt take a bullet with my name on it! :)

What support there is in Ganglia for Solaris (sparc, that is) is mostly my fault. All of my development used a 64-bit gcc 3.0.x compiler.

The monitoring core is smart enough to realize, once it's executed, that it's using a 32-bit kernel read call on a 64-bit kernel and kindly informs you of this before it dumps core, provided that your debug output is on (or possibly even if it isn't, I'd have to check the code to be sure).

It made more sense to rely on gcc at the time because I thought it would involve less Makefile voodoo. This was mostly true.

So for the record, I'm not saying it won't compile in other environments - I've just never done it myself.

Also, note that the metric set in the monitoring core is different between Solaris and Linux in the 2.x versions (this will be "fixed" in 3.x). So don't mix and match Solaris and Linux boxes in the same cluster. It's like crossing the streams - the end result would be very bad.

Welcome to the various lists.  :)

Gary Braida wrote:
Hello Matt,

I found your name in the ganglia v2.5.2 documentation as someone close to the
ganglia project with Sun SPARC/Solaris experience.  I would like to ask you
a few questions wrt. compiling Ganglia on Solaris 8 (SPARC).  I just nicely 
joined
the ganglia mailing list (general list) so I may post my questions there as 
well.  Before
I begin, here is a brief overview of the enviroment I'm working in.

Environment
-----------

- Solaris 8 HW 02/02 (Cluster = Entire Dist + OEM)
- 64 bit kernel
- Forte 6 Update 2 compiler suite
- Compiling system = Sun Sun Fire 6800
- ganglia v2.5.2


Questions
---------

I'm really just looking for general gotchas and tips for compiling ganglia
on Solaris 8; ideally using Sun's Forte Developer compilers.  I was able
to successfully compile gmond using gcc v2.95.3 but the gmond binary would
not start.  I've narrowed this problem down to the fact that this system is
running a 64-bit kernel and gmond is looking for 32-bit kernel parameters
judging by the gmond (gmond -d5) error - "gmond: /dev/ksyms is not a 32-bit
kernel namelist".

Back to Solaris 8 and Forte compilers and 64-bit compiling and linking.  Any
comments and/or suggestions for compiling ganglia on Solaris using a 64-bit
kernel would be greatly appreciated.

Regards,
Gary...


             Gary Braida
             Technical Specialist

    STANTIVE solutions inc.
             Sun Microsystems
             Authorized Independent Sales Organization
             201-780 Midpark Drive
             Kingston, Ontario, CANADA, K7M 7P6

T] 613.634.7410 ext.225    E] [EMAIL PROTECTED]
T] 800.665.3015 ext.225    W] www.stantive.com
F] 613.634.7412




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers



Reply via email to