Project

General

Profile

(newbie question)how to configure tigase clusters.

Raylin lin
Added almost 5 years ago

hi guys:

    I am a tigase beginner, I have two questions for this:

(1): Is there any official tigase clusters configure file,

or just configure every cluster machine with init.properties like this?

--user-db = mysql

--admins = admin@mydomain.com

--user-db-uri = jdbc:mysql://192.168.0.20/tigasedb?user=tigase_user&password=tigase123&noAccessToProcedureBodies=true

config-type = --gen-config-def

--virt-hosts = mydomain.com

--debug = server,xmpp.XMPPIOService,db,cluster

--cluster-mode=true

--cluster-nodes=tigase1,tigase2,tigase3,tigase4,tigase5

--monitoring=jmx:9050,http:9080,snmp:9060

(2): For each cluster machine has its own ip, do i need to configure a nginx server for client connection?

thank you.

Replies (1)

Added by Wojciech Kapcia TigaseTeam almost 5 years ago

  1. what do you mean by "official clusters configure file"? there is no such thing as a generic configuration, hence it's a configuration file which allow setting properties based on desired functionality. However, with the recent builds of Tigase server 5.2.0 clustering configuration is automatic and you don't need (or even shouldn't) configure cluster on your own (i.e. --cluster-nodes is not needed as the nodes will be discovered automatically).

  2. I assume you would like use Tigase with BOSH? Actually using external BOSH Connection Manager (i.e. nginx in your case) is not needed as Tigase can handle BOSH requests directly.

    (1-1/1)