Server :: Squid Cache With 2 Bandwidth (Load Balancing)

Mar 27, 2010

i Have a Squid Server , i'm Using That for Caching ... i Have 3 Ether on My " Squid Server ". Ether1 : Directly Internet From ISP1 , 2Mbps . Ether2 : Directly Internet From ISP2 , 512 KBps . Ether3 : Connected too LAN . i want All The Files Format with " MP3 , RAR , ZIP , AVI , ... (All Downloads File) " Get From Ether1(ISP1) and WebPages Like " HTML , ASP , CGI , & ... " Get from Ether2(ISP2) i Not Know How to Configure That with My 2 ISP internet.

View 1 Replies


ADVERTISEMENT

CentOS 5 Networking :: Load Balancing Multi WAN On Squid Proxy Server?

Aug 12, 2009

How To: Load Balancing & Failover With Dual/ Multi WAN on Linux proxy server I have 3 WANs connection (2 ADSL and 1 Wimax). And 30 clients on LAN.

eth0 connect with Wimax
ip= 172.23.x.x
eth1 connect with ADSL1
ip=10.10.6.x
eth2 connect with ADSL2
ip= 10.10.5.x
eth3 connect with LAN
ip=192.168.1.x

how to do Load Balancing & Failover With Dual/ Multi WAN on Linux proxy server.

View 1 Replies View Related

General :: Make A Squid Load Balancing?

Oct 7, 2010

i want to make a squid load balancing. i followed this tutorial [URL]this is my squid.conf (a part)

Code:

cache_peer 127.0.0.1 parent 9090 0 no-query originserver name=server_1
acl sites_server_1 dstdomain www.benvin.com
cache_peer_access server_1 allow sites_server_1
cache_peer 127.0.0.1 parent 9090 0 no-query originserver round-robin

[code]...

View 4 Replies View Related

Ubuntu Servers :: Setup An FTP Load Balancing System With Squid?

May 31, 2011

I'm a newbie on Ubuntu, I have a problem with squid proxy. I'd like to configure a system, include:

- a server is named ProxyServer that is installed Squid proxy.
- three servers, are named FTPServer01, FTPServer02, FTPServer03. each server is installed vsftpd.
- Clients are installed Filezilla to up/download resource.

All servers are managed by IP address. When a client request a resource, client connect to ProxyServer, this ProxyServer will switch to one of Ftp servers. I do not know how to configure the squid's config file to setup them.

View 3 Replies View Related

Server :: Squid Cache System - Make It Cache All Files Like .exe .mp3 .avi

Mar 6, 2011

I installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid

View 1 Replies View Related

Server :: Load Balancing Between 2 VMs?

Oct 15, 2010

host - ubuntu 1004 desktop 64-bit
VM1 - ubuntu 1010 LAMP server 64 bit (without X)
VM2 - ubuntu 1010 server 64-bit (without X)
Virtualizer - Oracle VBox

point me the URL in respect of guides/howto to set up load balancing between 2 VMs, to sync VM1 to VM2. Google search on "howto load balancing linux lamp server on vbox vm" found follow; How to configure a low-cost load-balanced LAMP cluster [URL]

View 4 Replies View Related

Server :: Web Load Balancing Using Ldirectord And Apache?

Feb 16, 2010

I already setup the load balancer and two servers behind it with this kind of topology

Code:

_ Server 1
request -> DIRECTOR /
\_
Server 2

[code]....

The problem is when I try to hit the 192.168.1.1, it sometimes give me a HTTP 200 and sometimes it will timed out. I hit it using lynx -dump. It should return "Hello world!" if success. But if we hit it directly to 192.168.1.2:80 and 192.168.1.3:80, it will return HTTP 200 which means no error and no timeout. Since the Server 1 is the same as Server 2 in configuration, are there somethings I missed here?

Another information is that I set the director using round robin algorithm, so everytime a successful hit returned from server 1, the next one is surely heading to Server 2 right? Based on the Apache's access log, I also knew that the timed out occured only when it is the Server 2's turn to handle the request. Aside from the same httpd.conf and the same httpd version are there any things in the system level, kernel level that should be the same between those two servers?

View 1 Replies View Related

Ubuntu Networking :: Load Balancing Server With 2 3G Modems

Jun 26, 2011

I would like to say first and foremost that I have tried to lookup what I can find about this thing I am doing and most of the time all I have found are either un-replied posts or vaguely explained answers but here is what I want to do.I want to setup a small gateway for my new office using two 3G internet providers offering Huawei usb modems. So I would like to have two internet links active per time and have one LAN consuming from the two links. I have seen the phrase Load Balancing all over the place but they all show their examples using ethernet and static IP's. My providers give DHCP ip addresses so is there anything I need to know and can anyone point me in the direction of some tutorial or howto i can follow to do this?

View 2 Replies View Related

CentOS 5 Server :: Piranha Load Balancing Floating IP?

May 15, 2011

