Tigase 5.2 clustering default config
I'm trying to run Tigase 5.2 in cluster mode.
I found that Tigase 5.2 introduces new config value for init.properties: http://www.tigase.org/content/cl-conn-repo-class
Looks like to create a cluster with Tigase 5.2 we don't need to do an extra work and it should be easy task.
Please confirm these steps:
1) set --user-db-uri on all the nodes to the same value
2) add --cluster-mode=true to init.properties
As I understand, the default value for --cl-conn-repo-class is ClConSQLRepository and all the nodes should automatically discover a cluster via database and we don't need anything else
could you please confirm this. Do we need to add anything else?
I checked cluster_nodes table in DB and see only one record, where hostname=localhost*. Looks like 2 nodes have the same *hostname and my cluster isn't working.
How to change hostname ?