Project

General

Profile

Users can't see the members of the room on other node

Bruce Chung
Added over 2 years ago

Deploy 2 tigase noeds: im5 and im6 in cluster mode.

user A and B connecting in im5 node.

user C connecting in im6 node.

There is one room : room_1

A,B,C all can see the room_1 and joined successfully.

But A and B are in the same room, but not including C.

How to make A,B,C in the same room?

The init.properites attached.

--comp-name-1=muc

--comp-class-1=tigase.muc.MUCComponent

--external = muc.im.swiftlive.conversant.com.cn:muc-pass:connect:5270:im.swiftlive.conversant.com.cn:accept

--cluster-mode=true

--cluster-nodes = im5.swiftlive.conversant.com.cn,im6.swiftlive.conversant.com.cn

--cluster-connect-all = true


Replies (5)

Avatar?id=6098&size=32x32

Added by Bartosz Małkowski TigaseTeam over 2 years ago

No! There is no room_1 room. It is @room_1@muc.im.swiftlive.conversant.com.cn@.

Let each user join to room @room_1@muc.im.swiftlive.conversant.com.cn@.

(1)

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam over 2 years ago

In your configuration, you enabled cluster mode in Tigase XMPP Server which forces all Tigase XMPP Server to work as a cluster. But you configured MUC component to use tigase.muc.MUCComponent class - which implements MUC for single node installations. In cluster you should use different MUC implementation (extension) provided in Tigase ACS package or configure MUC component on single node deploy virtual component on other nodes. This is all described in Tigase XMPP Server documentation available at http://docs.tigase.org/

Looking at your init.properties file I see that you use PubSub component which is also configured to run in non-clustered mode.

Added by Bruce Chung over 2 years ago

Thank you very much.

(1)

Added by Bruce Chung over 2 years ago

In cluster you should use different MUC implementation (extension) provided in Tigase ACS package or configure MUC component on single node deploy virtual component on other nodes.

Hi Andrzej Wójcik, Thank you and could you help to say what's the meaning of "configure MUC component on single node deploy virtual component on other nodes."

Is this the document? http://docs.tigase.org/tigase-server/7.0.0/Administration_Guide/html/#_virtual_components_for_the_cluster_mode

(1)

Added by Wojciech Kapcia TigaseTeam over 2 years ago

Yes, this is correct document.

    (1-5/5)