Tue, Dec 27, 2005 ve 02:30:15PM -0500, Pierre Ancelot napsal:
> The real question is "where are my logs going then ?" are they stacked
> waiting for the log server to get back or are they _lost_ ?
>
I solved this by having logs also on each application server. So they're surely
not lost... But i don't know what happens if log server dies (for example with
network, i hope it won't make full use of the network), i must try. I didn't
think about it, thanks for your note...
> On Tue, 2005-12-27 at 11:30 -0800, Joe Stump wrote:
> > > Hummm, what if the log server dies ?
> > > How failover is this solution ?
> >
> > Well you could always load balance your log traffic on an LVS setup
> > with redundant NetApp's, but really why on God's green Earth would
> > you do that? It's log traffic. I've never heard of a place where log
> > traffic ever justified redundant servers.
> >
> > --Joe
> >
To have a redundant server for logs is nonsense. The question was if you have
your logs after the log server dies...
> > >
> > > On Thu, 2005-12-22 at 21:16 +0100, Tomas Ruprich wrote:
> > >> Thu, Dec 22, 2005 ve 09:05:04PM +0100, Tomas Ruprich napsal:
> > >>> Thu, Dec 22, 2005 ve 01:26:20PM -0500, Pierre Ancelot napsal:
> > >>>> Hey everyone :)
> > >>>>
> > >>>> I am wondering how i could get awstats to check my logs on my
> > >>>> cluster.
> > >>>> I use an LVS-NAT and so, each server's log is stored on it's own
> > >>>> disk.
> > >>>> So i got one virtual server but a lot of different log files...
> > >>>> Any idea how i could implement this ?
> > >>>
> > >>> Well, i was realizing something like month ago...
> > >>>
> > >>> In apache configuration file on each application server i have
> > >>> this line:
> > >>> CustomLog "|/usr/bin/logger -t cluster_access_log" combined env=!
> > >>> dontlog
> > >>>
> > >>> and then on log server i have syslog-ng installed, where are
> > >>> these configuration lines:
> > >>> destination d_cluster_access_log { file("/var/log/httpd/
> > >>> all_clusters_log"); };
> > >>> filter f_cluster_access_log { match("cluster_access_log"); };
> > >>> source s_net { udp(); };
> > >>> log { source(s_net); filter(f_cluster_access_log); destination
> > >>> (d_cluster_access_log); };
> > >>>
> > >>> awstats is very good idea, i use it too :)
> > >>
> > >> I didn't mentioned syslog configuration on application servers, i
> > >> think it's quite simple, but only for order...
> > >> into /etc/syslog.conf:
> > >> *.* @<syslog_server_IP>
> > >>
> > >> once more Tomyk :)
> > >> _______________________________________________
> > >> LinuxVirtualServer.org mailing list - lvs-
> > >> users@xxxxxxxxxxxxxxxxxxxxxx
> > >> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> > >> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
> > >
|