自己配置了下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?
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)。全部的安装和使用说明都包含在发布版本中。
- 大小: 65.2 KB
- 大小: 107.6 KB
- 大小: 105.8 KB
分享到:
相关推荐
对openfire的服务端组件开发有好处
官方的strophe.js库在通过connection manager提供的bosh接口连接openfire的时候,无法成功完成建立连接,我的这个js要在strophe.js被引进后再引进其它的开发的部分不需要修改。
openfire管理平台,有许多问号,很多朋友以为是乱码问题,其实不是乱码问题, 是因为:openfire_i18n_zh_CN.properties(国际化的中文版文件)和配置openfire_i18n_en.properties(国际化英文版文件)相比少了一些属性,取不到...
libjingle0.6.14连接openfire
这是一个简单地asmack连接Openfire的测试类,供初学者用。
Openfire最主要的功能是实现XMPP服务器,Openfire的核心功能可以概括为:连接管理、消息解析、消息路由、消息发送.
利用smack对xmpp协议的封装,对openfire服务器进行高效简单的连接
openfire+spark+sparkweb+ConnectionManager配置文档
openfire记录在线统计人数插件
解决Openfire strophejs网站 跨域访问问题,文件中有flXHR.js、strophe.flxhr.js跨域脚本,有个具体实例basic.html供参考
即时通讯Im Demo,用openfire做服务器,C#agsXmpp做客户端连接实现即时通讯。只实现登陆,接收发送消息。
openfire mac系统安装文件 Openfire (formerly Wildfire) is a cross-platform real-time collaboration server based on the XMPP (Jabber) protocol.
Openfire 是基于XMPP 协议的IM 的服务器端的一个实现,虽然当两个用户连接后,可以通过点对点的方式来发送消息,但是用户还是需要连接到服务器来获取一些连接信息和通信信息的,所以服务器端是必须要实现的。...
openfire使用hazelCast集群
openfire4.0.2缺少的jar包,需要的小伙伴快来下载吧!
该 openfire 版本最好匹配 MySQL 5.7 的版本使用, 如果用 MySQL 8.0 以上的版本, 可能在配置 openfire 服务器时连接不上 MySQL 数据库
openfire_3_8_2 版本,集成了xmpp协议,自带web 管理界面,支持离线消息等,开发聊天工具不错的选择。
系统、软件版本: OS:CentOS 6 JDK: jdk-6u29-linux-... Connection manager: connection_manager_3_6_3.zip Clustering: clustering.jar(1.2.1) Oracle Coherence Version 3.3.1/389 整个过程详细配置文档
jitsi 基于 openfire 的 视频通话 客户端
非常详细的openfire的表结构介绍,能够帮助你对openfire的表结构信息由清晰的认识