This is my first time to test piranha and I can't understand couple things:
1. how to setup public floating IP address between active and backup piranha node?
2. does piranha nodes have to run on public IP?
3. how to connect active piranha node with backup nodes?
4. does piranha only support http and ftp?
5. do I need to create common login for load monitor so that piranha could login to real servers and check the load ?
6. what is the hardware requirement for piranha to run on heavy loading site? I am using VMs all the time.
I am using web gui interface with minor file editing, but I prefer done it with GUI. Currently running Centos 5.6 x86_64.

View 3 Replies View Related

OpenSUSE Network :: Using Server For Load Balancing Multi Internet?

Jan 5, 2010

I have OpenSuse 11.1 installed in a system as server (without graphics). We have 3 NICs, 2 of them connected to 2 different ISPs through gateways, as follows:

IPs for NICs: IP1=192.168.5.2/24; IP2=192.168.6.2/24 dev=eth2
Gateways: GW1=192.168.5.10; GW2=192.168.6.10 dev=eth3
Third NIC connected into the internal network with and IP=192.168.11.2/24 dev=eth0

We added ip routes and rules as follows (used tables created with vim in the rt_table file with numbers 20 & 30):

ip route add NET1 dev DEV1 src IP1 table TB1
ip route add default via GW1 table TB1
ip route add NET2 dev DEV2 src IP2 table TB2

[code]....

ip route add default scope global nexthop via GW1 dev DEV1 weight WG1 nexthop via GW2 dev DEV2 weight WG2 from the server I could ping Yahoo! and ping any PC connected in the internal network (192.168.11.xxx). Fro PCs I could ping all the IPs of the server but not the GWs neither any web site, I couldn't surf either.

View 7 Replies View Related

Ubuntu Servers :: Internet Load Balancing With Proxy Server?

Jul 29, 2011

I am Install Ubuntu Server 10.04LTS and install 3 LAN Card. 1st & 2nd LAN are use ISP1 & ISP2 with public static IP and 3rd LAN connect with Local Switch. How to configure this server as Load Balancing Internet and configure Proxy Server with user authentication and user wise site blocking.

View 1 Replies View Related

Software :: Hotspot Server With Credit Card Payment And Load Balancing?

Feb 20, 2011

First time on here and my only previous linux experience is a ongoing Mythbuntu project. I have access to allot of open air event sites where ASDL is pitiful. Mobile internet at these places is generally quite good though. So I have been thinking of building a box that has a dongle from each of the networks and load balancing these connections to be distributed on LAN to AP/AP's. On some site where it would not be paid for by the event so I would also want to charge for access. Is there a hotspot server build that will support credit card charges (I know very little about this bit), limit the amount of bandwidth to each user and do the load balancing bit for me?

This may seem like a poor service to charge for but the alternative is an 8mb satellite or 2mb ASDL which about five offices share. If your on site and your network is bad, this could be a real life saver.To further increase the service if it works well, It would be good for a customer to be able to log on to several servers across the site and still get access. I'm happy to pay for a distribution if it does everything I need. My searches seem to be fruitless.[URL] but there doesn't seem to be any credit card payment support.

View 1 Replies View Related

General :: Bandwidth Throttling In Squid Server?

Apr 23, 2011

How to do bandwidth throttling in Squid server? i wan to set particular bandwidth for particular ip, how to do it in Squid server?

View 1 Replies View Related

Server :: How To Create Squid Cache

Aug 6, 2010

first i'm new in this filed of linuxi have Debian 5 serveri need to know how build squid and cache in server

View 1 Replies View Related

General :: Bandwidth Monitoring Tool For Squid Server?

Feb 15, 2011

I want to monitor the bandwidth used by each user in my proxy server.

View 1 Replies View Related

Server :: Allocate Specific Bandwidth To Clients Using Squid?

Oct 18, 2009

How will I allocate specific bandwidth to clients using squid? I use squid on RHEL5 serer ...

View 1 Replies View Related

Server :: Check How Much Squid Cache Has Been Full

Mar 17, 2011

I want to know that is there any way to check that how much size of squid cache directory is full? Normally when squid size will reach upto 2GB then I have to clean it.

Code:
# cache_dir ufs /var/spool/squid 2000 16 256
I assign 2000 MB to the cache size. One month have been pass while squid is running but i am unable to know how to check the current status of my squid cache size

View 3 Replies View Related

Server :: Clean Squid Cache Directory?

Mar 6, 2011

I am using squid on my cent os 5. The cache directory is almost full.

Code:
# cache_dir ufs /var/spool/squid 1000 16 256
kindly guide me how can i flush or clean the data inside the cache directory of squid using terminal

View 4 Replies View Related

Server :: Does Squid Automatically Split Bandwidth Between Connected Clients

Oct 1, 2009

Does squid automatically split bandwidth between connected clients? I'm wondering if someone was downloading a lot of data and someone else connected whether it would split the access 50:50 between them? I have 1 user that is using a lot of bandwidth but the server doesn't seem to split it up between all connected clients so others are receiving slow access. I don't have this client's IP address but I do have ncsa auth connected. Will delay_pools work with an ncsa username?

View 2 Replies View Related

