Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clustering Issue: User Creation Not Synchronized Across Nodes in Ejabberd #4147

Open
Taqveemammag opened this issue Jan 14, 2024 · 3 comments

Comments

@Taqveemammag
Copy link

Hello,

I've followed the clustering documentation (https://docs.ejabberd.im/admin/guide/clustering/#title) to successfully create a cluster with joined nodes. When I execute the 'ejabberdctl list_cluster' command, both nodes are listed, and I can also see them in the admin panel. I've set up the cluster using two different servers with IPs, for example, ejabberd01 (23.23.23.23) and ejabberd02 (24.24.24.24), and added hosts to the /etc/hosts file. I've ensured that everything is configured correctly as per the documentation.

However, I'm facing an issue where creating a user through the terminal using the command 'ejabberdctl register usman eb-stage01' or through the admin panel only results in the user existing on ejabberd01 and not on ejabberd02. It seems there is a lack of synchronization between my two nodes. I've set the same domain and hosts for both nodes.

How can I resolve this synchronization issue?

@Taqveemammag Taqveemammag changed the title Clustering nodes Clustering Issue: User Creation Not Synchronized Across Nodes in Ejabberd Jan 14, 2024
@prefiks
Copy link
Member

prefiks commented Jan 15, 2024

And you have domain eb-stage01 defined in config file of both nodes?

@Taqveemammag
Copy link
Author

Do you mean to say ejabberdctl.cfg or ejabberd.yml file?

@Taqveemammag
Copy link
Author

Yes I've set hosts and domains also same for both nodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants