LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Web Stats on LVS?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Web Stats on LVS?
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Wed, 03 May 2006 23:38:11 +0100
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


<Prev in Thread] Current Thread [Next in Thread>