Hello, I found another way by modifying gmond.conf:
/* You can specify as many udp_recv_channels as you like as well. */ udp_recv_channel { mcast_join = 239.2.11.71 port = 8650 bind = 239.2.11.71 } /* ==>add eth0<==*/ udp_recv_channel { mcast_join = 239.2.11.71 port = 8650 bind = 239.2.11.71 mcast_if = eth1 } in this way, I don't need gmetad on node2. QZL --- "Federico D. Sacerdoti" <[EMAIL PROTECTED]> wrote: > You can setup either a gmetad on node2 or set port > forwarding on node2. > > Gmetad > 1. Have the gmetad on node2 monitor the large > private cluster, and > serve a webpage. > > data_source "node3" node3 > trusted_hosts node1 > gridname "My grid name" > authority "http://node3/ganglia/" > > in /etc/gmetad.conf (change the names above of > course). > > 2. Set the gmetad on node1 to monitor the gmetad on > node2: > > data_source "node2" node2:8652 > > (ensure you can see the XML tree from node1: > # telnet node2 8652 > ) > > You should then have a grid view on node one, that > includes node2. If > you click on node2, you should see the private > cluster. Note node2 is > "exporting" the ganglia view of the private cluster > in some sense. > > Good luck, > -Federico > > On Mar 28, 2005, at 2:05 PM, Qingzhu Liu wrote: > > > I am new to ganglia. I have set up two nodes, and > it > > is working well. The node confiuration is as > follows: > > > > node1 (webserver, gmetad, gmond) > > + > > | > > | both nodes are in the same subnet > > | > > + (NIC 1) > > node2 (gmond) > > > > Now I want to monitor a private cluster as > follows: > > > > node1 (webserver, gmetad, gmond) > > + > > | > > | both nodes are in the same subnet > > | > > + (NIC 1) > > node2 (gmond) > > + (NIC 2) > > | > > | > > + private cluster with 200 nodes > > (node3, ...) > > > > Node1 can see the private cluster, if it logs in > to > > node2. Node 2 has two NICs (NIC1 is in the same > subnet > > as node1. NIC2 connects the private network). The > > private network (172.16.1.0) has 200 nodes which I > > really want to monitor. > > > > I already setup gmond on node3. Using gstat on > node2, > > I can see info of node2 through NIC1, and info of > > node3 through NIC2. But on node1, I can only see > > node1. > > > > My question is how to configure gmond on node2? or > I > > do I need to use gmetad on node2 (if yes, how to > do > > that)? > > > > Any input is welcome. Thanks. > > > > QZL > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Small Business - Try our new resources > site! > > http://smallbusiness.yahoo.com/resources/ > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT > Products from real > > users. > > Discover which products truly live up to the hype. > Start reading now. > > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Ganglia-developers mailing list > > Ganglia-developers@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/ganglia-developers > > > Federico > > Rocks Cluster Group, San Diego Supercomputer Center, > CA > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Ganglia-developers mailing list > Ganglia-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-developers > __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/