On Thu, Jul 31, 2008 at 03:39:13AM +0800, Wenhao Xu wrote: > Dear all, Xu, sorry for the late reply but your email was delayed because posting to this list is moderated for non-subscribers, hope you already solved your problem though but if not below my answer.
> I want to run multi-gmond deamon in one host(no virtual machine) in > order to it is like several hosts. > I have already used library interposition to replace the > socket-related call. And I have already start several deamons successfully. > The "lsof -i | grep gmond" is shown in the following. > " > gmond 4861 nobody 4u IPv4 123019 UDP ge_node3:8649 > gmond 4861 nobody 5u IPv4 123020 TCP ge_node3:8649 (LISTEN) > gmond 4861 nobody 6u IPv4 123021 UDP > tu131010.ip.tsinghua.edu.cn:32794->239.2.11.71:8649 > gmond 5020 nobody 4u IPv4 123642 UDP ge_node1:8649 > gmond 5020 nobody 5u IPv4 123643 TCP ge_node1:8649 (LISTEN) > gmond 5020 nobody 6u IPv4 123644 UDP > tu131010.ip.tsinghua.edu.cn:32795->239.2.11.71:8649 > gmond 5023 nobody 4u IPv4 123659 UDP ge_node2:8649 > gmond 5023 nobody 5u IPv4 123660 TCP ge_node2:8649 (LISTEN) > gmond 5023 nobody 6u IPv4 123661 UDP > tu131010.ip.tsinghua.edu.cn:32796->239.2.11.71:8649 > gmond 5114 nobody 4u IPv4 124088 UDP ge_node4:8649 > gmond 5114 nobody 5u IPv4 124089 TCP ge_node4:8649 (LISTEN) > gmond 5114 nobody 6u IPv4 124090 UDP > tu131010.ip.tsinghua.edu.cn:32797->239.2.11.71:8649 > " nice trick, and a good idea I might use to help with testing multinode configurations in my desktop. > However, when I run "gstat -a", it shows " > CLUSTER INFORMATION > Name: gcd_cluster > Hosts: 0 > Gexec Hosts: 0 > Dead Hosts: 0 > Localtime: Thu Jul 31 02:50:46 2008 > > There are no hosts up at this time > > " > Why? could some one help me? I think there should be 3 hosts here. gstat by default looks at localhost:8649 because it expects gmond to be bound to all interfaces in port 8649. you can use the "-i" option to tell it to poke a different "host" though and therefore the following should work : gstat -a -i ge_node1 or any other of your nodes, as they all have the full cluster report because they are all peers in the multicast setup. Carlo ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers