Sponsored Content
Full Discussion: Lvs
Operating Systems Linux Red Hat Lvs Post 302343558 by surfer24 on Thursday 13th of August 2009 12:26:08 AM
Old 08-13-2009
Lvs

Dear All

i have two proxy servers for my office which run RHEL-4 and squid 2.5, i wanted to configure LVS (Linux Virtual Server) on these two machines for load balancing and fail over between two machines, can any one help regarding this


thanks
 

3 More Discussions You Might Find Interesting

1. AIX

Remove volume group it's lvs and filesystems after vg's pv was deleted ?

Hi, Physical volume of vg was removed permanently by acident. What I need right now is to remove all vg's objects(vg itself, vg's lvs, vg's filesystems) to prepare to add new pv and create new volume group and it's objects. This is from reducevg manual: "Sometimes a disk is removed from the... (2 Replies)
Discussion started by: vilius
2 Replies

2. UNIX for Advanced & Expert Users

LVS AND HEARTBEAT

Hi there, anybody can help me get a manual or a website where LVS and Heartbeat for UBUNTU (please not for REDHAT ) is hosted. Any help will be much appreciated. neuvin (0 Replies)
Discussion started by: neuvinapp
0 Replies

3. AIX

Copying LVs from disk1 to disk0

Dear i have two internal disks in one production system some LVs are created in hdisk0 and the remaining are created in hdisk1 i want to move all this LVs to hdisk0 and make the hdisk1 free to install my application . lspv -l hdisk0 hdisk0: LV NAME LPs PPs DISTRIBUTION MOUNT POINT hd4 16... (1 Reply)
Discussion started by: thecobra151
1 Replies
MRTG-SQUID(1)							       mrtg							     MRTG-SQUID(1)

NAME
mrtg-squid - using mrtg to monitor Squid DESCRIPTION
Squid 2.3 knows SNMP and you can therefore use mrtg to monitor it quite easily. I have made some modifications to mrtg which simplify this. My work is based on earlier modification made by: matija.grabnar@arnes.si and kostas@nlanr.net. MODIFICATIONS
I added new code for displaying correct units to the previous patches "perminute" and "perhour" ("option" tokens), which allows other measurement in addition to "persecond". Then I created a new option token "dorelpercent" which allows the calculation of the percentage of IN-stream / OUT-stream on the fly and then displays it on a fixed scale from 0% to 100%. For my requirements, this does good work. Maybe someone wants a floating scale. It should not be a problem to implement it, too (but give me an option to keep my fixed scale). If IN-stream is always less than OUT-stream both lines (OUT-stream and relative percent) are always displayed on top of IN-stream bulk. Otherwise this option makes no sense. With this option you can display hitrates, errorrates (for router monitoring: rel. droprates) easily now. If you use this options please consider that you need a 5th colourname/value pair in your Colours statements! Due to some discussion on this list, I have implemented two tokens too: "kilo" and "kMG" "kilo" should contain the value of k (1000 or 1024), where 1000 is the default. "kMG" is a comma separated list of multiplier prefixes, used instead of "", "k", "M", "G", "T" on the MRTG display. Leave the place free, if you want no prefix. Also an incomplete list of OIDs for the new SQUID release is added. You may need to turn on snmp_port in squid.conf to as it is disabled by default. I hope you enjoy it. CONFIG EXAMPLE
First load the squid mib LoadMIBs: /usr/share/squid/mib.txt You can measure responsetimes in ms and display it with MRTG correctly with: kMG[measure-ms]: m,,k,M,G,T short[measure-ms]: s You can display now MB/s as 1024*1024 B/s with: kilo[volume]: 1024 Assuming you're not running squid's SNMP on the default snmp port, you need to include a port number in your target line: Target[proxy-hit]: cacheHttpHits&cacheProtoClientHttpRequests:public@localhost:3401 A sample config for squid: Target[proxy-hit]: cacheHttpHits&cacheProtoClientHttpRequests:public@proxy Title[proxy-hit]: HTTP Hits PageTop[proxy-hit]: <H2>proxy Cache Statistics: HTTP Hits / Requests</H2> Suppress[proxy-hit]: y LegendI[proxy-hit]: HTTP hits LegendO[proxy-hit]: HTTP requests Legend1[proxy-hit]: HTTP hits Legend2[proxy-hit]: HTTP requests YLegend[proxy-hit]: perminute ShortLegend[proxy-hit]: req/min Options[proxy-hit]: nopercent, perminute, dorelpercent Target[proxy-srvkbinout]: cacheServerInKb&cacheServerOutKb:public@proxy Title[proxy-srvkbinout]: Cache Server Traffic In / Out PageTop[proxy-srvkbinout]: <H2>Cache Statistics: Server traffic volume (In/Out) </H2> Suppress[proxy-srvkbinout]: y LegendI[proxy-srvkbinout]: Traffic In LegendO[proxy-srvkbinout]: Traffic Out Legend1[proxy-srvkbinout]: Traffic In Legend2[proxy-srvkbinout]: Traffic Out YLegend[proxy-srvkbinout]: per minute ShortLegend[proxy-srvkbinout]: b/min kMG[proxy-srvkbinout]: k,M,G,T kilo[proxy-srvkbinout]: 1024 Options[proxy-srvkbinout]: nopercent, perminute AUTHOR
Andreas Papst <andreas.papst@univie.ac.at> Dirk-Lueder Kreie <deelkar@gmx.de> Chris Chiappa <chris+debian@chiappa.net> 2.17.4 2012-01-12 MRTG-SQUID(1)
All times are GMT -4. The time now is 02:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy