Name
MulticastStats
Synopsis
MulticastStats <dest addr>:<port>[,ttl]M ulticastStats <myip addr> <dest addr>:<port>[,ttl] Default none Server
mod_backhand
announces the status of its machine
to others in the cluster by broadcasting or multicasting them
periodically. By default, it broadcasts to the broadcast address of
its own network (i.e., the one the server is listening on), but you
may want it to send elsewhere. For example, you may have two
networks, an Internet facing one that receives requests and a backend
network for distributing them among the servers. In this case you
probably want to configure mod_backhand
to
broadcast on the backend network. You are also likely to want to
accept redirected requests on the backend network, so
you’d also use the second form of the command to
specify a different IP address for your server. For example, suppose
your machine’s Internet-facing interface is number
193.2.3.4, but your backend interface is 10.0.0.4 with a /24 netmask.
Then you’d want to have this in your Config file:
MulticastStats 10.0.0.4 10.0.0.255:4445
The first form of the command (with only a destination address) is likely to be used when you are using multicast for the statistics instead of broadcast.
Incidentally, mod_backhand
listens on all ports on
which it is configured to broadcast — obviously, you should
choose a UDP port not used for anything else.
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.