LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Setting up stats on a Load Balanced cluster?

Reply
 
Thread Tools Display Modes
  #1  
Old 04-11-2008, 04:44 PM
Matthew_K Matthew_K is offline
Member
 
Join Date: Mar 2008
Posts: 39
Default Setting up stats on a Load Balanced cluster?

Hi, I want to setup AWStats on my cluster but I've no clue how to setup the log files for a load balanced cluster.

I have a LS Load Balancer server and 2 LS Web servers.
Do I setup the load balancer to write the access logs or the web servers?

If it's the web servers, do they share a common log file on my storage server?

Thanks,
Matt.
Reply With Quote
  #2  
Old 04-12-2008, 02:37 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
I think either way should work.
You probably need to manually setup awstats instead of using integrated awstats solution in LSWS.
You can try writing access log to the same location on your storage server from two web servers, it might work. we have never tried that before.
Reply With Quote
  #3  
Old 04-12-2008, 06:05 PM
Matthew_K Matthew_K is offline
Member
 
Join Date: Mar 2008
Posts: 39
Ok, I'm going to try to integrate it. One thing I noticed in the log file generated with the servers behind the load balancer is that there are a lot of items that also point at the load balancer's local IP address as well as the outside IP. I've never used awstats before, so this will be a learning experience for me.

I'll post the results.
Reply With Quote
  #4  
Old 04-12-2008, 06:28 PM
Matthew_K Matthew_K is offline
Member
 
Join Date: Mar 2008
Posts: 39
Well, after reading and finally understanding what is required, I came to the conclusion that I'd have to install a web server on my storage server other wise the templates will not work properly. Maybe I'm missing something?

I really think it was meant for a single server network.
Reply With Quote
  #5  
Old 04-12-2008, 06:59 PM
Matthew_K Matthew_K is offline
Member
 
Join Date: Mar 2008
Posts: 39
I ended up using phpTrafficA which is by far the easiest anything I've ever setup. But I'm going to have "Hacker Safe" scan it before I go public with it.
Reply With Quote
  #6  
Old 04-12-2008, 08:12 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Quote:
Originally Posted by Matthew_K View Post
I ended up using phpTrafficA which is by far the easiest anything I've ever setup. But I'm going to have "Hacker Safe" scan it before I go public with it.
It looks pretty nice, looks more powerful than awstats.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:20 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.