——前期环境部署:haproxy192.168.64.129nginx192.168.64.129client192.168.64.128(1.在server端口添加4个虚拟机[haproxy和nginx共用一台服务器,不同端口][root@haproxy~]#tree-n/usr/local/nginx/conf/conf.d/
/usr/local/nginx/conf/conf.d/
├──bbs.example.com.8000.co..
分类:
Web程序 时间:
2015-07-27 16:34:21
阅读次数:
151
Codis安装部署全架构前期规划机器与应用列表:操作系统:CentOS6.51,操作系统:CentOS6.5192.168.88.106codis-server1192.168.88.107codis-server2192.168.88.108codis-server3192.168.88.111codis-ha1192.168.88.112codis-ha2192.168.88.113 zookeeper-1(codis-proxy-1)192..
分类:
其他好文 时间:
2015-07-26 06:17:41
阅读次数:
693
针对nginx的模块介绍可以查阅wiki:http://wiki.nginx.org/Modules常用模块:HTTPCoreProxyRewriteUpstream原理:squid,varnish以及nginx等,在做反向代理的时候,因为要代替客户端去访问服务器,所以,当请求包经过反向代理后,在代理服务器这里这个IP数据包的IP包头做了修改..
分类:
其他好文 时间:
2015-07-26 06:16:42
阅读次数:
146
tar zxvf haproxy-1.4.21.tar.gzcd haproxy-1.4.21uname -rvim /etc/haproxy.cfgglobal #日志 log 127.0.0.1 local0 maxconn 4096 ...
分类:
数据库 时间:
2015-07-22 20:15:30
阅读次数:
128
Varnish and Website Performance 本节集中解决如何调优varnish server,同时如何使用varnish优化你的web站点. 一共有三小节.第一小节你应该想到varnish的各种工具和功能,下一小节如何从cache中清除已经缓存的内容...
分类:
Web程序 时间:
2015-07-22 11:09:13
阅读次数:
189
因为测试机其有限,而且也只是为了看看lvs负载均衡tcp端口能否正确获取到客户端的真实IP,之前用过nginx,haproxy,对非http协议的获取客户端真实IP都毫无办法。安装过程就不叙述。keepalived+lvsserver192.168.53.10
DRserver192.168.53.10
realserver192.168.53.12keepaliveds..
分类:
其他好文 时间:
2015-07-22 11:06:42
阅读次数:
102
varnish 的windows 版本下载地址:http://sourceforge.net/projects/cygvarnish/files/windows-zip-bundle/启动:varnish:C:\varnish\bin>varnishd -a :80 -T :3500 -f c:/v...
Nginx/LVS/HAProxy负载均衡软件的优缺点详解
分类:
其他好文 时间:
2015-07-20 01:08:00
阅读次数:
203
四台服务器 server1.example.com //realserver 本次实验作为httpd服务器 server2.example.com //realserver? 本次实验作为httpd服务器 server3.example.com //安装haproxy 和 keepalived server4.example.com /...
分类:
其他好文 时间:
2015-07-18 18:45:49
阅读次数:
172