Web Stats on LVS?

Graeme Fowler graeme at graemef.net
Wed May 3 23:38:11 BST 2006


On Wed, 2006-05-03 at 14:06 -0600, Dan Brown wrote:
> My thoughts on this (there must be a better way though) would be to download
> the transfer logs from both halfs of the site to another server (I've got a
> development server which sits idle 90% of the night), merge the logs, run
> stats on it, and update the stats directory on the servers.

You could do that. Or you could use mod_log_spread:

http://www.backhand.org/mod_log_spread/

This makes use of the multicast spread toolkit to allow you to log
messages to remote servers. The mechanics of it I leave to you as they
aren't hugely simple.

Alternatively, make Apache log to a remote syslog host which combines
the logs for you. This could easily be *both* of your realservers
logging to each other, and again I leave the mechanics of it to you.
Note that this will not scale up or out very far, but for a two-node
solution it's perfect IMO.

Graeme


Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list