(newbie question)how to configure tigase clusters.

Raylin lin
Added about 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 like this?

--user-db = mysql

--admins =

--user-db-uri = jdbc:mysql://

config-type = --gen-config-def

--virt-hosts =

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




(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 about 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.