Clustering - Replicating User Accounts

Hello All,

I am running ejabberd 2.0.0 on OpenSuSE 10.2.

I need clarification on the exact behavior I should be seeing in respect to clustering. I followed the steps for setting up a two-node ejabberd cluster, and was able to replicate the tables to the second node. However, when I log onto the admin console, I only see user accounts listed on the first node. I was expecting to see identical user accounts on both nodes after the replication was done. I can log into either node, but on the second node I must indicate that I am a user on the first server. This means that if the first server is unavailable, I cannot log in to the second. Is this normal behavior, or have I missed something?

TF

Now un-confused

OK, I think I have it now, with some help from badlop in this post: http://www.ejabberd.im/node/1592

"If you have two nodes on the cluster, both of them should serve the same Jabber domain. If you want a Jabber server called "jabber.example.org", then both nodes should have this as hosts on their ejabberd.cfg."

So apparently the "problem" was that I was treating the two servers as separate ejabberd domains. In each of my ejabberd.cfg files, I had each server listed as a separate host. So, what I did was change each ejabberd.cfg file to read:

{hosts, ["my.ejabberd.domain.com"]}.

After doing this, I can now see two Nodes (each one of the physical instances) and one Virtual Server (my ejabberd domain). Seems kind of obvious now, but I figured I'd post this just in case someone else makes the same mistake.

-TF

*******************************
ejabberd 2.0.0 on OpenSuSE 10.2

Syndicate content