zoukankan      html  css  js  c++  java
  • Tigase集群设置

    在两台Linux服务器ddd(IP:10.3.93.212)和tsung213(IP:10.3.93.213)上安装了Tigase,要把这两台服务器组成一个Tigase集群,只需要修改这两台服务器的init.properties文件的相关配置即可。 

    config-type=--gen-config-def
    --admins=admin@myserver
    --virt-hosts =myserver
    --debug=server,cluster
    --monitoring=jmx:9050,http:9080,snmp:9060
    --user-db=mysql
    --user-db-uri=jdbc:mysql://localhost:3306/tigase_db?user=tigase_user&password=123456&useUnicode=true&characterEncoding=UTF-8&autoCreateUser=true
    --comp-name-1 = muc
    --comp-class-1 = tigase.muc.MUCComponent
    --comp-name-2 = pubsub
    --comp-class-2 = tigase.pubsub.PubSubComponent
    --cluster-mode = true
    --cluster-nodes = tsung213,ddd
    --cluster-connect-all = true
    

    主要设置的含义如下:

    --virt-hosts =myserver        集群名称为myserver
    --cluster-mode = true         开启集群模式
    --cluster-nodes = tsung213,ddd    集群包含了tsung213和ddd两个节点

  • 相关阅读:
    __str__
    __call__
    私有成员
    @property
    静态方法
    静态字段
    cut qcut
    hive 函数大全
    sklearn 中的Countvectorizer/TfidfVectorizer保留长度小于2的字符方法
    numpy教程:随机数模块numpy.random
  • 原文地址:https://www.cnblogs.com/mstk/p/3937191.html
Copyright © 2011-2022 走看看