LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-21-2003, 05:35 PM   #1
fivefive
LQ Newbie
 
Registered: Jan 2003
Posts: 1

Rep: Reputation: 0
Squid Clustering Question


I have sucessfully setup a Squid cluster using piranha and RedHat. I have two virtual servers sitting on the public network and 3 load balanced servers on the private side. The proxying is working fine. My problem is in the log files on the back side servers. When the machines on the public side forward the packets to the back end machines the only IP address that shows up in the logs is the front because it is actually making all of the proxy requests on behalf of whatever end user is out there on the public network. I have temporarily fixed it by putting squid on the front end machine and having it log all requests and pass them on to the back end machines. Unfortunatly that bypasses the load balancing and monitoring that Piranha (LVS, Pulse, etc.) is doing. I would like to know if there is a way to log the requests that are made on the front end machine without having Squid running on the front end and the log that is created needs to be able to be read by a log analysis program (SurfStats, Webalizer, etc.) Either that or the front router needs to be able to pass on the IP of the machine that it originated from so that the log on the back end is useful once it is analyzed.

Thanks for any help,
Ryan Bunce
Network Guy at Michigan Catholic Conference
 
Old 10-18-2003, 12:13 AM   #2
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Hi..

What we can try is put a central Syslog-ng with logging in a database like mysql and write a script to match the log of front end server with back end server log by using timestamp..
The idea may be silly. But u can try.

Regards

Sididqu.T
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSSI Clustering Question lil_drummaboy Linux - Networking 1 06-28-2005 07:47 PM
OpenSSI Clustering Question lil_drummaboy Linux - Networking 2 06-26-2005 01:14 PM
Squid Question offaxis Linux - Networking 1 09-27-2004 07:46 PM
question about clustering murshed Linux - General 5 01-05-2004 05:50 PM
Linux Clustering & Squid tigermania Linux - Networking 1 10-22-2002 10:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration