ejabberd - Comments for "Questions on ejabberd operation" https://www.ejabberd.im/node/10916 en simonsun wrote: 1. I have a https://www.ejabberd.im/node/10916#comment-60119 <div class="quote-msg"> <div class="quote-author"><em>simonsun</em> wrote:</div> <p>1. I have a cluster with two nodes. The database storage type of the master and slave nodes are configured by the web console. How could I do it with command line? This is important because when new node is added to the cluster, we can configure it with some scripts other than manually in web console. </p></div> <p>ejabberd itself does not provide many administrative tools for Mnesia configuration. So, you will have to enter the erlang console and use erlang commands there manually.</p> <div class="quote-msg"> <div class="quote-author"><em>simonsun</em> wrote:</div> <p>2. How could I dump the configuration currently running in my cluster, such as the database storage type? I'd like get the configuration dumped as a file such that I can add it to our repo for version controlling. And, of course, could such dump be restored to ejabberd? </p></div> <p>I checked this, but it does not provide enough information:<br /> $ ejabberdctl dump /tmp/ejab.txt</p> <p>This erlang command shows more details of the Mnesia database configuration:<br /> mnesia:info().</p> <div class="quote-msg"> <div class="quote-author"><em>simonsun</em> wrote:</div> <p>3. How to monitor the performance of ejabberd? I mean how much memory it is eating, how many active connections, etc. Which processes need to monitor? </p></div> <p>Maybe that helps to start: mod_statsdx provides more ejabberd commands to get statistics, and also provides a simple WebAdmin page.</p> <div class="quote-msg"> <div class="quote-author"><em>simonsun</em> wrote:</div> <p>4. When the business growth, when do I need to add a new node to the cluster? In other words, we need monitor the status of the servers, and need to know how to unscramble the data, which is the basis to make decision to add new machine to support our xmpp domain. </p></div> Wed, 01 May 2013 10:24:34 +0000 mfoss comment 60119 at https://www.ejabberd.im