RE: Simple setup question
"Bryan Ross" <[email protected]> Tue, 6 Jan 2004 17:02:16 -0000
| Newsgroups | gmane.comp.apache.mod-backhand.general |
|---|---|
| Organization | LiquidState |
| Message-ID | <[email protected]> |
Hey Dayle, Dunno how much you know about multicasting, but the basic idea is that a node can send a single message to multiple machines. If you like, Multicast packets are addressed to a network, rather than a specific IP address. The size (and therefore number of nodes) of the network that you send it to depends on the address and netmask you use. Eg. If you use 192.168.1.0/255.255.255.0, then all machines with Ips like 192.168.1.* will get the message (255 nodes). Likewise, the AcceptStats setting allows you to receive stats from a number of nodes without having to specify each and every node ip address. But... From what I understand, you have two machines that don't necessarily have sequential IPs or even on the same network segment. If the two servers are in geographically the same place, I would throw in a second network card and use an internal LAN for the mod_backhand chatter. However, if that's not possible, then you should be able to do something like: (this is from my head, so you should go check the syntax!) On 1.2.3.4 use: MulticastStats 5.6.7.8:4445 AcceptStats 5.6.7.9/32 On 5.6.7.8 use: MulticastStats 1.2.3.4:4445 AcceptStats 1.2.3.4/32 I've not got any docs or my config available at the moment, but, you might even be able to add multiple MulticastStats/AcceptStats lines per config file to simplify things or to allow more machines to be added at a later date. Good luck, Bryan > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Dayle Smith > Sent: Tuesday, January 06, 2004 4:15 PM > To: [email protected] > Subject: RE: [m_b_users] Simple setup question > > ah I will try that. I had seen those articles, I had > reversed some other things with :443 and :80, but not the > Listen statements. Thanks!! > > Can you help me with the other part as well? I have read the > multicaststats and broadcast discussions, but I'm not > following it. It seems to me that Multicast implies you are > sending to a range of IPs on a private network (hence the > last field is .255) ? > > But I only have two individual IP addresses to deal with. > One is the current server, and the other IP address is the > server I want to add to the load balancing act. (We might > want to add more later, but I figure if I can get two...). > > > Again, thanks in advance! > > >From: "Bryan Ross" <[email protected]> > >Reply-To: [email protected] > >To: [email protected] > >Subject: RE: [m_b_users] Simple setup question > >Date: Tue, 6 Jan 2004 16:03:09 -0000 > > > >Hey Dayle, > > > >Mod_backhand seems to select which port to use based on the > order they > >appear in the apache config. From memory, I think it chooses > the latter. > > > >We just swapped the ordering in the apache.conf file, and > the backhand > >monitoring page now shows the nodes listenening on port 80. > > > >Eg. In /etc/httpd/apache.conf: > >Listen 443 > >Listen 80 > > > >Hope this helps, > > > >Bryan > > > > > -----Original Message----- > > > From: [email protected] > > > [mailto:[email protected]] On > Behalf Of Dayle > > > Smith > > > Sent: Tuesday, January 06, 2004 3:31 PM > > > To: [email protected] > > > Subject: [m_b_users] Simple setup question > > > > > > Andreas, > > > thanks for the quick answer, but I do not have the option of > > > changing the IP addresses. We already have the one > Virtual server > > > hosted by Verio, and we want to add a second to it. > > > > > > As for the 443 question... I did get the /backhand/ > monitor up on > > > the single server, but it shows it's listening for 1.2.3.4:443? > > > I dont want it > > > to listen for :443... > > > > > > I can see what you are saying about putting the port in the > > > <Virtualhost...> tag, but from the status screen, doesnt > look like > > > backhand is listening to that port. > > > > > > Thanks in advance! > > > > > > Dayle > > > > > > _________________________________________________________________ > > > Worried about inbox overload? Get MSN Extra Storage now! > > > http://join.msn.com/?PAGE=features/es > > > > > > > > > _______________________________________________ > > > backhand-users mailing list > > > [email protected] > > > http://lists.backhand.org/mailman/listinfo/backhand-users > > > > > >_______________________________________________ > >backhand-users mailing list > >[email protected] > >http://lists.backhand.org/mailman/listinfo/backhand-users > > _________________________________________________________________ > Make your home warm and cozy this winter with tips from MSN > House & Home. > http://special.msn.com/home/warmhome.armx > > > _______________________________________________ > backhand-users mailing list > [email protected] > http://lists.backhand.org/mailman/listinfo/backhand-users