Re: [squid-users] 4 squid with multiple cache_dir and cache_peer

2007-08-07 Thread Pablo GarcĂ­a
To simplify the setup, you should use multicast parents,
you can achive that by configure the cache_peers with this line.

cache_peer 230.0.0.4 multicast 3128 3130

remember to create a route for multicast, since in linux it's not
created by default.

Also, you've probably better with separate disks instead a large
RAID0, since you can increase performance, and avoid the cost of the
stripping,

Hope this helps.

Regards, Pablo

On 8/3/07, Shekhar Gupta <[EMAIL PROTECTED]> wrote:
> All,
>
> I have a following senario in my office , where i have decided to
> install 4 squid servers with the follwing hardware config
>
> Model HP DL380 G5 , with 2 GB RAM , 256 Raid Card and 300 GB with Raid 0 .
>
> Now i have 4 servers of the similar config , and i want to have the
> all the server query to each other for cache before they go out and
> bring the content . all of the 4 servers are in the same  DMZ segment
> . Also at the same time if you look at the partition i have made a
> partition with /squid of 110 GB and would like to host multiple
> cache_dir so that i can utilize the space of the server . So if anyone
> of you who can tell me with some config example to resolve these 2
> issues will be of gr8 help .
>
> supposing the IP's of the 4 servers as
>
> 192.168.3.30
> 192.168.3.31
> 192.168.3.32
> 192.168.3.34
>
> Regards,
> Shekhar
>


Re: [squid-users] 4 squid with multiple cache_dir and cache_peer

2007-08-07 Thread Shekhar Gupta
Any updates on this ???

On 8/5/07, Shekhar Gupta <[EMAIL PROTECTED]> wrote:
> Hi Michel,
>
> that is a city not an office :)
> thats my dream to handle such a big city if i am an ISP :) , however
> to give you a brief idead i was serving the same with 4 downstream (
> ISA running with surfcontrol ) and forwards all the request to the
> upstream ( 4 squid ) which is currently running on desktop with 80 GB
> of HDD and 1 GB of RAM each . However we are doing the consolidation
> work and we decided to have 4 Server class machine for the same with
> the configuration which wrote in my previous mail . However with ur
> guidance i am able to do the sibling part , but there something funny
> , i am not able to telnet on ICP port 3130 for rest of the proxy and
> when i run the squid -NCd1 it shows dead sibling relation . Any Idea
> on this 
>
>
> Regards,
> Shekhar
>
> On 8/5/07, Michel Santos <[EMAIL PROTECTED]> wrote:
> >
> > Shekhar Gupta disse na ultima mensagem:
> > > Not zillions , somewhere around 4 users , can you also tell about
> > > the cache_dir how should i multiple cache directory and about the acl
> > > which i have to place for the same .
> > >
> >
> > that is a city not an office :)
> >
> > anyway, probably you need then an extra bunch of servers, I believe you
> > can not handle more than 600-800 users on such a pc
> >
> > the disk space you tell also is kind of funny then but would be good for
> > let's say 200-400 users or something which you could split into two
> > cache_dirs if they were partitions
> >
> > Michel
> >
> >
> > > On 8/4/07, Michel Santos <[EMAIL PROTECTED]> wrote:
> > >>
> > >> Shekhar Gupta disse na ultima mensagem:
> > >> > All,
> > >> >
> > >> > I have a following senario in my office , where i have decided to
> > >> > install 4 squid servers with the follwing hardware config
> > >> >
> > >> > Model HP DL380 G5 , with 2 GB RAM , 256 Raid Card and 300 GB with Raid
> > >> 0 .
> > >> >
> > >> > Now i have 4 servers of the similar config , and i want to have the
> > >> > all the server query to each other for cache before they go out and
> > >> > bring the content . all of the 4 servers are in the same  DMZ segment
> > >> > . Also at the same time if you look at the partition i have made a
> > >> > partition with /squid of 110 GB and would like to host multiple
> > >> > cache_dir so that i can utilize the space of the server . So if anyone
> > >> > of you who can tell me with some config example to resolve these 2
> > >> > issues will be of gr8 help .
> > >> >
> > >>
> > >> you probably don't want to make "multiple" cache-dirs out of 100 gigs
> > >>
> > >> then do this on the first
> > >>
> > >> cache_peer srv2 sibling tcp_port icp_port proxy-only
> > >> cache_peer srv3 sibling tcp_port icp_port proxy-only
> > >> cache_peer srv4 sibling tcp_port icp_port proxy-only
> > >>
> > >> and this on the second
> > >> cache_peer srv1 sibling tcp_port icp_port proxy-only
> > >> cache_peer srv3 sibling tcp_port icp_port proxy-only
> > >> cache_peer srv4 sibling tcp_port icp_port proxy-only
> > >>
> > >> and guess what on the others
> > >>
> > >> you can try and test to add round-robin at the end of each line
> > >>
> > >> but why do you need so much servers? are there zillions of users?
> > >>
> > >> Michel
> > >>
> > >> ...
> > >>
> >
> >
> >
> >
> > 
> > Datacenter Matik http://datacenter.matik.com.br
> > E-Mail e Data Hosting Service para Profissionais.
> > 
> >
> >
>


Re: [squid-users] 4 squid with multiple cache_dir and cache_peer

2007-08-03 Thread Michel Santos

Shekhar Gupta disse na ultima mensagem:
> All,
>
> I have a following senario in my office , where i have decided to
> install 4 squid servers with the follwing hardware config
>
> Model HP DL380 G5 , with 2 GB RAM , 256 Raid Card and 300 GB with Raid 0 .
>
> Now i have 4 servers of the similar config , and i want to have the
> all the server query to each other for cache before they go out and
> bring the content . all of the 4 servers are in the same  DMZ segment
> . Also at the same time if you look at the partition i have made a
> partition with /squid of 110 GB and would like to host multiple
> cache_dir so that i can utilize the space of the server . So if anyone
> of you who can tell me with some config example to resolve these 2
> issues will be of gr8 help .
>

you probably don't want to make "multiple" cache-dirs out of 100 gigs

then do this on the first

cache_peer srv2 sibling tcp_port icp_port proxy-only
cache_peer srv3 sibling tcp_port icp_port proxy-only
cache_peer srv4 sibling tcp_port icp_port proxy-only

and this on the second
cache_peer srv1 sibling tcp_port icp_port proxy-only
cache_peer srv3 sibling tcp_port icp_port proxy-only
cache_peer srv4 sibling tcp_port icp_port proxy-only

and guess what on the others

you can try and test to add round-robin at the end of each line

but why do you need so much servers? are there zillions of users?

Michel

...





Datacenter Matik http://datacenter.matik.com.br
E-Mail e Data Hosting Service para Profissionais.




[squid-users] 4 squid with multiple cache_dir and cache_peer

2007-08-03 Thread Shekhar Gupta
All,

I have a following senario in my office , where i have decided to
install 4 squid servers with the follwing hardware config

Model HP DL380 G5 , with 2 GB RAM , 256 Raid Card and 300 GB with Raid 0 .

Now i have 4 servers of the similar config , and i want to have the
all the server query to each other for cache before they go out and
bring the content . all of the 4 servers are in the same  DMZ segment
. Also at the same time if you look at the partition i have made a
partition with /squid of 110 GB and would like to host multiple
cache_dir so that i can utilize the space of the server . So if anyone
of you who can tell me with some config example to resolve these 2
issues will be of gr8 help .

supposing the IP's of the 4 servers as

192.168.3.30
192.168.3.31
192.168.3.32
192.168.3.34

Regards,
Shekhar