Server :: Squid Automatic/scheduled Cache Clear?

Nov 9, 2009

is there any way to scheduled cache clear auomatically instead of manual in squid.

View 1 Replies View Related

CentOS 5 Server :: DNS Cache ONLY + Squid Transparent Caching

Oct 23, 2009

what i need, I got two servers for about 4000 users and 300 servers and well the guy never setup dns caching right, so im redoing it. Now my goals

1) DNS cache
2) Transparent Squid Cache only
3) Load Balance - at switchlevel

Upgraded Hardrives to SSD 2x32gb each server 4gb of ram 2x Dell poweredge 850's - p4 2.8 (single cores) So any advise , pointers , expeirnces and best ways to do this being both server will do both dns caching and squid! Also is bind9 the best for this?? i seen stuff about DNSmasq what performs better( i dont need DHCP)

View 1 Replies View Related

CentOS 5 Server :: Check How Much Squid Cache Has Been Full ?

Mar 17, 2011

I am using Cent Os 5. I want to know that is there any way to check that how much size of squid cache directory is full? Normally when squid size will reach upto 2GB then I have to clean it.

# cache_dir ufs /var/spool/squid 2000 16 256

I assign 2000 MB to the cache size. One month have been pass while squid is running but i am unable to know how to check the current status of my squid cache size.

View 2 Replies View Related

Server :: Monitor The Current Bandwidth In Use By A User (NCSA Auth) On Squid?

Jan 29, 2010

Is there anyway to monitor the current bandwidth in use by a user (NCSA auth) on squid? Occasionally we get a user downloading too many videos at once, which blocks bandwidth to other users on the network. As I have no idea which user it is until the end of the day (SARG reports), we just restart the squid server to disconnect their downloads.

View 6 Replies View Related

Server :: Delay Pools - Managing Internet Bandwidth Thru Squid Proxy

Jan 2, 2010

I have configured a normal squid & now I want to manage internet bandwidth thru. "squid" proxy only.
Squid proxy server ip is :- 192.168.17.30
Client PC ip addres is 192.168.17.25
Total bandwidth avaialable :- 2 Mbps
Now, I want to limit bandwith of 400 kbps for the ip address 192.168.17.25 pc only. So, is there any method available for bandwidth limiting for a single pc?

View 2 Replies View Related

Server :: Squid Servers Cache Size On Disk Automatically Increasing And Decreasing?

Jun 24, 2010

Squid servers cache size ondisk automatically increasing and decreasing,how I would resolve this issue

View 6 Replies View Related

Networking :: Control Bandwidth Access With Squid - Allow Certain IPs To Have Higher Bandwidth Access?

May 27, 2009

We have a sipmle office network set up that we also use use to connect to the internet, however of late the number of users has increased thus slowing internet access. Bandwidth upgrade is not an option thus i have to do bandwidth shaping on our linux router. The question is how do set the squid configs to allow certain IP's range a certain percentage bandwidtheg 60% and furthe divide the rest. Alternatively how can allow certain IPs to have higher bandwidth access.

View 1 Replies View Related

General :: Load Balancing In Red Hat ?

Sep 1, 2010

How to configure load balancing server in Red Hat Enterprise 5.

View 1 Replies View Related

Debian Configuration :: Load Balancing Over Two ISP

Oct 16, 2015

I'm trying to set load balancing over 2 ISP link on a router / firewall running Debian Jessie.

There are iptables rules for balancing and forwarding:

Code: Select alliptables -t mangle -A PREROUTING -j CONNMARK --restore-mark
iptables -t mangle -A PREROUTING -m mark ! --mark 0 -j ACCEPT
iptables -t mangle -A PREROUTING -j MARK --set-mark 10
iptables -t mangle -A PREROUTING -m statistic --mode random --probability 0.5 -j MARK --set-mark 20
iptables -t mangle -A PREROUTING -i $wan1 -j MARK --set-mark 10

[Code] .....

There are iproute2 rules:

Code: Select allip route add 172.20.0.0/24 dev eth0 src 172.20.0.150 table WAN1
ip route add default via 172.20.0.254 table WAN1
ip route add 192.168.0.0/24 dev eth1 src 192.168.0.150 table WAN2
ip route add default via 192.168.0.254 table WAN2

[Code] ....

The packets marked as 20, theoretically routed via table WAN2 via 192.168.0.254, are lost.

The WAN2 gateway is working if I set as default without balancing.

I disabled the rp_filter module on all interfaces and I installed xtables-addons-dkms.

I also try this but I had trouble with forwarded connexions.

View 0 Replies View Related

Networking :: Getting ISP Load Balancing Working?

Jan 20, 2010

I am having a problem getting ISP load balancing working. Currently I can get only one side or the other working. I have been researching and reading Forum threads and other related posts on the subject.. I have read Howto's and lartc.org/howto.

[Code]...

View 14 Replies View Related

General :: Multi Wan Load Balancing?

Jul 26, 2011

I want to know more multi WAN configuration in firewall and multi WAN loadbalancing configuration and what firewall or server mostly recommand from linux

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved