Tigase Server Clustering

首先,在服务器上启用集群

修改init.properties

--cluster-mode=true

自定义端口

允许自定义,但是所有的实例都要使用相同的端口,以便通讯

--cl-comp-ports=4250,3540

自定义端口详细配置

这个也不是必须配置的

cl-comp/connections/4250/type[S]=accept
cl-comp/connections/4250/socket[S]=plain
cl-comp/connections/4250/ifc[s]=*
cl-comp/connections/4250/remote-host[S]=localhost
cl-comp/connections/4250/connections/tls/required[B]=false

多节点配置

只要你给每一个节点设置了--cluster-mode=true,他们就能通过 Server to Server通路发现彼此。 他们是通过数据库来发现彼此的。 所有node要用同一个库。

时间: 2024-12-20 17:09:07

Tigase Server Clustering的相关文章

Win7安装并配置Tigase 5.2服务器

Win7安装并配置Tigase服务器 作者:chszs,转载需注明.博客主页:http://blog.csdn.net/chszs 1.下载tigase-server-5.2.0-b3447.exe 2.执行可执行文件,解压出tigase-server-5.2.0-b3447.jar,放到D盘根目录 3.以管理员权限打开CMD环境,并执行以下命令: D:\>java -jar tigase-server-5.2.0-b3447.jar 弹出GUI界面,开始图形化安装过程. - 接着选择Java安

http://www.tigase.net/blog-entry/1mln-or-more-onli

By admin on May 29, 2011 I have been working on clustering code improvements in the Tigase server for last a few months to make it more reliable and better scale. In article about XMPP Service sharding - Tigase on Intel ATOMs I have presented some pr

开源server软件

Java缓存server jmemcached http://www.oschina.net/p/jmemcached jmemcached 是一个Java版的 memcached 缓存server,基本上跟 memcached 是兼容的.jmemcached 是使用 Apache MINA 作为无阻塞的网络IO操作,但之后使用Netty作为网络异步实现机制. Webserver TornadoTornado web server 是使用Python编写出來的一个极轻量级.高可伸缩性和非堵塞IO

Tigase负载均衡策略

Tigase负载均衡策略 作者:chszs,未经博主允许不得转载.经许可的转载需注明作者和博客主页:http://blog.csdn.net/chszs Tigase从5.2.0版开始,引入了负载均衡功能,可以把终端访问用户重定向到最适合的集群节点上.此负载均衡功能依赖于see-other-host的XMPP流错误消息(stream error message).此机制背后的基本原则是如果用户当前正尝试连接的节点与返回消息的节点不是集群中 的同一个节点,那么用户将被重定向.此原则需要获得用户的J

Tigase开发笔记6:packet流转机制 -> 一条消息(packet)的请求和响应过程解析

初看Tigase的packet内部流转机制一开始不是太明白.里面用到了较多的线程,代码不太看得懂.慢慢的通过一条消息的请求和响应的代码跟踪分析,搞清楚了消息流转的过程. 前言 本文使用Tigase Server version:7.0.2 进行的代码跟踪和分析. 使用工具:IntelliJ IDEA14.1.4 Tigase通过tigase.io包当中的代码读取网络中的字节数组,然后通过tigase.net包当中的类把字节数组转换为字符,最后通过tigase.xml包当中的XML解析器把这些字符

开源服务器软件

Java缓存服务器 jmemcached http://www.oschina.net/p/jmemcached jmemcached 是一个Java版的 memcached 缓存服务器,基本上跟 memcached 是兼容的.jmemcached 是使用 Apache MINA 作为无堵塞的网络IO操作,但之后使用Netty作为网络异步实现机制. Web服务器 TornadoTornado web server 是使用Python编写出來的一个极轻量级.高可伸缩性和非阻塞IO的Web服务器软件

Apache Tomcat Architecture

Architecture Overview Overview This page provides an overview of the Tomcat server architecture. Terms Server In the Tomcat world, a Server represents the whole container. Tomcat provides a default implementation of theServer interface which is rarel

启动Tomact时报failed to start conponent

启动Tomact时报出严重警告:Setting property 'source' to 'org.ecplice.jst.jee.server:Clustering' did not find a matching property 并报:failed to start conponent错误 解决方法: http://chenzhou123520.iteye.com/blog/1836961

网站性能优化 - 数据库及服务器架构篇

我先前曾写过三篇有关网站系统.ASP.NET 性能优化的文章,分别从 SQL 语句.数据库设计.ASP.NET 功能.IIS 7 的套件,来探讨此一性能议题.本帖算是系列作的第四篇,整理了一些我看过的书籍和文章,改从「负载均衡.服务器架构.数据库扩展」的角度,提出一些性能优化的建议,以供有建设中大型网站需求的网友们作为参考. 小弟我先前写过的三篇帖子: (一) 30 分钟快快乐乐学 SQL Performance Tuninghttp://www.cnblogs.com/WizardWu/arc