ejabberd - Comments for "ejabberd Cluster problems with LDAP Authentication." https://www.ejabberd.im/node/3054 en Look at incoherences https://www.ejabberd.im/node/3054#comment-53227 <div class="quote-msg"> <div class="quote-author"><em>applsplatz</em> wrote:</div> <p>My goal is for each node to operate independently if the sites get disconnected from each other, but if all WAN connections are operating normally then it will operate as a singe cluster.</p></div> <p>I'm not sure how will Mnesia handle the incoherences in the tables data when the new nodes reconnect again. You should check that topic.</p> <p>If Mnesia clustering doesn't suit your needs, you can use mod_roster_odbc... and store information in a centralized external ODBC database. Or distributed ODBC database.</p> Sun, 01 Jun 2008 22:05:35 +0000 mfoss comment 53227 at https://www.ejabberd.im RE: Better to replicate specific tables only https://www.ejabberd.im/node/3054#comment-53215 <p>Each time I add a node, I make the storage type of each table on the new node match the existing node(s).</p> <p>My goal is for each node to operate independently if the sites get disconnected from each other, but if all WAN connections are operating normally then it will operate as a singe cluster. Wouldn't only replicating the tables above cause many of the others to depend on the other tables remotely, and basically grind the server at a given site to a halt if it gets isolated from the rest?</p> <p>I can send you my current output of mnesia:info() if you like, they're the same on all nodes. We could take it to email and then I'll post the results here.</p> Fri, 30 May 2008 18:05:37 +0000 applsplatz comment 53215 at https://www.ejabberd.im Better to replicate specific tables only https://www.ejabberd.im/node/3054#comment-53193 <p>I think it's a bad idea to replicate all the Mnesia tables used by ejabberd, because some tables are used internally by ejabberd to keep information about that sepcific ejabberd node.</p> <p>Better to replicate only the tables that contain information that you really want to be shared among all the ejabberd nodes. If you use internal storage (not SQL storage), then those tables are probably: </p> <p>last_activity, offline_msg, passwd, privacy, private_storage, roster, and vcard. Maybe also the pubsub_* tables.</p> Wed, 28 May 2008 11:53:03 +0000 mfoss comment 53193 at https://www.ejabberd.im Additional information. https://www.ejabberd.im/node/3054#comment-52427 <p>A quick addendum: All tables are replicated between all nodes. When I look in the text dump for the LDAP servers, they appear inside of `local_config'.</p> Tue, 20 May 2008 22:48:15 +0000 applsplatz comment 52427 at https://www.ejabberd.im