RE: Simple setup question

"Bryan Ross" <[email protected]> Tue, 6 Jan 2004 17:25:34 -0000
Newsgroups gmane.comp.apache.mod-backhand.general
Organization LiquidState
Message-ID <[email protected]>
Sorry, my mail should have read "AcceptStats 5.6.7.8/32"
 
AcceptStats 5.6.7.8/32 is a short way of writing 5.6.7.8/255.255.255.255,
which in terms of broadcast packets means a single host, eg. 5.6.7.8.
Normally, you'll see people using /24, which means 255.255.255.0. Thus, /24
lets me accept stats from my whole (internal) network.

You might not need the /32 on the end though if mod_backhand can work it out
by itself.

On a completely separate note, if you've got two machines with external IPs,
you might want to look at wackamole to give your webhosting a bit of extra
reliability.

Again, you will probably need to check the exact usage of MulticastStats and
AcceptStats because its been a while since I had to use them, and I don't
have any documentation handy!  Don't be surprised if I've got an IP address
in the wrong place. The main concept is that you're trying to 'multicast'
your stats to a single machine.

Good Luck,

Bryan

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Dayle Smith
> Sent: Tuesday, January 06, 2004 5:11 PM
> To: [email protected]
> Subject: RE: [m_b_users] Simple setup question
> 
> Bryan,
>   thanks, I think that's what I need.
> 
>   But I do have a question...  why on server 1.2.3.4 you have 
> AcceptStats 5.6.7.9/32?  That means "range from 9 to 32" 
> right?  why not just from
> 5.6.7.8  ?
> 
>   If it helps any, we want 1.2.3.4 to be the "main" server.  
> Also, 1.2.3.4 is the external world IP to our site.
> 
>   Also what is the /32 for?  I thought that was for an IP 
> range?  there are no additional IPs to listen for (at least 
> not that belong to us!!)
> 
>   You are correct they are not on the same network.  In fact 
> they are two Virtual accounts hosted on Verio. (well they 
> MIGHT be on the same internal network, but I have no way of knowing).
> 
> 
> >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 17:02:16 -0000
> >
> >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
> >
> 
> _________________________________________________________________
> Have fun customizing MSN Messenger - learn how here!  
> http://www.msnmessenger-download.com/tracking/reach_customize
> 
> 
> _______________________________________________
> backhand-users mailing list
> [email protected]
> http://lists.backhand.org/mailman/listinfo/backhand-users