-
Hi!
We have an app and we need presence information for the app to perform. As there are two nodes, we have two UI in different external IPs and when we enter to one Tigase UI we see our client online but in the other node Tigase UI, our client is not visible online. Although the db is shared external, that info is not passed to the second node.
First of all - database is only used to store information about users, but is not used to exchange dynamic presence information. The presence itself (and message exchange happens) over cluster connection (port 5277) directly.
A couple of pointers:
- can you send messages between users connected to different cluster nodes? Or only presence is missing?
- are the cluster nodes connected correctly? You can check that using "Get list of all connected cluster nodes" command (either via admin web-ui in the configuration section or via XMPP and ad-hoc commands: service discovery - cluster connection manager)
- are there any exceptions in the logs regarding cluster connectivity?
Btw. I would recommend using latest stable version: 8.1.0.
-
Thank you:
- Our app does not send messages to other nodes, but we only need presence information that is not working right now.
- Cluster nodes configured correctly as I get from each of the ui "Get list of all connected cluster nodes" the 2 nodes are seen on each node UI.
- No
Our db schema is old and I could not manage to upgrade the system. Is there a solution for that to upgrade the data in tables for 8.1.0.
-
Our app does not send messages to other nodes, but we only need presence information that is not working right now.
I assumed as much. I was suggesting a test if messages are being delivered across the cluster.
A couple more of troubleshooting questions:
- does the issue manifest it both users connect to the same node?
- do you have any PrivacyList/blocking configure for users?
- do you see in the logs that messages/presences are being forwarded to the other node (you can enable debuging for package
cluster
to trace those deliveries)
Our db schema is old and I could not manage to upgrade the system. Is there a solution for that to upgrade the data in tables for 8.1.0.
In general there is an schema upgrade script that should handle the whole process without any problems: https://docs.tigase.net/tigase-server/master-snapshot/Administration_Guide/html/#_upgrade_database_schema
We have a problem with the setup of the Tigase 2 nodes Cluster:
We have setup a cluster using 2 nodes Tigase 7.1 and a shared Postgresql DB. The initialization of cluster is OK. No problem. We can see the cluster is communication through port 5277.
The Problem is: We have an app and we need presence information for the app to perform. As there are two nodes, we have two UI in different external IPs and when we enter to one Tigase UI we see our client online but in the other node Tigase UI, our client is not visible online. Although the db is shared external, that info is not passed to the second node.
During our studies we have found out that may be we need ACS but we are not sure. Please see attached our init.properties file.
Your help is appreciated. Thanks in advance.
Setup DETAILS: