- 论坛徽章:
- 2
|
还有补充几点,
1、如果想看日志信息,,可以用
squid -D -d 1
这就可以看
2、telecom的线,做的DNS负载,所以当关闭server3的时候,自动切换服务器,可以用curl行到,
=============关闭server3============
C:\>curl -I http://www.kl.com
HTTP/1.0 200 OK
Content-Length: 15
Content-Type: text/html
Content-Location: http://www.kl.com/index.htm
Last-Modified: Tue, 13 Nov 2007 02:04:13 GMT
Accept-Ranges: bytes
ETag: "d6ad117d9925c81:220"
Server: Microsoft-IIS/6.0
Date: Tue, 13 Nov 2007 06:42:00 GMT
Age: 17551
X-Cache: HIT from cnc.kl.com
X-Cache-Lookup: HIT from cnc.kl.com:80
Via: 1.0 cnc.kl.com:80 (squid/2.6.STABLE16)
Connection: close
========开启server3,关闭server2===============
C:\>curl -I http://www.kl.com
HTTP/1.0 200 OK
Content-Length: 15
Content-Type: text/html
Content-Location: http://www.kl.com/index.htm
Last-Modified: Tue, 13 Nov 2007 02:04:13 GMT
Accept-Ranges: bytes
ETag: "d6ad117d9925c81:220"
Server: Microsoft-IIS/6.0
Date: Wed, 14 Nov 2007 04:05:46 GMT
Age: 9857
X-Cache: HIT from other.kl.com
X-Cache-Lookup: HIT from other.kl.com:80
Via: 1.0 other.kl.com:80 (squid/2.6.STABLE16)
Connection: close
可以自己切换!
关于二楼的问题,暂时还没弄,到时候会发出来的!
[ 本帖最后由 badb0y 于 2007-11-14 14:58 编辑 ] |
|