xiu12 发表于 2017-4-18 10:47:46

LVS: IPVS+Piranha CentOS5.2

  在CentOS 5中对IPVS有很好的支持: Piranha是很好的配置和管理工具,是基于Web的。他直接利用Apache httpd,但使用的端口不同, /usr/sbin/piranha_gui实际上就是调用httpd启动的进程,并且他有自己的httpd.conf:/etc/sysconfig /ha/conf/httpd.conf,端口是3636。piranha是用PHP写的界面。
  配置、调用和监视CENTOS的一些标准进程和文件完成IPVS的功能,这些标准Components是:
1. pulse
2. lvsd
3. ipvsadm
4. nanny
5. /etc/sysconfig/ha/lvs.cf
6. send_arp

/usr/sbin/piranha-passwd设置管理员密码。
启动服务:/sbin/service piranha-gui start 或/etc/init.d/piranha-gui start
访问:http://localhost:3636或http://ipaddress:3636
完整的功能:
1. 主备LVS (Load Balancer)的Heartbeat和HA (pulse, send_arp)
2. Load Balancer和Real Server间进程服务的Heartbeat (nanny)
3. IPVS功能 (lvsd)
4. IPVS的管理 (ipvsadm)
http://blog.techcy.cn/wp-content/uploads/2008/08/piranha.jpg
http://blog.techcy.cn/wp-content/uploads/2008/08/piranha2.jpg
<!--<div class="RelatedPosts"><h3>Related Posts</h3><ul></ul></div>-->
页: [1]
查看完整版本: LVS: IPVS+Piranha CentOS5.2