OPENFIRE CONNECTION MANAGER (openfire连接管理)


自己配置了下CM(Connection Manager),基本思路是这样的,有两台机器,192.168.1.11上面部署了openfire,192.168.1.18上面部署了CM,并且CM连接上了openfire。


--------192.168.1.11   openfire-----------

在openfire控制台启用连接管理器,并设置一个密码,譬如111111

 

 

 

--------192.168.1.18    CM-----------

 

修改 conf/manager.xml

1  填写 <domain>mychaoboo</domain>, 这里填 openfire服务器的域名,注意不要填写 ip, 如果你没有 dns 可以在 hosts 文件里面加

2  把<password></password>改成<password>111111</password>  这里是在openfire控制台设置的密码

3  把<certificate>中 <verify>true</verify> 改成 <verify>false</verify>

4  启动 bin/cmanager.sh or cmmanager.bat

如果CM连接openfire成功的话,刷新openfire控制台会出现下图所示:



 

 

如果你用spark去连接CM,则在openfire控制台会出现如图所示:


 

 

注意,此时的客户端会话数已经变成了 1  。

 

相关文章参考:

1  介绍和包下载

2  Wildfire Connection Manager 安装配置简介

 

CM介绍翻译:

 

What is it?

Connection Manager Module

Each Openfire Connection Manager module you deploy improves the scalability of your Openfire server by handling a portion of the client connections. It's suitable for very large installations of Openfire (many thousand concurrent users). Download the connection manager module implementation below.

 

它是啥?

 

你部署的每个openfire连接管理单元,依靠处理一部分客户端连接,来提高openfire服务器的容量。它适用于大规模的openfire安装(几千的在线用户)。下载连接管理实现如下。

 

How many users can each connection manager handle?

Each connection manager should handle at least five thousand concurrent users. Experimental support for non-blocking connections is under development, which will greatly increase the number of connections that each connection manager module can support.

 

每个连接管理能够处理多少用户呢?

 

每个连接管理应该只是能够处理5000的在线用户。对于无绑定的实验性支持正在被提高,用以更多的提高每个连接管理单元所能处理的连接数量。

 

Can connection managers be used with other servers?

Yes (in theory). The connection manager protocol is being developed through the open XEP process. We hope to work with other server vendors so that the entire XMPP/Jabber community supports the protocol. We also expect there will be other implementations of connection managers that will be compatible with Openfire. For example, a connection manager written with native code may be able to achieve very high scalability on a specific platform.

 

连接管理可以被用在其他服务器上吗?

 

当然(理论上)。连接管理协议正在通过开放的XEP处理来提高。我们希望和其他服务器供应商一起协作,以便全部的XMPPP/Jabber协会支持这个协议。我们同样期望会有其他的兼容openfire的连接管理实现。例如,一个用本地代码编写的连接管理可以在一个特殊的平台上达到一个非常高的容量。

 

Does Openfire Connection Manager Module use the same license as Openfire?

Yes, the module is dual-licensed under the Open Source GPL license or a comercial software license agreement available from Jive Software.

 

openfire连接管理用的许可和openfire本身一样吗?

 

当然,这个模块是是在开源GPL下的dual-licensed,或者是Jive Software同意授权的一个商业软件许可。

 

How do I get support?

Support is available from the user community in the discussion forums. Enterprise-grade email and phone support is also available from Jive Software.

 

 

我怎样才能获得支持?

 

我们社区的discussion forums提供支持。企业级邮件和电话支持也是可以从Jive Software获得的。

 

Download

Download the release of the Openfire connection manager module (requires Openfire 3.0 ). Full setup and usage instructions are included in the release.

 

下载

 

下载openfire连接管理模块的发布版(支持openfire 3.0)。全部的安装和使用说明都包含在发布版本中。

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

linyu19872008

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值