(newbie question)how to configure tigase clusters.
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 = firstname.lastname@example.org
--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
(2): For each cluster machine has its own ip, do i need to configure a nginx server for client connection?
Added by Wojciech Kapcia about 5 years ago
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-nodesis not needed as the nodes will be discovered automatically).
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.