`
linyu19872008
  • 浏览: 278142 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

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)。全部的安装和使用说明都包含在发布版本中。

 

  • 大小: 65.2 KB
  • 大小: 107.6 KB
  • 大小: 105.8 KB
分享到:
评论
4 楼 a584138521 2016-02-19  
按楼主的流程配置了,用spark输入用户名 密码 连结CM,显示用户名或密码错误,楼主有遇到这样的问题么
3 楼 bluky999 2014-01-03  
lb_rain 写道
神人 ,为啥我用本机spark连接不上CM,本机部署的CM和部署在服务器的CM都连接不上。
另外,本机spark点击一次登录,在openfire的连接管理上,对应本机的CM节点连接数就+1一次。


什么叫本机部署的CM ? 不太明白   就是说你部署了一个CM在本地机器,然后连接openfire ?

点击一次登录就+1,说明你登陆之后的连接没有及时释放掉? 或者说CM是有连接池?做了缓存?
2 楼 lb_rain 2014-01-03  
神人 ,为啥我用本机spark连接不上CM,本机部署的CM和部署在服务器的CM都连接不上。
另外,本机spark点击一次登录,在openfire的连接管理上,对应本机的CM节点连接数就+1一次。
1 楼 bluky999 2013-07-24  
大哥你真是神翻译啊 哈哈 

相关推荐

Global site tag (gtag.js) - Google Analytics