Hi Ken:

I just looked at the code, Ganglia determines boottime based on btime
of /proc/stat.  If it fails to get the value of btime, it sets
boottime to 0 (which is what you are observing).

uptime is derived from boottime.

So, the question is, what is btime on your cluster2/cluster3 nodes' /proc/stat?

Cheers,

Bernard

On Wed, Jul 8, 2009 at 12:22 PM, Ken Teague<[email protected]> wrote:
> On 7/8/2009 11:16 AM, Bernard Li wrote:
>>
>> Hi Ken:
>
> Hi Bernard
>
>> What OS/arch are the nodes in cluster2/cluster3 running on?  Is it
>> different from cluster1?
>
> They're all running SUSE.  cluster1 is on SUSE 10.1 and cluster2 and
> cluster3 are running openSUSE 10.3.
>
> <snip>
> master:~ # cat /etc/*release
> SUSE LINUX 10.1 (X86-64)
> VERSION = 10.1
> LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"
>
> master2:~ # cat /etc/*release
> openSUSE 10.3 (X86-64)
> VERSION = 10.3
> LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"
>
> master3:~ # cat /etc/*release
> openSUSE 10.3 (X86-64)
> VERSION = 10.3
> LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"
> <snip>
>
> Another difference is that cluster2 and cluster3 have an InfiniBand network
> in addition to their Ethernet network... but I don't think that matters so
> much.  The routing tables appear fine and there is a multicast address in
> there:
>
> <snip>
> master:~ # route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 239.2.11.71     0.0.0.0         255.255.255.255 UH    0      0        0 eth0
> 10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 10.2.1.0        0.0.0.0         255.255.255.0   U     0      0        0 eth1
> 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> 0.0.0.0         10.2.1.254      0.0.0.0         UG    0      0        0 eth1
>
> ...
>
> master3:~ # route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 239.2.11.71     0.0.0.0         255.255.255.255 UH    0      0        0 eth0
> 10.1.4.0        0.0.0.0         255.255.255.0   U     0      0        0 ib1
> 10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> 0.0.0.0         10.1.1.1        0.0.0.0         UG    0      0        0 eth0
> <snip>
>
> In the Ganglia web front-end, I do get a graphical representation of node
> load and stuff, so it is able to report that.  The only thing I've found
> incorrect thus far is boottime and uptime which I think may be related to
> each other.
>

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to