2016-01-07 25 views

回答

2

使用Hazelcast Clustering Plugin进行openfire集群。有充分说明如何分步hazecast插件中的Openfire阅读https://www.igniterealtime.org/projects/openfire/plugins/hazelcast/readme.html

你应该采取2个或更多的Openfire服务器hazecast插件,之后采取了哈代理服务器,并添加集群的Openfire服务器的IP地址。

+ sudo nano /etc/haproxy.cnf文件和下面几行;

全球 日志的/ dev /日志LOCAL0 日志127.0.0.1 LOCAL1通知 MAXCONN 4096 用户HAProxy的 组HAProxy的 守护程序

默认 日志全球 模式HTTP 选项HTTPLOG 选项dontlognull 重试3 option redispatch maxconn 2000 contimeout 5000 clitimeout 50000 srvtimeout 50000

听webfarm 绑定192.168.1.2:1936 模式HTTP 统计使 统计URI/HAProxy的 平衡轮转 选项httpclose 选项forwardfor 服务器openfire_anuj:5222检查 服务器openfire_girish:5222检查 服务器openfire_rahul:5222查询

相关问题