Erlang Mailing Lists

Author Message

<  Ejabberd mailing list  ~  Cluster problem with mod_shared_roster

Guest
Posted: Wed Jul 28, 2010 11:31 am Reply with quote
Guest
Hi,

I'm running ejabberd 2.1.4 in a two node cluster. They run perfectly, I
can connect to a node and chat with another user on the other node,
everything works perfect.

The problem arises when I setup shared groups with mod_shared_roster:
After doing that, on one of the nodes everything works fine, but users
on the second node isn't getting the buddy list. This is not a client
user as I've tried with several ones.

Also, debbugging the xmpp conversations (pidgin --debug) I see that the
client that is not getting the roster list is getting presence
notifications although, for example:

(13:28:10) jabber: Got presence for unknown buddy marta@example.com on
account ted@example.com/sddf (0x10125bf50)

Any help will be appreciated.

_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist
Guest
Posted: Wed Jul 28, 2010 11:51 am Reply with quote
Guest
2010/7/28 Matias <matiassurdi@gmail.com>:
> I'm running ejabberd 2.1.4 in a two node cluster. They run perfectly, I can
> connect to a node and chat with another user on the other node, everything
> works perfect.
>
> The problem arises when I setup shared groups with mod_shared_roster: After
> doing that, on one of the nodes everything works fine, but users on the
> second node isn't getting the buddy list.

I imagine your problem is this:

mod_shared_roster adds groups to the roster stanzas returned to clients,
at runtime. It doesn't modify the roster stored in the database.

This means that you must enable this module on both nodes.

Also, you must ensure that the module has similar shared roster groups
in both nodes:
A) Either recreate the groups in your second node, using again WebAdmin
B) Or configure the mnesia tables sr_user and sr_group to be
synchronized between both nodes.


---
Badlop
ProcessOne
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist
Guest
Posted: Wed Jul 28, 2010 12:09 pm Reply with quote
Guest
El 28/07/10 13:51, Badlop escribi

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum