ejabberd - Comments for "Problem with cluster" https://www.ejabberd.im/node/2713 en -mnesia dir https://www.ejabberd.im/node/2713#comment-51357 <div class="quote-msg"> <div class="quote-author"><em>Gonen</em> wrote:</div> <p>how do i tell it to be created under /database/ folder ?</p></div> <p>Use the option 'mnesia dir'. Something like this:</p> <pre>erl ... -mnesia dir "\"/path/to/database\""</pre> Fri, 30 Nov 2007 11:19:55 +0000 mfoss comment 51357 at https://www.ejabberd.im Cluster https://www.ejabberd.im/node/2713#comment-51337 <p>Yes<br /> I found the problem it looks like the clusterd database was created under the /bin/ejabberd@linux6 folder<br /> how do i tell it to be created under /database/ folder ?</p> Thu, 29 Nov 2007 11:52:15 +0000 Gonen comment 51337 at https://www.ejabberd.im Did you follow steps 3 and 4 https://www.ejabberd.im/node/2713#comment-51325 <p>Did you follow steps 3 and 4 to duplicate Mnesia tables on both nodes? Once Mnesia is aware of that, I think ejabberd will automatically setup the cluster when you start each node, so no need to edit start scripts.</p> Wed, 28 Nov 2007 08:50:06 +0000 mfoss comment 51325 at https://www.ejabberd.im